CRAN Package Check Results for Package spcosa

Last updated on 2025-04-15 09:52:33 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4-2 10.74 165.40 176.14 NOTE
r-devel-linux-x86_64-debian-gcc 0.4-2 8.49 109.77 118.26 NOTE
r-devel-linux-x86_64-fedora-clang 0.4-2 235.55 ERROR
r-devel-linux-x86_64-fedora-gcc 0.4-2 251.28 ERROR
r-devel-windows-x86_64 0.4-2 11.00 154.00 165.00 WARN
r-patched-linux-x86_64 0.4-2 10.77 158.72 169.49 NOTE
r-release-linux-x86_64 0.4-2 11.64 157.82 169.46 NOTE
r-release-macos-arm64 0.4-2 150.00 NOTE
r-release-macos-x86_64 0.4-2 161.00 NOTE
r-release-windows-x86_64 0.4-2 14.00 152.00 166.00 WARN
r-oldrel-macos-arm64 0.4-2 86.00 NOTE
r-oldrel-macos-x86_64 0.4-2 129.00 NOTE
r-oldrel-windows-x86_64 0.4-2 16.00 208.00 224.00 NOTE

Check Details

Version: 0.4-2
Check: Rd files
Result: NOTE checkRd: (-1) NEWS.Rd:137: Escaped LaTeX specials: \& Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 0.4-2
Check: Rd cross-references
Result: NOTE Found the following Rd file(s) with Rd \link{} targets missing package anchors: CompactStratification-class.Rd: SpatialPixels-class, SpatialPoints-class, SpatialPixelsDataFrame-class CompactStratificationEqualArea-class.Rd: SpatialPixels-class, SpatialPoints-class CompactStratificationPriorPoints-class.Rd: SpatialPoints-class, SpatialPixels-class SamplingPattern-class.Rd: SpatialPoints-class SamplingPatternCentroids-class.Rd: SpatialPoints-class SamplingPatternPriorPoints-class.Rd: SpatialPoints-class SamplingPatternPurposive-class.Rd: SpatialPoints-class SamplingPatternRandom-class.Rd: SpatialPoints-class SamplingPatternRandomComposite-class.Rd: SpatialPoints-class, SpatialPointsDataFrame-class SamplingPatternRandomSamplingUnits-class.Rd: SpatialPoints-class stratify-methods.Rd: SpatialPixels-class, SpatialGrid-class, SpatialPolygons-class, SpatialPoints-class Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-windows-x86_64

