CRAN Package Check Results for Package HSAR

Last updated on 2019-12-13 01:51:58 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.2 135.26 112.19 247.45 WARN
r-devel-linux-x86_64-debian-gcc 0.4.2 99.11 96.41 195.52 OK
r-devel-linux-x86_64-fedora-clang 0.4.2 350.87 WARN
r-devel-linux-x86_64-fedora-gcc 0.4.2 349.16 OK
r-devel-windows-ix86+x86_64 0.4.2 242.00 186.00 428.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.4.2 294.00 274.00 568.00 OK
r-patched-linux-x86_64 0.4.2 108.84 115.56 224.40 OK
r-patched-solaris-x86 0.4.2 443.20 OK
r-release-linux-x86_64 0.4.2 107.46 116.33 223.79 OK
r-release-windows-ix86+x86_64 0.4.2 216.00 176.00 392.00 OK
r-release-osx-x86_64 0.4.2 WARN
r-oldrel-windows-ix86+x86_64 0.4.2 212.00 168.00 380.00 OK
r-oldrel-osx-x86_64 0.4.2 NOTE

Check Details

Version: 0.4.2
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     sar.cpp:210:32: warning: explicitly assigning value of variable of type 'arma::sp_mat' (aka 'SpMat<double>') to itself [-Wself-assign-overloaded]
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-fedora-clang, r-release-osx-x86_64

Version: 0.4.2
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building 'hsar.Rmd' using knitr
    Loading required package: sp
    Checking rgeos availability: TRUE
    rgdal: version: 1.4-8, (SVN revision 845)
     Geospatial Data Abstraction Library extensions to R successfully loaded
     Loaded GDAL runtime: GDAL 2.4.3, released 2019/10/28
     Path to GDAL shared files: /usr/share/gdal
     GDAL binary built with GEOS: TRUE
     Loaded PROJ.4 runtime: Rel. 6.2.1, November 1st, 2019, [PJ_VERSION: 621]
     Path to PROJ.4 shared files: (autodetected)
     Linking to sp version: 1.3-2
    rgeos version: 0.5-2, (SVN revision 621)
     GEOS runtime version: 3.8.0-CAPI-1.13.1
     Linking to sp version: 1.3-2
     Polygon checking: TRUE
    
    Loading required package: spData
    To access larger datasets in this package, install the spDataLarge
    package with: `install.packages('spDataLarge',
    repos='https://nowosad.github.io/drat/', type='source')`
    Loading required package: sf
    Linking to GEOS 3.8.0, GDAL 2.4.3, PROJ 6.2.1
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    HSAR
     --- call from context ---
    get_X_from_frame(frame)
     --- call from argument ---
    if (class(X) == "try-error") stop("The covariate matrix contains inappropriate values.",
     call. = FALSE)
     --- R stacktrace ---
    where 1: get_X_from_frame(frame)
    where 2: hsar(res.formula, data = [email protected], W = W, M = M, Delta = Delta,
     burnin = 100, Nsim = 200)
    where 3: eval(expr, envir, enclos)
    where 4: eval(expr, envir, enclos)
    where 5: withVisible(eval(expr, envir, enclos))
    where 6: withCallingHandlers(withVisible(eval(expr, envir, enclos)), warning = wHandler,
     error = eHandler, message = mHandler)
    where 7: handle(ev <- withCallingHandlers(withVisible(eval(expr, envir,
     enclos)), warning = wHandler, error = eHandler, message = mHandler))
    where 8: timing_fn(handle(ev <- withCallingHandlers(withVisible(eval(expr,
     envir, enclos)), warning = wHandler, error = eHandler, message = mHandler)))
    where 9: evaluate_call(expr, parsed$src[[i]], envir = envir, enclos = enclos,
     debug = debug, last = i == length(out), use_try = stop_on_error !=
     2L, keep_warning = keep_warning, keep_message = keep_message,
     output_handler = output_handler, include_timing = include_timing)
    where 10: evaluate::evaluate(...)
    where 11: evaluate(code, envir = env, new_device = FALSE, keep_warning = !isFALSE(options$warning),
     keep_message = !isFALSE(options$message), stop_on_error = if (options$error &&
     options$include) 0L else 2L, output_handler = knit_handlers(options$render,
     options))
    where 12: in_dir(input_dir(), evaluate(code, envir = env, new_device = FALSE,
     keep_warning = !isFALSE(options$warning), keep_message = !isFALSE(options$message),
     stop_on_error = if (options$error && options$include) 0L else 2L,
     output_handler = knit_handlers(options$render, options)))
    where 13: block_exec(params)
    where 14: call_block(x)
    where 15: process_group.block(group)
    where 16: process_group(group)
    where 17: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),
     error = function(e) {
     setwd(wd)
     cat(res, sep = "\n", file = output %n% "")
     message("Quitting from lines ", paste(current_lines(i),
     collapse = "-"), " (", knit_concord$get("infile"),
     ") ")
     })
    where 18: process_file(text, output)
    where 19: knit(input, text = text, envir = envir, quiet = quiet)
    where 20: knit2html(..., force_v1 = TRUE)
    where 21: (if (grepl("\\.[Rr]md$", file)) knit2html_v1 else if (grepl("\\.[Rr]rst$",
     file)) knit2pandoc else knit)(file, encoding = encoding,
     quiet = quiet, envir = globalenv(), ...)
    where 22: engine$weave(file, quiet = quiet, encoding = enc)
    where 23: doTryCatch(return(expr), name, parentenv, handler)
    where 24: tryCatchOne(expr, names, parentenv, handlers[[1L]])
    where 25: tryCatchList(expr, classes, parentenv, handlers)
    where 26: tryCatch({
     engine$weave(file, quiet = quiet, encoding = enc)
     setwd(startdir)
     output <- find_vignette_product(name, by = "weave", engine = engine)
     if (!have.makefile && vignette_is_tex(output)) {
     texi2pdf(file = output, clean = FALSE, quiet = quiet)
     output <- find_vignette_product(name, by = "texi2pdf",
     engine = engine)
     }
     outputs <- c(outputs, output)
    }, error = function(e) {
     thisOK <<- FALSE
     fails <<- c(fails, file)
     message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s",
     file, conditionMessage(e)))
    })
    where 27: tools:::buildVignettes(dir = "/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/HSAR.Rcheck/vign_test/HSAR",
     ser_elibs = "/tmp/RtmpV28LGE/file39abae5f229.rds")
    
     --- value of length: 2 type: logical ---
    [1] FALSE FALSE
     --- function from context ---
    function (frame)
    {
     X <- try(suppressWarnings(model.matrix(object = attr(frame,
     "terms"), data = frame)), silent = TRUE)
     if (class(X) == "try-error")
     stop("The covariate matrix contains inappropriate values.",
     call. = FALSE)
     return(X)
    }
    <bytecode: 0xefd34c8>
    <environment: namespace:HSAR>
     --- function search by body ---
    Function get_X_from_frame in namespace HSAR has this body.
     ----------- END OF FAILURE REPORT --------------
    Quitting from lines 197-201 (hsar.Rmd)
    Error: processing vignette 'hsar.Rmd' failed with diagnostics:
    the condition has length > 1
    --- failed re-building 'hsar.Rmd'
    
    SUMMARY: processing the following file failed:
     'hsar.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.4.2
Check: installed package size
Result: NOTE
     installed size is 10.5Mb
     sub-directories of 1Mb or more:
     libs 10.0Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-osx-x86_64, r-oldrel-osx-x86_64