- using R version 4.0.4 (2021-02-15)
- using platform: x86_64-w64-mingw32 (64-bit)
- using session charset: ISO8859-1
- checking for file 'sdmpredictors/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'sdmpredictors' version '0.2.9'
- 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 'sdmpredictors' 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 ... [8s] 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 ... [15s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [20s] ERROR
Running 'testthat.R' [19s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(sdmpredictors)
Loading required package: raster
Loading required package: sp
Loading required package: rgdal
rgdal: version: 1.5-23, (SVN revision 1121)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.2.1, released 2020/12/29
Path to GDAL shared files: D:/temp/Rtmp2L8hXY/RLIBS_150b422732834/rgdal/gdal
GDAL binary built with GEOS: TRUE
Loaded PROJ runtime: Rel. 7.2.1, January 1st, 2021, [PJ_VERSION: 721]
Path to PROJ shared files: D:/temp/Rtmp2L8hXY/RLIBS_150b422732834/rgdal/proj
PROJ CDN enabled: FALSE
Linking to sp version:1.4-5
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading rgdal.
Overwritten PROJ_LIB was D:/temp/Rtmp2L8hXY/RLIBS_150b422732834/rgdal/proj
>
> test_check("sdmpredictors")
[1] "d:/Rcompile/CRANpkg/local/4.0/sdmpredictors.Rcheck/tests/testthat"
== Skipped tests ===============================================================
* On CRAN (17)
== Failed tests ================================================================
-- Failure (test_get_sysdata.R:42:3): sysdata gets downloaded ------------------
file.exists(outfile) is not TRUE
`actual`: FALSE
`expected`: TRUE
Backtrace:
x
1. \-sdmpredictors:::gets_downloaded(outfile) test_get_sysdata.R:42:2
2. \-testthat::expect_true(file.exists(outfile)) test_get_sysdata.R:37:4
-- Failure (test_get_sysdata.R:45:3): sysdata gets downloaded ------------------
file.exists(outfile) is not TRUE
`actual`: FALSE
`expected`: TRUE
Backtrace:
x
1. \-sdmpredictors:::gets_downloaded(outfile) test_get_sysdata.R:45:2
2. \-testthat::expect_true(file.exists(outfile)) test_get_sysdata.R:37:4
[ FAIL 2 | WARN 44 | SKIP 17 | PASS 91 ]
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 ... [6s] WARNING
Error(s) in re-building vignettes:
--- re-building 'quickstart.Rmd' using rmarkdown
Loading required package: raster
Loading required package: sp
Loading required package: rgdal
rgdal: version: 1.5-23, (SVN revision 1121)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.2.1, released 2020/12/29
Path to GDAL shared files: D:/temp/Rtmp2L8hXY/RLIBS_150b4266515d4/rgdal/gdal
GDAL binary built with GEOS: TRUE
Loaded PROJ runtime: Rel. 7.2.1, January 1st, 2021, [PJ_VERSION: 721]
Path to PROJ shared files: D:/temp/Rtmp2L8hXY/RLIBS_150b4266515d4/rgdal/proj
PROJ CDN enabled: FALSE
Linking to sp version:1.4-5
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading rgdal.
Overwritten PROJ_LIB was D:/temp/Rtmp2L8hXY/RLIBS_150b4266515d4/rgdal/proj
Warning in utils::download.file(url, tmp, quiet = TRUE) :
InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
trying URL 'http://www.lifewatch.be/sdmpredictors/BO_ph_lonlat.tif'
Quitting from lines 79-91 (quickstart.Rmd)
Error: processing vignette 'quickstart.Rmd' failed with diagnostics:
cannot open URL 'http://www.lifewatch.be/sdmpredictors/BO_ph_lonlat.tif'
--- failed re-building 'quickstart.Rmd'
SUMMARY: processing the following file failed:
'quickstart.Rmd'
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... OK
- DONE
Status: 1 ERROR, 1 WARNING