- using R version 4.3.1 (2023-06-16 ucrt)
- using platform: x86_64-w64-mingw32 (64-bit)
- R was compiled by
gcc.exe (GCC) 12.2.0
GNU Fortran (GCC) 12.2.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'binaryTimeSeries/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'binaryTimeSeries' version '1.0.2'
- 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 'binaryTimeSeries' can be installed ... OK
See the install log for details.
- 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 ... [14s] OK
- checking whether the package can be loaded with stated dependencies ... [12s] OK
- checking whether the package can be unloaded cleanly ... [13s] OK
- checking whether the namespace can be loaded with stated dependencies ... [13s] OK
- checking whether the namespace can be unloaded cleanly ... [13s] OK
- checking loading without being on the library search path ... [14s] 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 ... [30s] OK
- checking Rd files ... [1s] 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 installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [16s] ERROR
Running examples in 'binaryTimeSeries-Ex.R' failed
The error most likely occurred in:
> ### Name: presencePlot
> ### Title: Creates two maps: a map showing how many times the category is
> ### present during the time series and a map showing how many times the
> ### category changes during the time series.
> ### Aliases: presencePlot
>
> ### ** Examples
>
> example_data <- terra::rast(system.file("external/Example_raster_Y.tif",package="binaryTimeSeries"))
> no_data <- 2
> cat_interest <- 1
> data_res <- c(1000,1000)
> data_prj <- "+proj=utm +zone=32 +datum=WGS84 +ellps=GRS80 +units=m +no_defs"
> chdata_output <- changeData(x = example_data,nodata = no_data,
+ category = cat_interest,spres = data_res,datacrs = data_prj)
> ch_maps <- presencePlot(input = chdata_output,pltunit = "m",dataEpsg = 32632,
+ scalePos = "bottomleft",narrowPos = "topright",narrowSize = 1,
+ categoryName = "category",xAxis = "Horizontal (m)",yAxis = "Vertical (m)",
+ axisText = 1.2,axisLabel = 1.2,plotTitle = 1.5)
Warning in sp::CRS(paste0("+init=epsg:", epsg)) :
sf required for evolution_status==2L
Warning in sp::CRS("+init=epsg:4326") :
sf required for evolution_status==2L
Warning in sp::spTransform(spoints, sp::CRS("+init=epsg:4326")) :
NULL source CRS comment, falling back to PROJ string
Warning in sp::spTransform(spoints, sp::CRS("+init=epsg:4326")) :
+init dropped in PROJ string
Warning in sp::spTransform(spoints, sp::CRS("+init=epsg:4326")) :
NULL target CRS comment, falling back to PROJ string
Warning in sp::spTransform(spoints, sp::CRS("+init=epsg:4326")) :
+init dropped in PROJ string
Warning in is.projected(p4str) : Package sf not available
Warning: PROJ support is provided by the sf and terra packages among others
proj_create: unrecognized format / unknown name
Error in sp::spTransform(spoints, sp::CRS("+init=epsg:4326")) :
source crs creation failed: Invalid PROJ string syntax
Calls: presencePlot ... .geodist -> .tolatlon -> <Anonymous> -> <Anonymous>
Execution halted
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [1s] OK
Running 'spelling.R' [0s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in 'inst/doc' ... OK
- checking re-building of vignette outputs ... [16s] ERROR
Error(s) in re-building vignettes:
--- re-building 'README.Rmd' using rmarkdown
proj_create: unrecognized format / unknown name
Quitting from lines 76-89 [unnamed-chunk-3] (README.Rmd)
Error: processing vignette 'README.Rmd' failed with diagnostics:
source crs creation failed: Invalid PROJ string syntax
--- failed re-building 'README.Rmd'
SUMMARY: processing the following file failed:
'README.Rmd'
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [16s] OK
- checking HTML version of manual ... [1s] OK
- DONE
Status: 2 ERRORs