* using log directory ‘/home/hornik/tmp/CRAN_special_noSuggests/GDPuc.Rcheck’ * using R Under development (unstable) (2025-11-19 r89037) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-15 (Debian 15.2.0-4) 15.2.0 GNU Fortran (Debian 15.2.0-4) 15.2.0 * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * checking for file ‘GDPuc/DESCRIPTION’ ... OK * this is package ‘GDPuc’ version ‘1.6.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [5s/6s] OK * 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 serialization versions ... OK * checking whether package ‘GDPuc’ can be installed ... [2s/2s] OK * checking package directory ... OK * checking for future file timestamps ... 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 ... [2s/2s] OK * checking whether the package can be loaded with stated dependencies ... [2s/2s] OK * checking whether the package can be unloaded cleanly ... [2s/2s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] OK * checking whether startup messages can be suppressed ... [2s/2s] 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 ... [4s/4s] OK * checking Rd files ... [0s/0s] 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 R/sysdata.rda ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [1s/1s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [94s/94s] ERROR Running ‘testthat.R’ [94s/94s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(GDPuc) > > test_check("GDPuc") Saving _problems/test-01_check_user_input-63.R Saving _problems/test-05_convertGDP-191.R Saving _problems/test-05_convertGDP-210.R [ FAIL 3 | WARN 0 | SKIP 3 | PASS 6578 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • {magclass} is not installed (1): 'test-05_convertGDP.R:72:3' • {magclass} is not installed. (1): 'test-02_transform_user_input.R:27:3' • {zoo} is not installed (1): 'test-06_replace_NAs.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-01_check_user_input.R:57:3'): with_regions argument ──────────── Error in `check_with_regions(unit_in, unit_out, source, with_regions)`: The package "madrat" is required in order for madrat regionmappings to be found. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-01_check_user_input.R:57:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─GDPuc:::check_user_input(...) 8. └─GDPuc:::check_with_regions(unit_in, unit_out, source, with_regions) 9. └─rlang::check_installed("madrat", reason = "in order for madrat regionmappings to be found.") ── Error ('test-05_convertGDP.R:188:3'): convertGDP with regions, madrat data-frame ── Error in `check_with_regions(unit_in, unit_out, source, with_regions)`: The package "madrat" is required in order for madrat regionmappings to be found. Backtrace: ▆ 1. ├─testthat::expect_no_warning(...) at test-05_convertGDP.R:188:3 2. │ └─testthat:::expect_no_(...) 3. │ └─testthat:::quasi_capture(enquo(object), NULL, capture) 4. │ ├─testthat (local) .capture(...) 5. │ │ ├─base::withRestarts(...) 6. │ │ │ └─base (local) withOneRestart(expr, restarts[[1L]]) 7. │ │ │ └─base (local) doWithOneRestart(return(expr), restart) 8. │ │ └─base::withCallingHandlers(...) 9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 10. └─GDPuc::convertGDP(...) 11. ├─base::do.call(check_user_input, arg) 12. └─GDPuc (local) ``(...) 13. └─GDPuc:::check_with_regions(unit_in, unit_out, source, with_regions) 14. └─rlang::check_installed("madrat", reason = "in order for madrat regionmappings to be found.") ── Error ('test-05_convertGDP.R:207:3'): convertGDP using US conversion factors ── Error in `adapt_source(gdp, source, with_regions, replace_NAs, require_year_column)`: The package "zoo" is required in order for 'replace_NAs' to work. Backtrace: ▆ 1. └─GDPuc::convertGDP(...) at test-05_convertGDP.R:207:3 2. └─GDPuc:::transform_user_input(...) 3. └─GDPuc:::adapt_source(...) 4. └─rlang::check_installed(c("zoo"), reason = "in order for 'replace_NAs' to work.") [ FAIL 3 | WARN 0 | SKIP 3 | PASS 6578 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [1s/1s] OK * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR