* using log directory 'd:/Rcompile/CRANpkg/local/4.7/geozarr.Rcheck' * using R Under development (unstable) (2026-10-24 r90762 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-10-25 19:24:44 UTC * checking for file 'geozarr/DESCRIPTION' ... OK * this is package 'geozarr' version '0.2.0' * 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 'geozarr' can be installed ... OK * checking installed package size ... OK * checking package 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking whether startup messages can be suppressed ... [1s] 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 ... [5s] OK * checking Rd files ... [2s] 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 examples ... [1s] ERROR Running examples in 'geozarr-Ex.R' failed The error most likely occurred in: > ### Name: as_geozarr > ### Title: Convert an R object into a GeoZarr array > ### Aliases: as_geozarr > > ### ** Examples > > x <- array(1:400, c(5, 20, 4)) > dimnames(x) <- list(x = 100000 + 0:4 * 10000, y = 19:0 * 5000, cls = letters[1:4]) > z <- as_geozarr(x, "my_data") Error in !no_create_check : invalid argument type Calls: as_geozarr -> -> initialize -> Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [3s] ERROR Running 'testthat.R' [3s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(geozarr) Loading required package: zarr > > test_check("geozarr") Saving _problems/test-api-27.R Saving _problems/test-api-73.R Saving _problems/test-api-129.R Saving _problems/test-api-175.R Saving _problems/test-api-235.R Saving _problems/test-api-279.R [ FAIL 6 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-api.R:27:3'): spatial-memory ─────────────────────────────────── Error in `if (!nzchar(name)) { zarr_array$new(name = "", metadata = ab$metadata(), parent = out) out$root$write(x) } else { zarr_group$new(name = "", parent = out) arr <- zarr_array$new(name = name, metadata = ab$metadata(), parent = out$root) arr$write(x) }`: argument is of length zero Backtrace: ▆ 1. └─geozarr::as_geozarr(x = arr) at test-api.R:27:3 2. └─zarr::as_zarr(x, name, location) ── Error ('test-api.R:73:3'): spatial-filesystem ─────────────────────────────── Error in `if (!nzchar(name)) { zarr_array$new(name = "", metadata = ab$metadata(), parent = out) out$root$write(x) } else { zarr_group$new(name = "", parent = out) arr <- zarr_array$new(name = name, metadata = ab$metadata(), parent = out$root) arr$write(x) }`: argument is of length zero Backtrace: ▆ 1. └─geozarr::as_geozarr(x = arr, location = fn) at test-api.R:73:3 2. └─zarr::as_zarr(x, name, location) ── Error ('test-api.R:129:3'): cs-regular-memory ─────────────────────────────── Error in `if (!nzchar(name)) { zarr_array$new(name = "", metadata = ab$metadata(), parent = out) out$root$write(x) } else { zarr_group$new(name = "", parent = out) arr <- zarr_array$new(name = name, metadata = ab$metadata(), parent = out$root) arr$write(x) }`: argument is of length zero Backtrace: ▆ 1. └─geozarr::as_geozarr(x = arr) at test-api.R:129:3 2. └─zarr::as_zarr(x, name, location) ── Error ('test-api.R:175:3'): cs-regular-filesystem ─────────────────────────── Error in `if (!nzchar(name)) { zarr_array$new(name = "", metadata = ab$metadata(), parent = out) out$root$write(x) } else { zarr_group$new(name = "", parent = out) arr <- zarr_array$new(name = name, metadata = ab$metadata(), parent = out$root) arr$write(x) }`: argument is of length zero Backtrace: ▆ 1. └─geozarr::as_geozarr(x = arr, location = fn) at test-api.R:175:3 2. └─zarr::as_zarr(x, name, location) ── Error ('test-api.R:235:3'): cs-irregular-memory ───────────────────────────── Error in `!no_create_check`: invalid argument type Backtrace: ▆ 1. └─geozarr::as_geozarr(x = arr, name = "abc") at test-api.R:235:3 2. └─geozarr_array$new(...) 3. └─geozarr (local) initialize(...) 4. └─super$initialize(name, metadata, parent, store) ── Error ('test-api.R:279:3'): cs-irregular-filesystem ───────────────────────── Error in `!no_create_check`: invalid argument type Backtrace: ▆ 1. └─geozarr::as_geozarr(x = arr, name = "abc", location = fn) at test-api.R:279:3 2. └─geozarr_array$new(...) 3. └─geozarr (local) initialize(...) 4. └─super$initialize(name, metadata, parent, store) [ FAIL 6 | WARN 0 | SKIP 0 | PASS 0 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... [28s] OK * checking HTML version of manual ... [5s] OK * DONE Status: 2 ERRORs