* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/occTest.Rcheck’ * using R Under development (unstable) (2023-03-30 r84126) * using platform: x86_64-pc-linux-gnu (64-bit) * R was compiled by gcc (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2) GNU Fortran (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2) * running under: Fedora 34 (Workstation Edition) * using session charset: UTF-8 * checking for file ‘occTest/DESCRIPTION’ ... OK * this is package ‘occTest’ version ‘0.1.1’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... NOTE Packages suggested but not available for checking: 'originr', 'parallelsugar' * 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 ‘occTest’ can be installed ... [29s/30s] 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 startup messages can be suppressed ... OK * checking dependencies in R code ... NOTE Namespaces in Imports field not imported from: ‘rnaturalearthdata’ ‘spocc’ ‘tidyverse’ All declared Imports should be used. * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [46s/46s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [11s/13s] OK * checking examples with --run-donttest ... [14s/18s] ERROR Running examples in ‘occTest-Ex.R’ failed The error most likely occurred in: > ### Name: nativeStatusCtry > ### Title: Check native and alien ranges in countries > ### Aliases: nativeStatusCtry > ### Keywords: internal > > ### ** Examples > > ## No test: > #needs spocc library > df <- spocc::occ(query = 'Pseudotsuga menziesii') > occ.data <- spocc::occ2df(df) > nativeStatusCtry(spName = 'Pseudotsuga menziesii',xydat = occ.data[,2:3]) Error in nativeStatusCtry(spName = "Pseudotsuga menziesii", xydat = occ.data[, : object '"Pseudotsuga menziesii"' not found Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR, 2 NOTEs See ‘/data/blackswan/ripley/R/packages/tests-devel/occTest.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 4:33.67, 251.18 + 16.45