CRAN Package Check Results for Package FORTLS

Last updated on 2025-06-20 12:49:16 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.5.3 64.07 444.61 508.68 OK
r-devel-linux-x86_64-debian-gcc 1.5.3 46.86 292.85 339.71 OK
r-devel-linux-x86_64-fedora-clang 1.5.3 820.72 OK
r-devel-linux-x86_64-fedora-gcc 1.5.3 822.53 OK
r-devel-windows-x86_64 1.5.3 72.00 391.00 463.00 OK
r-patched-linux-x86_64 1.5.3 73.53 301.29 374.82 ERROR
r-release-linux-x86_64 1.5.3 72.61 406.29 478.90 OK
r-release-macos-arm64 1.5.3 176.00 OK
r-release-macos-x86_64 1.5.3 411.00 OK
r-release-windows-x86_64 1.5.3 68.00 400.00 468.00 OK
r-oldrel-macos-arm64 1.5.3 215.00 NOTE
r-oldrel-macos-x86_64 1.5.3 393.00 NOTE
r-oldrel-windows-x86_64 1.5.3 87.00 557.00 644.00 NOTE

Check Details

Version: 1.5.3
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘plot_design_optimization.Rmd’ using rmarkdown Warning in in_dir(input_dir(), expr) : You changed the working directory to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/FORTLS/data (probably via setwd()). It will be restored to /home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/FORTLS.Rcheck/vign_test/FORTLS/vignettes. See the Note section in ?knitr::knit ** Processing: /home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/FORTLS.Rcheck/vign_test/FORTLS/vignettes/plot_design_optimization_files/figure-html/unnamed-chunk-2-1.png 672x672 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 28827 bytes Input file size = 29721 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 25445 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 25445 Output IDAT size = 25445 bytes (3382 bytes decrease) Output file size = 25523 bytes (4198 bytes = 14.12% decrease) --- finished re-building ‘plot_design_optimization.Rmd’ --- re-building ‘stand_level.Rmd’ using rmarkdown Warning in in_dir(input_dir(), expr) : You changed the working directory to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/FORTLS/data (probably via setwd()). It will be restored to /home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/FORTLS.Rcheck/vign_test/FORTLS/vignettes. See the Note section in ?knitr::knit --- finished re-building ‘stand_level.Rmd’ --- re-building ‘tree_level.Rmd’ using rmarkdown trying URL 'https://www.dropbox.com/s/17yl25pbrapat52/PinusRadiata.laz?dl=1' downloaded 160 KB trying URL 'https://www.dropbox.com/scl/fi/es5pfj87wj0g6y8414dpo/PiceaAbies.laz?rlkey=ayt21mbndc6i6fyiz2e7z6oap&dl=1' Content type 'application/binary' length 12898220 bytes (12.3 MB) ================================================== downloaded 12.3 MB ERROR: wrong file signature '<!DOCTYPE html> <html class="maestro global-header" xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head' ERROR: cannot open lasreaderlas with file name '/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/FORTLS.Rcheck/vign_test/FORTLS/vignettes/PinusRadiata.laz' Error: LASlib internal error. See message above. ERROR: wrong file signature '<!DOCTYPE html> <html class="maestro global-header" xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head' ERROR: cannot open lasreaderlas with file name '/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/FORTLS.Rcheck/vign_test/FORTLS/vignettes/PinusRadiata.laz' *** caught segfault *** address 0xc0, cause 'memory not mapped' Traceback: 1: C_reader(ifiles, ofile, select, filter, polygons) 2: rlas::read_and_write.las(ifiles, ofile, select, filter, geom) 3: streamLAS.character(files, ofile = "", select, filter) 4: streamLAS(files, ofile = "", select, filter) 5: readLAS.character(file.path(dir.data, las), select = select_option) 6: lidR::readLAS(file.path(dir.data, las), select = select_option) 7: withCallingHandlers(expr, message = function(c) if (inherits(c, classes)) tryInvokeRestart("muffleMessage")) 8: suppressMessages(lidR::readLAS(file.path(dir.data, las), select = select_option)) 9: withCallingHandlers(expr, warning = function(w) if (inherits(w, classes)) tryInvokeRestart("muffleWarning")) 10: suppressWarnings(suppressMessages(lidR::readLAS(file.path(dir.data, las), select = select_option))) 11: normalize(las = "PinusRadiata.laz", normalized = NULL, x.center = 0, y.center = 0, max.dist = 10, min.height = NULL, max.height = NULL, algorithm.dtm = "knnidw", res.dtm = 0.2, csf = list(cloth_resolution = 0.5), RGB = TRUE, scan.approach = "single", id = NULL, file = "single.txt", dir.data = dir.data, save.result = FALSE, dir.result = NULL) 12: eval(expr, envir) 13: eval(expr, envir) 14: withVisible(eval(expr, envir)) 15: 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)}) 16: eval(call) 17: eval(call) 18: 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) 19: doWithOneRestart(return(expr), restart) 20: withOneRestart(expr, restarts[[1L]]) 21: withRestartList(expr, restarts[-nr]) 22: doWithOneRestart(return(expr), restart) 23: withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]]) 24: withRestartList(expr, restarts) 25: 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) 26: evaluate::evaluate(...) 27: 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)) 28: in_dir(input_dir(), expr) 29: 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))) 30: eng_r(options) 31: block_exec(params) 32: call_block(x) 33: process_group(group) 34: 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) } } }) 35: 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) 36: process_file(text, output) 37: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 38: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), output_dir = getwd(), ...) 39: vweave_rmarkdown(...) 40: engine$weave(file, quiet = quiet, encoding = enc) 41: doTryCatch(return(expr), name, parentenv, handler) 42: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 43: tryCatchList(expr, classes, parentenv, handlers) 44: 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) }}, error = function(e) { OK <<- FALSE message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s", file, conditionMessage(e)))}) 45: tools:::.buildOneVignette("tree_level.Rmd", "/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/FORTLS.Rcheck/vign_test/FORTLS", TRUE, FALSE, "tree_level", "UTF-8", "/home/hornik/tmp/scratch/RtmpJET3LS/file18459d7e5062b2.rds") An irrecoverable exception occurred. R is aborting now ... Segmentation fault SUMMARY: processing the following file failed: ‘tree_level.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-patched-linux-x86_64

Version: 1.5.3
Check: installed package size
Result: NOTE installed size is 17.1Mb sub-directories of 1Mb or more: data 2.7Mb doc 1.2Mb libs 12.5Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64