* using log directory 'd:/Rcompile/CRANpkg/local/3.6/zoon.Rcheck' * using R version 3.6.3 (2020-02-29) * 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 ... [24s] 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 ... ERROR Running examples in 'zoon-Ex.R' failed The error most likely occurred in: > ### Name: GetModuleList > ### Title: GetModuleList > ### Aliases: GetModuleList > > ### ** Examples > > # GetModuleList requires libcurl to be supported > if(capabilities('libcurl')) GetModuleList() Warning in readLines(con) : URL 'https://raw.githubusercontent.com/zoonproject/modules/master/man/SpOcc.Rd': status was 'SSL connect error' Error in readLines(con) : cannot open the connection to 'https://raw.githubusercontent.com/zoonproject/modules/master/man/SpOcc.Rd' Calls: GetModuleList -> readLines Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [26s] ERROR Running 'test-all.R' [26s] 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 == Skipped tests =============================================================== * On CRAN (31) == Failed tests ================================================================ -- Error (testCombineRasters.R:94:3): Test in workflows ------------------------ Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-zoon::workflow(...) 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. \-(function (type, msg, asError = TRUE) ... -- Error (testGetModule.R:23:3): GetModule works ------------------------------- Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-testthat::expect_that(...) 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. \-(function (type, msg, asError = TRUE) ... -- Error (testGetModuleList.R:6:3): GetModuleList renew ------------------------ Error: cannot open the connection to 'https://raw.githubusercontent.com/zoonproject/modules/master/man/SpOcc.Rd' Backtrace: x 1. \-zoon::GetModuleList(renew = TRUE) testGetModuleList.R:6:2 2. \-base::readLines(con) -- Error (testGetModuleList.R:24:3): GetModuleList no renew -------------------- Error: cannot open the connection to 'https://raw.githubusercontent.com/zoonproject/modules/master/man/SpOcc.Rd' Backtrace: x 1. \-zoon::GetModuleList(renew = FALSE) testGetModuleList.R:24:2 2. \-base::readLines(con) -- Error (testGetModuleList.R:42:3): GetModuleList type occurrence ------------- Error: cannot open the connection to 'https://raw.githubusercontent.com/zoonproject/modules/master/man/SpOcc.Rd' Backtrace: x 1. \-zoon::GetModuleList(type = "occurrence") testGetModuleList.R:42:2 2. \-base::readLines(con) -- Error (testGetModuleList.R:52:3): GetModuleList type covariate -------------- Error: cannot open the connection to 'https://raw.githubusercontent.com/zoonproject/modules/master/man/SpOcc.Rd' Backtrace: x 1. \-zoon::GetModuleList(type = "covariate") testGetModuleList.R:52:2 2. \-base::readLines(con) -- Error (testGetModuleList.R:62:3): GetModuleList type process ---------------- Error: cannot open the connection to 'https://raw.githubusercontent.com/zoonproject/modules/master/man/SpOcc.Rd' Backtrace: x 1. \-zoon::GetModuleList(type = "process") testGetModuleList.R:62:2 2. \-base::readLines(con) -- Error (testGetModuleList.R:72:3): GetModuleList type model ------------------ Error: cannot open the connection to 'https://raw.githubusercontent.com/zoonproject/modules/master/man/SpOcc.Rd' Backtrace: x 1. \-zoon::GetModuleList(type = "model") testGetModuleList.R:72:2 2. \-base::readLines(con) -- Error (testGetModuleList.R:82:3): GetModuleList type ouput ------------------ Error: cannot open the connection to 'https://raw.githubusercontent.com/zoonproject/modules/master/man/SpOcc.Rd' Backtrace: x 1. \-zoon::GetModuleList(type = "output") testGetModuleList.R:82:2 2. \-base::readLines(con) -- Error (testLapplyGetModule.R:7:3): LapplyGetModule works correctly ---------- Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-zoon:::LapplyGetModule(list(a, b), forceReproducible = FALSE) 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. \-(function (type, msg, asError = TRUE) ... -- Error (testLoadModule.R:33:3): LoadModule works ----------------------------- Error: cannot open the connection to 'https://raw.githubusercontent.com/zoonproject/modules/master/man/SpOcc.Rd' Backtrace: x 1. +-testthat::expect_that(LoadModule("NoProcess"), equals("NoProcess")) 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") 7. \-zoon::GetModuleList() 8. \-base::readLines(con) -- Error (testModuleArguments.R:14:3): Check returns list with all the names --- Error: URL for module does not exist: https://raw.githubusercontent.com/zoonproject/modules/master/R/Background.R Backtrace: x 1. \-zoon::ModuleArguments("Background") testModuleArguments.R:14:2 -- Failure (testModuleHelp.R:14:3): ModuleHelp errors -------------------------- `ModuleHelp("NoProce1s")` threw an error with unexpected message. Expected match: "Can't find 'NoProce1s'. Did you mean" Actual message: "cannot open the connection to 'https://raw.githubusercontent.com/zoonproject/modules/master/man/SpOcc.Rd'" Backtrace: x 1. +-testthat::expect_error(ModuleHelp("NoProce1s"), "Can't find 'NoProce1s'. Did you mean") testModuleHelp.R:14:2 2. | \-testthat:::quasi_capture(...) 3. | +-testthat:::.capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-zoon::ModuleHelp("NoProce1s") 7. \-zoon::GetModuleList() 8. \-base::readLines(con) -- Error (???): Help as text --------------------------------------------------- Error: cannot open the connection to 'https://raw.githubusercontent.com/zoonproject/modules/master/man/SpOcc.Rd' Backtrace: x 1. \-zoon::ModuleHelp("NoProcess") 2. \-zoon::GetModuleList() 3. \-base::readLines(con) -- Error (???): Help as NULL --------------------------------------------------- Error: cannot open the connection to 'https://raw.githubusercontent.com/zoonproject/modules/master/man/SpOcc.Rd' Backtrace: x 1. \-zoon::ModuleHelp("NoProcess") 2. \-zoon::GetModuleList() 3. \-base::readLines(con) -- Error (???): Help as html --------------------------------------------------- Error: cannot open the connection to 'https://raw.githubusercontent.com/zoonproject/modules/master/man/SpOcc.Rd' Backtrace: x 1. \-zoon::ModuleHelp("NoProcess") 2. \-zoon::GetModuleList() 3. \-base::readLines(con) -- Error (???): Help as pdf ---------------------------------------------------- Error: cannot open the connection to 'https://raw.githubusercontent.com/zoonproject/modules/master/man/SpOcc.Rd' Backtrace: x 1. \-zoon::ModuleHelp("NoProcess") 2. \-zoon::GetModuleList() 3. \-base::readLines(con) -- Error (testReplicate.R:27:3): Replicate workflow tests ---------------------- Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-zoon::workflow(...) 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. \-(function (type, msg, asError = TRUE) ... -- Error (???): SortArgs works. ------------------------------------------------ Error: 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. \-(function (type, msg, asError = TRUE) ... -- Error (testTransformCRS.R:79:3): occurrence data is handled as expected when CRSs vary -- Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-testthat::expect_is(...) 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. \-(function (type, msg, asError = TRUE) ... -- Error (testWriteWorkflowMetadata.R:4:3): WriteWorkflowMetadata works. ------- Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-zoon::workflow(...) 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. \-(function (type, msg, asError = TRUE) ... -- Error (testZoonCitation.R:13:3): Check returns list with all the names ------ Error: URL for module does not exist: https://raw.githubusercontent.com/zoonproject/modules/master/R/LogisticRegression.R Backtrace: x 1. \-zoon::ZoonCitation("LogisticRegression") testZoonCitation.R:13:2 -- Error (testaccessors.R:10:3): All accessor functions return objects of the right length and type -- Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-zoon::workflow(...) 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. \-(function (type, msg, asError = TRUE) ... [ FAIL 23 | WARN 25 | SKIP 31 | PASS 97 ] Error: Test failures In addition: There were 13 warnings (use warnings() to see them) 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