* using log directory 'd:/Rcompile/CRANpkg/local/4.7/divvy.Rcheck' * using R Under development (unstable) (2026-05-09 r90031 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-05-10 11:45:18 UTC * checking for file 'divvy/DESCRIPTION' ... OK * this is package 'divvy' version '1.0.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 'divvy' 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [0s] 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 ... [3s] 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 ... [1s] 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 ... [6s] ERROR Running examples in 'divvy-Ex.R' failed The error most likely occurred in: > ### Name: bandit > ### Title: Rarefy localities within latitudinal bands > ### Aliases: bandit > > ### ** Examples > > # load bivalve occurrences to rasterise > library(terra) terra 1.9.25 > data(bivalves) > > # initialise Equal Earth projected coordinates > rWorld <- rast() > prj <- 'EPSG:8857' > rPrj <- project(rWorld, prj, res = 200000) # 200,000m is approximately 2 degrees Error: [write] unknown option(s): xscale,yscale Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [102s] ERROR Running 'testthat.R' [101s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(divvy) > > test_check("divvy") Saving _problems/test_calc_eco_variables-32.R Saving _problems/test_subsample-50.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 28 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_calc_eco_variables.R:32:1'): (code run outside of `test_that()`) ── Error: [write] unknown option(s): xscale,yscale Backtrace: ▆ 1. ├─terra::project(rWorld, prj, res = 2e+05) at test_calc_eco_variables.R:32:1 2. └─terra::project(rWorld, prj, res = 2e+05) 3. └─terra (local) .local(x, ...) 4. ├─terra::project(...) 5. └─terra::project(...) 6. └─terra (local) .local(x, ...) 7. └─terra:::spatOptions(filename, threads = threads, ...) 8. └─terra:::.setOptions(opt, wopt) 9. └─terra:::error("write", "unknown option(s): ", bad) ── Error ('test_subsample.R:50:1'): (code run outside of `test_that()`) ──────── Error: [write] unknown option(s): xscale,yscale Backtrace: ▆ 1. ├─terra::project(rWorld, prj, res = 2e+05) at test_subsample.R:50:1 2. └─terra::project(rWorld, prj, res = 2e+05) 3. └─terra (local) .local(x, ...) 4. ├─terra::project(...) 5. └─terra::project(...) 6. └─terra (local) .local(x, ...) 7. └─terra:::spatOptions(filename, threads = threads, ...) 8. └─terra:::.setOptions(opt, wopt) 9. └─terra:::error("write", "unknown option(s): ", bad) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 28 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [12s] ERROR Error(s) in re-building vignettes: --- re-building 'habitat-rangesize-case-study.Rmd' using rmarkdown --- finished re-building 'habitat-rangesize-case-study.Rmd' --- re-building 'subsampling-vignette.Rmd' using rmarkdown Quitting from subsampling-vignette.Rmd:84-100 [rasterise] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: ! [write] unknown option(s): xscale,yscale --- Backtrace: ▆ 1. ├─terra::project(rWorld, prj, res = 2e+05) 2. └─terra::project(rWorld, prj, res = 2e+05) 3. └─terra (local) .local(x, ...) 4. ├─terra::project(...) 5. └─terra::project(...) 6. └─terra (local) .local(x, ...) 7. └─terra:::spatOptions(filename, threads = threads, ...) 8. └─terra:::.setOptions(opt, wopt) 9. └─terra:::error("write", "unknown option(s): ", bad) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'subsampling-vignette.Rmd' failed with diagnostics: [write] unknown option(s): xscale,yscale --- failed re-building 'subsampling-vignette.Rmd' SUMMARY: processing the following file failed: 'subsampling-vignette.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... [4s] OK * DONE Status: 3 ERRORs