* using log directory 'd:/Rcompile/CRANpkg/local/4.2/binaryTimeSeries.Rcheck' * using R version 4.2.3 (2023-03-15 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * 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 * 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 ... [28s] OK * checking Rd files ... [0s] 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: Unknown error (code 4096) Calls: presencePlot ... .geodist -> .tolatlon -> -> 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: Unknown error (code 4096) --- 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 ... OK * DONE Status: 2 ERRORs