* using log directory 'd:/Rcompile/CRANpkg/local/3.6/TNRS.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 'TNRS/DESCRIPTION' ... OK * this is package 'TNRS' version '0.1.0' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'TNRS' 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 ... [4s] 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 'TNRS-Ex.R' failed The error most likely occurred in: > ### Name: TNRS > ### Title: Resolve plant taxonomic names > ### Aliases: TNRS > > ### ** Examples > > { + #Take a subset of the testfile to speed up runtime + tnrs_testfile <- tnrs_testfile[1:20,] + + results <- TNRS(taxonomic_names = tnrs_testfile) + + # Inspect the results + head(results, 10) + } Error in function (type, msg, asError = TRUE) : error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Calls: TNRS ... .TNRS_base -> postForm -> .postForm -> -> fun Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [7s] ERROR Running 'testthat.R' [6s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(TNRS) > > > test_check("TNRS") == Failed tests ================================================================ -- Error (test-TNRS.R:7:3): example works -------------------------------------- Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-TNRS::TNRS(taxonomic_names = tnrs_testfile) test-TNRS.R:7:2 2. | \-TNRS:::.TNRS_base(...) 3. | \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers)) 4. | \-RCurl::.postForm(curl, .opts, .params, style) 5. \-(function (type, msg, asError = TRUE) ... -- Error (test-TNRS.R:19:3): character vector returns results ------------------ Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-TNRS::TNRS(...) test-TNRS.R:19:2 2. | \-TNRS:::.TNRS_base(...) 3. | \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers)) 4. | \-RCurl::.postForm(curl, .opts, .params, style) 5. \-(function (type, msg, asError = TRUE) ... -- Error (test-TNRS.R:28:3): character returns results ------------------------- Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-TNRS::TNRS(taxonomic_names = c("Epidendrum boyleii")) test-TNRS.R:28:2 2. | \-TNRS:::.TNRS_base(...) 3. | \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers)) 4. | \-RCurl::.postForm(curl, .opts, .params, style) 5. \-(function (type, msg, asError = TRUE) ... -- Error (test-TNRS.R:40:3): all sources work ---------------------------------- Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-TNRS::TNRS(taxonomic_names = species, sources = "tpl") test-TNRS.R:40:2 2. | \-TNRS:::.TNRS_base(...) 3. | \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers)) 4. | \-RCurl::.postForm(curl, .opts, .params, style) 5. \-(function (type, msg, asError = TRUE) ... -- Error (test-TNRS.R:64:3): matches all returns more rows than best ----------- Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-TNRS::TNRS(taxonomic_names = "Epidendon boyleii", matches = "all") test-TNRS.R:64:2 2. | \-TNRS:::.TNRS_base(...) 3. | \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers)) 4. | \-RCurl::.postForm(curl, .opts, .params, style) 5. \-(function (type, msg, asError = TRUE) ... -- Error (test-TNRS.R:74:3): parsing returns matches --------------------------- Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-TNRS::TNRS(taxonomic_names = "Epidentrum boyleii", mode = "parse") test-TNRS.R:74:2 2. | \-TNRS:::.TNRS_base(...) 3. | \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers)) 4. | \-RCurl::.postForm(curl, .opts, .params, style) 5. \-(function (type, msg, asError = TRUE) ... -- Error (test-TNRS_base.R:7:3): example works --------------------------------- Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-TNRS:::.TNRS_base(taxonomic_names = tnrs_testfile) test-TNRS_base.R:7:2 2. | \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers)) 3. | \-RCurl::.postForm(curl, .opts, .params, style) 4. \-(function (type, msg, asError = TRUE) ... -- Error (test-TNRS_citations.R:6:3): example works ---------------------------- Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-TNRS::TNRS_citations() test-TNRS_citations.R:6:2 2. | \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers)) 3. | \-RCurl::.postForm(curl, .opts, .params, style) 4. \-(function (type, msg, asError = TRUE) ... -- Error (test-TNRS_metadata.R:6:3): example works ----------------------------- Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-TNRS::TNRS_metadata() test-TNRS_metadata.R:6:2 2. | \-TNRS::TNRS_citations() 3. | \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers)) 4. | \-RCurl::.postForm(curl, .opts, .params, style) 5. \-(function (type, msg, asError = TRUE) ... -- Error (test-TNRS_sources.R:6:3): example works ------------------------------ Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-TNRS::TNRS_sources() test-TNRS_sources.R:6:2 2. | \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers)) 3. | \-RCurl::.postForm(curl, .opts, .params, style) 4. \-(function (type, msg, asError = TRUE) ... -- Error (test-TNRS_version.R:6:3): example works ------------------------------ Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Backtrace: x 1. +-TNRS::TNRS_version() test-TNRS_version.R:6:2 2. | \-RCurl::postForm(url, .opts = list(postfields = input_json, httpheader = headers)) 3. | \-RCurl::.postForm(curl, .opts, .params, style) 4. \-(function (type, msg, asError = TRUE) ... [ FAIL 11 | WARN 0 | SKIP 0 | PASS 1 ] 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] WARNING Error(s) in re-building vignettes: --- re-building 'TNRS_vignette.Rmd' using rmarkdown Quitting from lines 30-50 (TNRS_vignette.Rmd) Error: processing vignette 'TNRS_vignette.Rmd' failed with diagnostics: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version --- failed re-building 'TNRS_vignette.Rmd' SUMMARY: processing the following file failed: 'TNRS_vignette.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... OK * DONE Status: 2 ERRORs, 1 WARNING