* using log directory 'd:/Rcompile/CRANpkg/local/4.0/zoon.Rcheck' * using R version 4.0.5 (2021-03-31) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'zoon/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'zoon' version '0.6.5' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'zoon' can be installed ... OK * 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 R 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 ... [43s] 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 data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [20s] ERROR Running examples in 'zoon-Ex.R' failed The error most likely occurred in: > ### Name: ModuleArguments > ### Title: ModuleArguments > ### Aliases: ModuleArguments > > ### ** Examples > > ModuleArguments('Background') Error in ModuleArguments("Background") : URL for module does not exist: https://raw.githubusercontent.com/zoonproject/modules/master/R/Background.R Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [30s] ERROR Running 'test-all.R' [30s] Running the tests in 'tests/test-all.R' failed. Complete output: > Sys.setenv("R_TESTS" = "") > library(testthat) > test_check("zoon") Loading required package: zoon Loading required package: raster Loading required package: sp [ FAIL 15 | WARN 5 | SKIP 31 | PASS 122 ] == Skipped tests =============================================================== * On CRAN (31) == Failed tests ================================================================ -- Error (testCombineRasters.R:94:3): Test in workflows ------------------------ Error in `function (type, msg, asError = TRUE) { if (!is.character(type)) { i = match(type, CURLcodeValues) typeName = if (is.na(i)) character() else names(CURLcodeValues)[i] } typeName = gsub("^CURLE_", "", typeName) fun = (if (asError) stop else warning) fun(structure(list(message = msg, call = sys.call()), class = c(typeName, "GenericCurlError", "error", "condition"))) }(35L, "error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version", TRUE)`: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-zoon::workflow(...) at testCombineRasters.R:94:2 2. | \-zoon:::LapplyGetModule(...) 3. | \-base::lapply(...) 4. | \-zoon FUN(X[[i]], ...) 5. | \-zoon:::GetModule(as.character(x$module), forceReproducible, environment) 6. | \-RCurl::getURL(zoonURL, ssl.verifypeer = FALSE) 7. | \-RCurl::curlPerform(curl = curl, .opts = opts, .encoding = .encoding) 8. \-RCurl ``(...) -- Error (testGetModule.R:23:3): GetModule works ------------------------------- Error in `function (type, msg, asError = TRUE) { if (!is.character(type)) { i = match(type, CURLcodeValues) typeName = if (is.na(i)) character() else names(CURLcodeValues)[i] } typeName = gsub("^CURLE_", "", typeName) fun = (if (asError) stop else warning) fun(structure(list(message = msg, call = sys.call()), class = c(typeName, "GenericCurlError", "error", "condition"))) }(35L, "error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version", TRUE)`: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-testthat::expect_that(...) at testGetModule.R:23:2 2. | \-testthat condition(object) 3. | \-testthat::expect_equal(x, expected, ..., expected.label = label) 4. | \-testthat::quasi_label(enquo(object), label, arg = "object") 5. | \-rlang::eval_bare(expr, quo_get_env(quo)) 6. +-zoon:::GetModule("NoProcess", FALSE) 7. | \-RCurl::getURL(zoonURL, ssl.verifypeer = FALSE) 8. | \-RCurl::curlPerform(curl = curl, .opts = opts, .encoding = .encoding) 9. \-RCurl ``(...) -- Error (testLapplyGetModule.R:7:3): LapplyGetModule works correctly ---------- Error in `function (type, msg, asError = TRUE) { if (!is.character(type)) { i = match(type, CURLcodeValues) typeName = if (is.na(i)) character() else names(CURLcodeValues)[i] } typeName = gsub("^CURLE_", "", typeName) fun = (if (asError) stop else warning) fun(structure(list(message = msg, call = sys.call()), class = c(typeName, "GenericCurlError", "error", "condition"))) }(35L, "error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version", TRUE)`: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-zoon:::LapplyGetModule(list(a, b), forceReproducible = FALSE) at testLapplyGetModule.R:7:2 2. | \-base::lapply(...) 3. | \-zoon FUN(X[[i]], ...) 4. | \-zoon:::GetModule(as.character(x$module), forceReproducible, environment) 5. | \-RCurl::getURL(zoonURL, ssl.verifypeer = FALSE) 6. | \-RCurl::curlPerform(curl = curl, .opts = opts, .encoding = .encoding) 7. \-RCurl ``(...) -- Error (testLoadModule.R:33:3): LoadModule works ----------------------------- Error in `LoadModule("NoProcess")`: Can't find 'NoProcess'. Did you mean 'NoProcess'? Backtrace: x 1. +-testthat::expect_that(LoadModule("NoProcess"), equals("NoProcess")) at testLoadModule.R:33:2 2. | \-testthat condition(object) 3. | \-testthat::expect_equal(x, expected, ..., expected.label = label) 4. | \-testthat::quasi_label(enquo(object), label, arg = "object") 5. | \-rlang::eval_bare(expr, quo_get_env(quo)) 6. \-zoon::LoadModule("NoProcess") -- Error (testModuleArguments.R:14:3): Check returns list with all the names --- Error in `ModuleArguments("Background")`: URL for module does not exist: https://raw.githubusercontent.com/zoonproject/modules/master/R/Background.R Backtrace: x 1. \-zoon::ModuleArguments("Background") at testModuleArguments.R:14:2 -- Error (???): Help as text --------------------------------------------------- Error in `ModuleHelp("NoProcess")`: Can't find 'NoProcess'. Did you mean 'NoProcess'? Backtrace: x 1. \-zoon::ModuleHelp("NoProcess") -- Error (???): Help as NULL --------------------------------------------------- Error in `ModuleHelp("NoProcess")`: Can't find 'NoProcess'. Did you mean 'NoProcess'? Backtrace: x 1. \-zoon::ModuleHelp("NoProcess") -- Error (???): Help as html --------------------------------------------------- Error in `ModuleHelp("NoProcess")`: Can't find 'NoProcess'. Did you mean 'NoProcess'? Backtrace: x 1. \-zoon::ModuleHelp("NoProcess") -- Error (???): Help as pdf ---------------------------------------------------- Error in `ModuleHelp("NoProcess")`: Can't find 'NoProcess'. Did you mean 'NoProcess'? Backtrace: x 1. \-zoon::ModuleHelp("NoProcess") -- Error (testReplicate.R:27:3): Replicate workflow tests ---------------------- Error in `function (type, msg, asError = TRUE) { if (!is.character(type)) { i = match(type, CURLcodeValues) typeName = if (is.na(i)) character() else names(CURLcodeValues)[i] } typeName = gsub("^CURLE_", "", typeName) fun = (if (asError) stop else warning) fun(structure(list(message = msg, call = sys.call()), class = c(typeName, "GenericCurlError", "error", "condition"))) }(35L, "error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version", TRUE)`: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-zoon::workflow(...) at testReplicate.R:27:2 2. | \-zoon:::LapplyGetModule(...) 3. | \-base::lapply(...) 4. | \-zoon FUN(X[[i]], ...) 5. | \-zoon:::GetModule(as.character(x$module), forceReproducible, environment) 6. | \-RCurl::getURL(zoonURL, ssl.verifypeer = FALSE) 7. | \-RCurl::curlPerform(curl = curl, .opts = opts, .encoding = .encoding) 8. \-RCurl ``(...) -- Error (???): SortArgs works. ------------------------------------------------ Error in `function (type, msg, asError = TRUE) { if (!is.character(type)) { i = match(type, CURLcodeValues) typeName = if (is.na(i)) character() else names(CURLcodeValues)[i] } typeName = gsub("^CURLE_", "", typeName) fun = (if (asError) stop else warning) fun(structure(list(message = msg, call = sys.call()), class = c(typeName, "GenericCurlError", "error", "condition"))) }(35L, "error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version", TRUE)`: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-zoon::workflow(...) 2. | \-zoon:::LapplyGetModule(...) 3. | \-base::lapply(...) 4. | \-zoon FUN(X[[i]], ...) 5. | \-zoon:::GetModule(as.character(x$module), forceReproducible, environment) 6. | \-RCurl::getURL(zoonURL, ssl.verifypeer = FALSE) 7. | \-RCurl::curlPerform(curl = curl, .opts = opts, .encoding = .encoding) 8. \-RCurl ``(...) -- Error (testTransformCRS.R:79:3): occurrence data is handled as expected when CRSs vary -- Error in `function (type, msg, asError = TRUE) { if (!is.character(type)) { i = match(type, CURLcodeValues) typeName = if (is.na(i)) character() else names(CURLcodeValues)[i] } typeName = gsub("^CURLE_", "", typeName) fun = (if (asError) stop else warning) fun(structure(list(message = msg, call = sys.call()), class = c(typeName, "GenericCurlError", "error", "condition"))) }(35L, "error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version", TRUE)`: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-testthat::expect_is(...) at testTransformCRS.R:79:2 2. | \-testthat::quasi_label(enquo(object), label, arg = "object") 3. | \-rlang::eval_bare(expr, quo_get_env(quo)) 4. +-zoon::workflow(...) 5. | \-zoon:::LapplyGetModule(covariate.module, forceReproducible, e) 6. | \-base::lapply(...) 7. | \-zoon FUN(X[[i]], ...) 8. | \-zoon:::GetModule(as.character(x$module), forceReproducible, environment) 9. | \-RCurl::getURL(zoonURL, ssl.verifypeer = FALSE) 10. | \-RCurl::curlPerform(curl = curl, .opts = opts, .encoding = .encoding) 11. \-RCurl ``(...) -- Error (testWriteWorkflowMetadata.R:4:3): WriteWorkflowMetadata works. ------- Error in `function (type, msg, asError = TRUE) { if (!is.character(type)) { i = match(type, CURLcodeValues) typeName = if (is.na(i)) character() else names(CURLcodeValues)[i] } typeName = gsub("^CURLE_", "", typeName) fun = (if (asError) stop else warning) fun(structure(list(message = msg, call = sys.call()), class = c(typeName, "GenericCurlError", "error", "condition"))) }(35L, "error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version", TRUE)`: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-zoon::workflow(...) at testWriteWorkflowMetadata.R:4:2 2. | \-zoon:::LapplyGetModule(...) 3. | \-base::lapply(...) 4. | \-zoon FUN(X[[i]], ...) 5. | \-zoon:::GetModule(as.character(x$module), forceReproducible, environment) 6. | \-RCurl::getURL(zoonURL, ssl.verifypeer = FALSE) 7. | \-RCurl::curlPerform(curl = curl, .opts = opts, .encoding = .encoding) 8. \-RCurl ``(...) -- Error (testZoonCitation.R:13:3): Check returns list with all the names ------ Error in `ZoonCitation("LogisticRegression")`: URL for module does not exist: https://raw.githubusercontent.com/zoonproject/modules/master/R/LogisticRegression.R Backtrace: x 1. \-zoon::ZoonCitation("LogisticRegression") at testZoonCitation.R:13:2 -- Error (testaccessors.R:10:3): All accessor functions return objects of the right length and type -- Error in `function (type, msg, asError = TRUE) { if (!is.character(type)) { i = match(type, CURLcodeValues) typeName = if (is.na(i)) character() else names(CURLcodeValues)[i] } typeName = gsub("^CURLE_", "", typeName) fun = (if (asError) stop else warning) fun(structure(list(message = msg, call = sys.call()), class = c(typeName, "GenericCurlError", "error", "condition"))) }(35L, "error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version", TRUE)`: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-zoon::workflow(...) at testaccessors.R:10:2 2. | \-zoon:::LapplyGetModule(...) 3. | \-base::lapply(...) 4. | \-zoon FUN(X[[i]], ...) 5. | \-zoon:::GetModule(as.character(x$module), forceReproducible, environment) 6. | \-RCurl::getURL(zoonURL, ssl.verifypeer = FALSE) 7. | \-RCurl::curlPerform(curl = curl, .opts = opts, .encoding = .encoding) 8. \-RCurl ``(...) [ FAIL 15 | WARN 5 | SKIP 31 | PASS 122 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [2s] OK * checking PDF version of manual ... OK * DONE Status: 2 ERRORs