* using log directory ‘/Users/ripley/R/packages/tests-devel/GPFDA.Rcheck’ * using R Under development (unstable) (2024-04-09 r86375) * using platform: aarch64-apple-darwin23.4.0 * R was compiled by Apple clang version 15.0.0 (clang-1500.3.9.4) GNU Fortran (GCC) 12.2.0 * running under: macOS Sonoma 14.4.1 * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘GPFDA/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘GPFDA’ version ‘3.1.3’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘GPFDA’ can be installed ... OK * used C++ compiler: ‘Apple clang version 15.0.0 (clang-1500.3.9.4)’ * used SDK: ‘MacOSX14.4.sdk’ * checking installed package size ... OK * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [104s/105s] ERROR Error(s) in re-building vignettes: --- re-building ‘co2.Rmd’ using rmarkdown --- finished re-building ‘co2.Rmd’ --- re-building ‘gpfr.Rmd’ using rmarkdown --- finished re-building ‘gpfr.Rmd’ --- re-building ‘gpr_ex1.Rmd’ using rmarkdown --- finished re-building ‘gpr_ex1.Rmd’ --- re-building ‘gpr_ex2.Rmd’ using rmarkdown --- finished re-building ‘gpr_ex2.Rmd’ --- re-building ‘mgpr.Rmd’ using rmarkdown --- finished re-building ‘mgpr.Rmd’ sh: line 1: 82608 Segmentation fault: 11 R_LIBS=/var/folders/pk/n4bndnt1287ctrd_ftthnnnr0000gp/T//RtmpwT07vF/RLIBS_13ea23a84f0d7 R_ENVIRON_USER='' R_LIBS_USER='NULL' R_LIBS_SITE='NULL' '/Users/ripley/R/R-devel/bin/R' --vanilla --no-echo > '/var/folders/pk/n4bndnt1287ctrd_ftthnnnr0000gp/T//RtmpwT07vF/working_dir/Rtmp9AcpHu/file1405d5d0ac0cd' 2>&1 < '/var/folders/pk/n4bndnt1287ctrd_ftthnnnr0000gp/T//RtmpwT07vF/working_dir/Rtmp9AcpHu/file1405d6cf80273' --- re-building ‘nsgpr.Rmd’ using rmarkdown *** caught segfault *** address 0x308000000, cause 'invalid permissions' Traceback: 1: interpShull(xo, yo, x, y, z, linear, input, output, kernel, h, solver, degree, baryweight, autodegree, adtol, smoothpde, akimaweight, nweight) 2: interp(x = input[, 1], y = input[, 2], z = as.numeric(responseMat), nx = nGrid, ny = nGrid, linear = T) 3: plotImage(response = pred$pred.mean, input = inputMatTest, realisation = 1, n1 = n1test, n2 = n2test, zlim = zlim, main = "prediction") 4: eval(expr, envir, enclos) 5: eval(expr, envir, enclos) 6: eval_with_user_handlers(expr, envir, enclos, user_handlers) 7: withVisible(eval_with_user_handlers(expr, envir, enclos, user_handlers)) 8: withCallingHandlers(withVisible(eval_with_user_handlers(expr, envir, enclos, user_handlers)), warning = wHandler, error = eHandler, message = mHandler) 9: handle(ev <- withCallingHandlers(withVisible(eval_with_user_handlers(expr, envir, enclos, user_handlers)), warning = wHandler, error = eHandler, message = mHandler)) 10: timing_fn(handle(ev <- withCallingHandlers(withVisible(eval_with_user_handlers(expr, envir, enclos, user_handlers)), warning = wHandler, error = eHandler, message = mHandler))) 11: 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, log_echo = log_echo, log_warning = log_warning, output_handler = output_handler, include_timing = include_timing) 12: evaluate::evaluate(...) 13: 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)) 14: in_dir(input_dir(), expr) 15: 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))) 16: eng_r(options) 17: block_exec(params) 18: call_block(x) 19: process_group(group) 20: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) if (xfun::pkg_available("rlang", "1.0.0")) rlang::entrace(e)) 21: withCallingHandlers(expr, error = function(e) { loc = if (is.function(fun)) trimws(fun(label)) else "" if (loc != "") loc = sprintf(" at lines %s", loc) message(one_string(handler(e, loc)))}) 22: xfun:::handle_error(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) if (xfun::pkg_available("rlang", "1.0.0")) rlang::entrace(e)), function(e, loc) { setwd(wd) write_utf8(res, output %n% stdout()) paste0("\nQuitting from lines ", loc) }, if (labels[i] != "") sprintf(" [%s]", labels[i]), get_loc) 23: process_file(text, output) 24: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 25: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), output_dir = getwd(), ...) 26: vweave_rmarkdown(...) 27: engine$weave(file, quiet = quiet, encoding = enc) 28: doTryCatch(return(expr), name, parentenv, handler) 29: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 30: tryCatchList(expr, classes, parentenv, handlers) 31: 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)))}) 32: tools:::.buildOneVignette("nsgpr.Rmd", "/Users/ripley/R/packages/tests-devel/GPFDA.Rcheck/vign_test/GPFDA", TRUE, FALSE, "nsgpr", "UTF-8", "/var/folders/pk/n4bndnt1287ctrd_ftthnnnr0000gp/T//RtmpwT07vF/working_dir/Rtmp9AcpHu/file1405d21d9b927.rds") An irrecoverable exception occurred. R is aborting now ... SUMMARY: processing the following file failed: ‘nsgpr.Rmd’ Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/Users/ripley/R/packages/tests-devel/GPFDA.Rcheck/00check.log’ for details. 141.55 real 143.94 user 7.76 sys