* using log directory ‘/data/localhost/ripley/R/packages/tests-donttest/roads.Rcheck’ * using R Under development (unstable) (2026-07-24 r90297) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2) GNU Fortran (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-07-25 14:11:06 UTC * checking for file ‘roads/DESCRIPTION’ ... OK * this is package ‘roads’ version ‘1.2.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 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 ‘roads’ can be installed ... [20s/22s] 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 code 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 ... [26s/29s] 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK * checking examples with --run-donttest ... ERROR Running examples in ‘roads-Ex.R’ failed The error most likely occurred in: > ### Name: getDistFromSource > ### Title: Moving window approach to get distance from source > ### Aliases: getDistFromSource > ### Keywords: internal > > ### ** Examples > > > CLUSexample <- prepExData(CLUSexample) > # Deprecated > # getDistFromSource(CLUSexample$roads, 5, 2) > > # Use terra::distance instead > terra::distance(CLUSexample$roads, target = 0) class : SpatRaster size : 5, 5, 1 (nrow, ncol, nlyr) resolution : 1, 1 (x, y) extent : 0, 5, 0, 5 (xmin, xmax, ymin, ymax) coord. ref. : NAD83 / Statistics Canada Lambert (EPSG:3347) source(s) : memory name : lyr.1 min value : 0 max value : 4 > > ## No test: > library(sf) Linking to GEOS 3.14.1, GDAL 3.12.4, PROJ 9.8.1; sf_use_s2() is TRUE > library(terra) terra 1.9.34 > > #make example roads from scratch > rds <- data.frame(x = 1:1000/100, y = cos(1:1000/100)) %>% + st_as_sf(coords = c("x", "y")) %>% + st_union() %>% + st_cast("LINESTRING") Error in data.frame(x = 1:1000/100, y = cos(1:1000/100)) %>% st_as_sf(coords = c("x", : could not find function "%>%" Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [58s/61s] [59s/61s] OK * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [49s/51s] OK * checking PDF version of manual ... OK * checking HTML 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 See ‘/data/localhost/ripley/R/packages/tests-donttest/roads.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 5:19.82, 276.09 + 18.58