* using log directory 'd:/RCompile/CRANincoming/R-devel/madrat.Rcheck' * using R Under development (unstable) (2024-12-15 r87442 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'madrat/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'madrat' version '3.15.5' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [11s] 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 hidden files and directories ... OK * checking for portable file names ... OK * checking serialization versions ... OK * checking whether package 'madrat' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... NOTE Author field differs from that derived from Authors@R Author: 'Jan Philipp Dietrich [aut, cre] (Potsdam Institute for Climate Impact Research, ), Lavinia Baumstark [aut] (Potsdam Institute for Climate Impact Research), Stephen Wirth [aut] (Potsdam Institute for Climate Impact Research), Anastasis Giannousakis [aut], Renato Rodrigues [aut] (Potsdam Institute for Climate Impact Research), Benjamin Leon Bodirsky [aut] (Potsdam Institute for Climate Impact Research), Debbora Leip [aut] (Potsdam Institute for Climate Impact Research), Ulrich Kreidenweis [aut], David Klein [aut] (Potsdam Institute for Climate Impact Research), Pascal Sauer [aut] (Potsdam Institute for Climate Impact Research)' Authors@R: 'Jan Philipp Dietrich [aut, cre] (affiliation: Potsdam Institute for Climate Impact Research, ORCID: ), Lavinia Baumstark [aut] (affiliation: Potsdam Institute for Climate Impact Research), Stephen Wirth [aut] (affiliation: Potsdam Institute for Climate Impact Research), Anastasis Giannousakis [aut], Renato Rodrigues [aut] (affiliation: Potsdam Institute for Climate Impact Research), Benjamin Leon Bodirsky [aut] (affiliation: Potsdam Institute for Climate Impact Research), Debbora Leip [aut] (affiliation: Potsdam Institute for Climate Impact Research), Ulrich Kreidenweis [aut], David Klein [aut] (affiliation: Potsdam Institute for Climate Impact Research), Pascal Sauer [aut] (affiliation: Potsdam Institute for Climate Impact Research)' * 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 ... [20s] 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 R/sysdata.rda ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [31s] ERROR Running 'testthat.R' [31s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(madrat) Loading required package: magclass > > test_check("madrat") [ FAIL 1 | WARN 0 | SKIP 8 | PASS 656 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • On CRAN (7): 'test-calcOutput.R:23:3', 'test-calcOutput.R:114:3', 'test-metadataGFZ.R:2:3', 'test-puc.R:2:3', 'test-readSource.R:58:3', 'test-readSource.R:64:3', 'test-readSource.R:73:3' • {reshape2} is not installed (1): 'test-calcOutput.R:459:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-redirectSource.R:4:3'): redirectSource writes to config as intended ── `redirectSource("foo", target = "foo2")` threw an error with unexpected message. Expected match: "No such file or directory|cannot find the file" Actual message: "path[1]=\"foo2\": Das System kann die angegebene Datei nicht finden" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-redirectSource.R:4:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─madrat::redirectSource("foo", target = "foo2") 7. └─madrat:::redirect(...) 8. └─base::normalizePath(target, mustWork = TRUE) [ FAIL 1 | WARN 0 | SKIP 8 | PASS 656 ] Error: Test failures Execution halted Ran 3/3 deferred expressions * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [15s] OK * checking HTML version of manual ... [11s] OK * DONE Status: 1 ERROR, 1 NOTE