* using log directory ‘/Users/ripley/R/packages/tests-devel/metR.Rcheck’ * using R Under development (unstable) (2025-12-24 r89227) * using platform: aarch64-apple-darwin25.2.0 * R was compiled by Apple clang version 17.0.0 (clang-1700.6.3.2) GNU Fortran (GCC) 14.2.0 * running under: macOS Tahoe 26.2 * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘metR/DESCRIPTION’ ... OK * this is package ‘metR’ version ‘0.18.3’ * 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 ‘metR’ 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 ... 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 whether startup messages can be suppressed ... 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 ... OK * checking Rd files ... 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 ... 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 ... [15s/15s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [21s/21s] [21s/21s] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(metR) > # library(vdiffr) > > on_cran <- !isTRUE(as.logical(Sys.getenv("NOT_CRAN", "false"))) > if (on_cran) data.table::setDTthreads(2) > > test_check("metR") Saving _problems/test-trajectory-4.R [ FAIL 1 | WARN 0 | SKIP 20 | PASS 191 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • On CRAN (20): 'test-GetTopography.R:3:5', 'test-ReadNetCDF.R:81:5', 'test-vis-arrow.R:9:1', 'test-vis-arrow.R:31:1', 'test-vis-contour2.R:10:1', 'test-vis-contour2.R:24:1', 'test-vis-contour2.R:34:1', 'test-vis-contour2.R:52:1', 'test-vis-contour2.R:71:1', 'test-vis-contour_fill.R:11:1', 'test-vis-contour_fill.R:25:1', 'test-vis-contour_fill.R:36:1', 'test-vis-discretised-scale.R:12:1', 'test-vis-geom-relief.R:10:1', 'test-vis-guide_colorstrip.R:13:1', 'test-vis-streamline.R:18:1', 'test-vis-streamline.R:27:1', 'test-vis-text-contour.R:11:1', 'test-vis-text-contour.R:67:1', 'test-vis-text-contour.R:78:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-trajectory.R:4:1'): (code run outside of `test_that()`) ──────── Error in ``[.data.table`(geopotential, , `:=`(c("u", "v"), GeostrophicWind(gh, lon, lat)), by = date)`: Internal error in dogroups: Trying to add new column by reference but tl is full; setalloccol should have run first at R level before getting to this point. Please report to the data.table issues tracker. Backtrace: ▆ 1. ├─...[] at test-trajectory.R:4:1 2. └─data.table:::`[.data.table`(...) at test-trajectory.R:4:1 [ FAIL 1 | WARN 0 | SKIP 20 | PASS 191 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [14s/14s] ERROR Error(s) in re-building vignettes: --- re-building ‘Visualization-tools.Rmd’ using knitr Quitting from Visualization-tools.Rmd:250-261 [unnamed-chunk-17] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `[.data.table`: ! Internal error in dogroups: Trying to add new column by reference but tl is full; setalloccol should have run first at R level before getting to this point. Please report to the data.table issues tracker. --- Backtrace: ▆ 1. ├─ggplot2::ggplot(...) 2. ├─geopotential[, `:=`(gh.base, gh[lon == 120 & lat == -50]), by = date] 3. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Visualization-tools.Rmd' failed with diagnostics: Internal error in dogroups: Trying to add new column by reference but tl is full; setalloccol should have run first at R level before getting to this point. Please report to the data.table issues tracker. --- failed re-building ‘Visualization-tools.Rmd’ --- re-building ‘Working-with-data.Rmd’ using knitr Quitting from Working-with-data.Rmd:117-124 [unnamed-chunk-7] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `[.data.table`: ! Internal error in dogroups: Trying to add new column by reference but tl is full; setalloccol should have run first at R level before getting to this point. Please report to the data.table issues tracker. --- Backtrace: ▆ 1. ├─...[] 2. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Working-with-data.Rmd' failed with diagnostics: Internal error in dogroups: Trying to add new column by reference but tl is full; setalloccol should have run first at R level before getting to this point. Please report to the data.table issues tracker. --- failed re-building ‘Working-with-data.Rmd’ SUMMARY: processing the following files failed: ‘Visualization-tools.Rmd’ ‘Working-with-data.Rmd’ Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs See ‘/Users/ripley/R/packages/tests-devel/metR.Rcheck/00check.log’ for details. 88.15 real 79.42 user 7.82 sys