* using log directory 'd:/Rcompile/CRANpkg/local/4.3/shadow.Rcheck' * 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 'shadow/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'shadow' version '0.7.1' * 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 'shadow' 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 ... NOTE Problems with news in 'NEWS.md': Cannot extract version info from the following section titles: Other ideas * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [10s] OK * checking whether the package can be loaded with stated dependencies ... [10s] OK * checking whether the package can be unloaded cleanly ... [11s] OK * checking whether the namespace can be loaded with stated dependencies ... [11s] OK * checking whether the namespace can be unloaded cleanly ... [11s] OK * checking loading without being on the library search path ... [11s] 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 ... [25s] 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... [10s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking sizes of PDF files under 'inst/doc' ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [28s] ERROR Running examples in 'shadow-Ex.R' failed The error most likely occurred in: > ### Name: shadowFootprint > ### Title: Shadow footprint on the ground > ### Aliases: shadowFootprint > ### shadowFootprint,SpatialPolygonsDataFrame-method > > ### ** Examples > > time = as.POSIXct("2004-12-24 13:30:00", tz = "Asia/Jerusalem") > proj4string(build) = CRS("+init=epsg:32636") Warning in CRS("+init=epsg:32636") : sf required for evolution_status==2L > location_geo = matrix(c(34.7767978098526, 31.9665936050395), ncol = 2) > solar_pos = maptools::solarpos(location_geo, time) Please note that 'maptools' will be retired during October 2023, plan transition at your earliest convenience (see https://r-spatial.org/r/2023/05/15/evolution4.html and earlier blogs for guidance);some functionality will be moved to 'sp'. Checking rgeos availability: TRUE Warning in CRS("+proj=longlat +datum=WGS84") : sf required for evolution_status==2L Warning in is.projected(p4str) : Package sf not available > footprint1 = ## Using 'solar_pos' + shadowFootprint( + obstacles = build, + obstacles_height_field = "BLDG_HT", + solar_pos = solar_pos + ) Warning in is.projected(p4str) : Package sf not available Warning in is.projected(p4str) : Package sf not available Warning in is.projected(p4str) : Package sf not available Warning: GEOS support is provided by the sf and terra packages among others Warning in is.projected(p4str) : Package sf not available Warning in is.projected(p4str) : Package sf not available Warning: GEOS support is provided by the sf and terra packages among others Warning in is.projected(p4str) : Package sf not available Warning in is.projected(p4str) : Package sf not available Warning: GEOS support is provided by the sf and terra packages among others Warning in is.projected(p4str) : Package sf not available Warning in is.projected(p4str) : Package sf not available Warning: GEOS support is provided by the sf and terra packages among others Warning in is.projected(p4str) : Package sf not available Warning in is.projected(p4str) : Package sf not available Warning: GEOS support is provided by the sf and terra packages among others Warning in is.projected(p4str) : Package sf not available Warning in is.projected(p4str) : Package sf not available Warning: GEOS support is provided by the sf and terra packages among others Warning in is.projected(p4str) : Package sf not available Warning in is.projected(p4str) : Package sf not available Warning: GEOS support is provided by the sf and terra packages among others Warning in is.projected(p4str) : Package sf not available Warning in is.projected(p4str) : Package sf not available Warning: GEOS support is provided by the sf and terra packages among others > footprint2 = ## Using 'time' + shadowFootprint( + obstacles = build, + obstacles_height_field = "BLDG_HT", + time = time + ) Warning in CRS("+init=epsg:4326") : sf required for evolution_status==2L Error in sp::spTransform(location_ctr, CRS("+init=epsg:4326")) : sf required for evolution_status==2L Calls: shadowFootprint ... .checkSolarPos -> is -> solarpos2 -> -> Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [34s] OK Running 'testthat.R' [33s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [1s] OK * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... [5s] OK * DONE Status: 1 ERROR, 1 NOTE