* using log directory 'd:/Rcompile/CRANpkg/local/3.5/traitdataform.Rcheck' * using R version 3.5.3 (2019-03-11) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'traitdataform/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'traitdataform' version '0.5.7' * 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 'traitdataform' 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 ... [9s] 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 R/sysdata.rda ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... ERROR Running examples in 'traitdataform-Ex.R' failed The error most likely occurred in: > ### Name: cast.traitdata > ### Title: Cast long-table trait data into wide-table format > ### Aliases: cast.traitdata > > ### ** Examples > > > pulldata("arthropodtraits") Warning in open.connection(file, "rt") : InternetOpenUrl failed: 'Eine Umleitungsanforderung ändert eine sichere in eine nicht sichere Verbindung.' Error in open.connection(file, "rt") : cannot open the connection Calls: pulldata ... -> read.table -> open -> open.connection Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [9s] ERROR Running 'testthat.R' [8s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(traitdataform) > > test_check("traitdataform") -- 1. Error: (unknown) (@test.columns_to_ETS.R#5) ----------------------------- cannot open the connection Backtrace: 1. traitdataform::pulldata("arthropodtraits") 7. utils::read.csv(...) 8. utils::read.table(...) 10. base::open.connection(file, "rt") -- 2. Error: (unknown) (@test.map_gbif_taxonomy.R#6) -------------------------- cannot open the connection Backtrace: 1. traitdataform::pulldata("carabids") 7. utils::read.delim(...) 8. utils::read.table(...) 10. base::open.connection(file, "rt") -- 3. Error: mapping of taxa works (@test.standardize.R#6) -------------------- cannot open the connection Backtrace: 1. traitdataform::pulldata("carabids") 7. utils::read.delim(...) 8. utils::read.table(...) 10. base::open.connection(file, "rt") -- 4. Error: unit conversion works (@test.standardize.R#73) ------------------- cannot open the connection Backtrace: 1. traitdataform::pulldata("carabids") 7. utils::read.delim(...) 8. utils::read.table(...) 10. base::open.connection(file, "rt") -- 5. Error: factor level harmonizationworks (@test.standardize.R#79) --------- cannot open the connection Backtrace: 1. traitdataform::pulldata("arthropodtraits") 7. utils::read.csv(...) 8. utils::read.table(...) 10. base::open.connection(file, "rt") == testthat results =========================================================== [ OK: 1 | SKIPPED: 0 | WARNINGS: 5 | FAILED: 5 ] 1. Error: (unknown) (@test.columns_to_ETS.R#5) 2. Error: (unknown) (@test.map_gbif_taxonomy.R#6) 3. Error: mapping of taxa works (@test.standardize.R#6) 4. Error: unit conversion works (@test.standardize.R#73) 5. Error: factor level harmonizationworks (@test.standardize.R#79) Error: testthat unit tests failed In addition: Warning messages: 1: In typeof(x) : closing unused connection 4 (https://datadryad.org/stash/downloads/file_stream/41660) 2: closing unused connection 4 (https://datadryad.org/stash/downloads/file_stream/24267) 3: In switch(typeof(x), builtin = , special = ns_env("base"), closure = topenv(fn_env(x)), : closing unused connection 4 (https://datadryad.org/stash/downloads/file_stream/24267) Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [4s] WARNING Error in re-building vignettes: ... Quitting from lines 53-57 (traitdataform.Rmd) Error: processing vignette 'traitdataform.Rmd' failed with diagnostics: cannot open the connection Execution halted * checking PDF version of manual ... OK * DONE Status: 2 ERRORs, 1 WARNING