Version: 0.4-2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘spcosa.Rmd’ using rmarkdown [gannet:1817131:0:1817131] Caught signal 11 (Segmentation fault: address not mapped to object at address 0xc) ==== backtrace (tid:1817131) ==== 0 /lib64/libucs.so.0(ucs_handle_error+0x2e4) [0x7f469c4f0144] 1 /lib64/libucs.so.0(+0x2880d) [0x7f469c4f180d] 2 /lib64/libucs.so.0(+0x289dd) [0x7f469c4f19dd] 3 [0x7f47641d1d69] ================================= *** caught segfault *** address 0x4d2001bba2b, cause 'unknown' Traceback: 1: .jcall("RJavaTools", "Ljava/lang/Object;", "newInstance", class, .jarray(p, "java/lang/Object", dispatch = FALSE), .jarray(pc, "java/lang/Class", dispatch = FALSE), evalString = FALSE, evalArray = FALSE, use.true.class = TRUE) 2: .J(Class, ...) 3: new(J("partition/CompactSpatialPartitionSwop"), cellCenters, .jarray(as(sample(x = rep(x = 0:(nStrata - 1), length = nCells)), "integer"))) 4: new(J("partition/CompactSpatialPartitionSwop"), cellCenters, .jarray(as(sample(x = rep(x = 0:(nStrata - 1), length = nCells)), "integer"))) 5: .local(object, ...) 6: stratify(object = object, nStrata = nStrata, priorPoints = priorPoints, maxIterations = maxIterations, nTry = nTry, equalArea = equalArea, verbose = verbose) 7: stratify(object = object, nStrata = nStrata, priorPoints = priorPoints, maxIterations = maxIterations, nTry = nTry, equalArea = equalArea, verbose = verbose) 8: .local(object, ...) 9: stratify(shp_farmsum, nStrata = 20, equalArea = TRUE, nTry = 10) 10: stratify(shp_farmsum, nStrata = 20, equalArea = TRUE, nTry = 10) 11: eval(expr, envir) 12: eval(expr, envir) 13: withVisible(eval(expr, envir)) 14: withCallingHandlers(code, message = function (cnd) { watcher$capture_plot_and_output() if (on_message$capture) { watcher$push(cnd) } if (on_message$silence) { invokeRestart("muffleMessage") }}, warning = function (cnd) { if (getOption("warn") >= 2 || getOption("warn") < 0) { return() } watcher$capture_plot_and_output() if (on_warning$capture) { cnd <- sanitize_call(cnd) watcher$push(cnd) } if (on_warning$silence) { invokeRestart("muffleWarning") }}, error = function (cnd) { watcher$capture_plot_and_output() cnd <- sanitize_call(cnd) watcher$push(cnd) switch(on_error, continue = invokeRestart("eval_continue"), stop = invokeRestart("eval_stop"), error = NULL)}) 15: eval(call) 16: eval(call) 17: with_handlers({ for (expr in tle$exprs) { ev <- withVisible(eval(expr, envir)) watcher$capture_plot_and_output() watcher$print_value(ev$value, ev$visible, envir) } TRUE}, handlers) 18: doWithOneRestart(return(expr), restart) 19: withOneRestart(expr, restarts[[1L]]) 20: withRestartList(expr, restarts[-nr]) 21: doWithOneRestart(return(expr), restart) 22: withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]]) 23: withRestartList(expr, restarts) 24: withRestarts(with_handlers({ for (expr in tle$exprs) { ev <- withVisible(eval(expr, envir)) watcher$capture_plot_and_output() watcher$print_value(ev$value, ev$visible, envir) } TRUE}, handlers), eval_continue = function() TRUE, eval_stop = function() FALSE) 25: evaluate::evaluate(...) 26: evaluate(code, envir = env, new_device = FALSE, keep_warning = if (is.numeric(options$warning)) TRUE else options$warning, keep_message = if (is.numeric(options$message)) TRUE else options$message, stop_on_error = if (is.numeric(options$error)) options$error else { if (options$error && options$include) 0L else 2L }, output_handler = knit_handlers(options$render, options)) 27: in_dir(input_dir(), expr) 28: in_input_dir(evaluate(code, envir = env, new_device = FALSE, keep_warning = if (is.numeric(options$warning)) TRUE else options$warning, keep_message = if (is.numeric(options$message)) TRUE else options$message, stop_on_error = if (is.numeric(options$error)) options$error else { if (options$error && options$include) 0L else 2L }, output_handler = knit_handlers(options$render, options))) 29: eng_r(options) 30: block_exec(params) 31: call_block(x) 32: process_group(group) 33: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { if (progress && is.function(pb$interrupt)) pb$interrupt() if (xfun::pkg_available("rlang", "1.0.0")) { if (is_R_CMD_build() || is_R_CMD_check()) { cnd = tryCatch(rlang::entrace(e), error = identity) error <<- format(cnd) } else { rlang::entrace(e) } } }) 34: xfun:::handle_error(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { if (progress && is.function(pb$interrupt)) pb$interrupt() if (xfun::pkg_available("rlang", "1.0.0")) { if (is_R_CMD_build() || is_R_CMD_check()) { cnd = tryCatch(rlang::entrace(e), error = identity) error <<- format(cnd) } else { rlang::entrace(e) } } }), function(loc) { setwd(wd) write_utf8(res, output %n% stdout()) paste0("\nQuitting from ", loc, if (!is.null(error)) paste0("\n", rule(), error, "\n", rule()))}, if (labels[i] != "") sprintf(" [%s]", labels[i]), get_loc) 35: process_file(text, output) 36: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 37: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), output_dir = getwd(), ...) 38: vweave_rmarkdown(...) 39: engine$weave(file, quiet = quiet, encoding = enc) 40: doTryCatch(return(expr), name, parentenv, handler) 41: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 42: tryCatchList(expr, classes, parentenv, handlers) 43: 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)))}) 44: tools::buildVignettes(dir = "/data/gannet/ripley/R/packages/tests-clang/spcosa.Rcheck/vign_test/spcosa", skip = TRUE, ser_elibs = "/tmp/Rtmpo1D8zM/file1b33474f576b4b.rds") An irrecoverable exception occurred. R is aborting now ... Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.4-2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘spcosa.Rmd’ using rmarkdown [gannet:3744707:0:3744707] Caught signal 11 (Segmentation fault: address not mapped to object at address 0xc) ==== backtrace (tid:3744707) ==== 0 /lib64/libucs.so.0(ucs_handle_error+0x2e4) [0x7f8476f65144] 1 /lib64/libucs.so.0(+0x2880d) [0x7f8476f6680d] 2 /lib64/libucs.so.0(+0x289dd) [0x7f8476f669dd] 3 [0x7f85429d29e9] ================================= *** caught segfault *** address 0x4d2003923c3, cause 'unknown' Traceback: 1: .jcall("RJavaTools", "Ljava/lang/Object;", "newInstance", class, .jarray(p, "java/lang/Object", dispatch = FALSE), .jarray(pc, "java/lang/Class", dispatch = FALSE), evalString = FALSE, evalArray = FALSE, use.true.class = TRUE) 2: .J(Class, ...) 3: new(J("partition/CompactSpatialPartitionSwop"), cellCenters, .jarray(as(sample(x = rep(x = 0:(nStrata - 1), length = nCells)), "integer"))) 4: new(J("partition/CompactSpatialPartitionSwop"), cellCenters, .jarray(as(sample(x = rep(x = 0:(nStrata - 1), length = nCells)), "integer"))) 5: .local(object, ...) 6: stratify(object = object, nStrata = nStrata, priorPoints = priorPoints, maxIterations = maxIterations, nTry = nTry, equalArea = equalArea, verbose = verbose) 7: stratify(object = object, nStrata = nStrata, priorPoints = priorPoints, maxIterations = maxIterations, nTry = nTry, equalArea = equalArea, verbose = verbose) 8: .local(object, ...) 9: stratify(shp_farmsum, nStrata = 20, equalArea = TRUE, nTry = 10) 10: stratify(shp_farmsum, nStrata = 20, equalArea = TRUE, nTry = 10) 11: eval(expr, envir) 12: eval(expr, envir) 13: withVisible(eval(expr, envir)) 14: withCallingHandlers(code, message = function (cnd) { watcher$capture_plot_and_output() if (on_message$capture) { watcher$push(cnd) } if (on_message$silence) { invokeRestart("muffleMessage") }}, warning = function (cnd) { if (getOption("warn") >= 2 || getOption("warn") < 0) { return() } watcher$capture_plot_and_output() if (on_warning$capture) { cnd <- sanitize_call(cnd) watcher$push(cnd) } if (on_warning$silence) { invokeRestart("muffleWarning") }}, error = function (cnd) { watcher$capture_plot_and_output() cnd <- sanitize_call(cnd) watcher$push(cnd) switch(on_error, continue = invokeRestart("eval_continue"), stop = invokeRestart("eval_stop"), error = NULL)}) 15: eval(call) 16: eval(call) 17: with_handlers({ for (expr in tle$exprs) { ev <- withVisible(eval(expr, envir)) watcher$capture_plot_and_output() watcher$print_value(ev$value, ev$visible, envir) } TRUE}, handlers) 18: doWithOneRestart(return(expr), restart) 19: withOneRestart(expr, restarts[[1L]]) 20: withRestartList(expr, restarts[-nr]) 21: doWithOneRestart(return(expr), restart) 22: withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]]) 23: withRestartList(expr, restarts) 24: withRestarts(with_handlers({ for (expr in tle$exprs) { ev <- withVisible(eval(expr, envir)) watcher$capture_plot_and_output() watcher$print_value(ev$value, ev$visible, envir) } TRUE}, handlers), eval_continue = function() TRUE, eval_stop = function() FALSE) 25: evaluate::evaluate(...) 26: evaluate(code, envir = env, new_device = FALSE, keep_warning = if (is.numeric(options$warning)) TRUE else options$warning, keep_message = if (is.numeric(options$message)) TRUE else options$message, stop_on_error = if (is.numeric(options$error)) options$error else { if (options$error && options$include) 0L else 2L }, output_handler = knit_handlers(options$render, options)) 27: in_dir(input_dir(), expr) 28: in_input_dir(evaluate(code, envir = env, new_device = FALSE, keep_warning = if (is.numeric(options$warning)) TRUE else options$warning, keep_message = if (is.numeric(options$message)) TRUE else options$message, stop_on_error = if (is.numeric(options$error)) options$error else { if (options$error && options$include) 0L else 2L }, output_handler = knit_handlers(options$render, options))) 29: eng_r(options) 30: block_exec(params) 31: call_block(x) 32: process_group(group) 33: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { if (progress && is.function(pb$interrupt)) pb$interrupt() if (xfun::pkg_available("rlang", "1.0.0")) { if (is_R_CMD_build() || is_R_CMD_check()) { cnd = tryCatch(rlang::entrace(e), error = identity) error <<- format(cnd) } else { rlang::entrace(e) } } }) 34: xfun:::handle_error(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { if (progress && is.function(pb$interrupt)) pb$interrupt() if (xfun::pkg_available("rlang", "1.0.0")) { if (is_R_CMD_build() || is_R_CMD_check()) { cnd = tryCatch(rlang::entrace(e), error = identity) error <<- format(cnd) } else { rlang::entrace(e) } } }), function(loc) { setwd(wd) write_utf8(res, output %n% stdout()) paste0("\nQuitting from ", loc, if (!is.null(error)) paste0("\n", rule(), error, "\n", rule()))}, if (labels[i] != "") sprintf(" [%s]", labels[i]), get_loc) 35: process_file(text, output) 36: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 37: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), output_dir = getwd(), ...) 38: vweave_rmarkdown(...) 39: engine$weave(file, quiet = quiet, encoding = enc) 40: doTryCatch(return(expr), name, parentenv, handler) 41: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 42: tryCatchList(expr, classes, parentenv, handlers) 43: 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)))}) 44: tools::buildVignettes(dir = "/data/gannet/ripley/R/packages/tests-devel/spcosa.Rcheck/vign_test/spcosa", skip = TRUE, ser_elibs = "/tmp/Rtmpb0RT8w/file38dd591a92b55d.rds") An irrecoverable exception occurred. R is aborting now ... Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.4-2
Check: whether startup messages can be suppressed
Result: NOTE OpenJDK 64-Bit Server VM warning: The Windows job object has enabled multiple processor groups (2) but the UseAllWindowsProcessorGroups flag is off. Some processors might not be used. It looks like this package (or a package it requires) has a startup message which cannot be suppressed: see ?packageStartupMessage. Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.4-2
Check: dependencies in R code
Result: NOTE OpenJDK 64-Bit Server VM warning: The Windows job object has enabled multiple processor groups (2) but the UseAllWindowsProcessorGroups flag is off. Some processors might not be used. Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.4-2
Check: S3 generic/method consistency
Result: WARN OpenJDK 64-Bit Server VM warning: The Windows job object has enabled multiple processor groups (2) but the UseAllWindowsProcessorGroups flag is off. Some processors might not be used. See section 'Generic functions and methods' in the 'Writing R Extensions' manual. Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.4-2
Check: replacement functions
Result: WARN OpenJDK 64-Bit Server VM warning: The Windows job object has enabled multiple processor groups (2) but the UseAllWindowsProcessorGroups flag is off. Some processors might not be used. The argument of a replacement function which corresponds to the right hand side must be named 'value'. Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.4-2
Check: foreign function calls
Result: NOTE OpenJDK 64-Bit Server VM warning: The Windows job object has enabled multiple processor groups (2) but the UseAllWindowsProcessorGroups flag is off. Some processors might not be used. See chapter 'System and foreign language interfaces' in the 'Writing R Extensions' manual. Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.4-2
Check: R code for possible problems
Result: NOTE OpenJDK 64-Bit Server VM warning: The Windows job object has enabled multiple processor groups (2) but the UseAllWindowsProcessorGroups flag is off. Some processors might not be used. Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.4-2
Check: for missing documentation entries
Result: WARN OpenJDK 64-Bit Server VM warning: The Windows job object has enabled multiple processor groups (2) but the UseAllWindowsProcessorGroups flag is off. Some processors might not be used. All user-level objects in a package should have documentation entries. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.4-2
Check: for code/documentation mismatches
Result: WARN OpenJDK 64-Bit Server VM warning: The Windows job object has enabled multiple processor groups (2) but the UseAllWindowsProcessorGroups flag is off. Some processors might not be used. OpenJDK 64-Bit Server VM warning: The Windows job object has enabled multiple processor groups (2) but the UseAllWindowsProcessorGroups flag is off. Some processors might not be used. OpenJDK 64-Bit Server VM warning: The Windows job object has enabled multiple processor groups (2) but the UseAllWindowsProcessorGroups flag is off. Some processors might not be used. Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.4-2
Check: Rd \usage sections
Result: NOTE OpenJDK 64-Bit Server VM warning: The Windows job object has enabled multiple processor groups (2) but the UseAllWindowsProcessorGroups flag is off. Some processors might not be used. The \usage entries for S3 methods should use the \method markup and not their full name. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. Flavors: r-devel-windows-x86_64, r-release-windows-x86_64