* using log directory 'd:/RCompile/CRANincoming/R-devel/rcdo.Rcheck' * using R Under development (unstable) (2025-07-06 r88390 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'rcdo/DESCRIPTION' ... OK * this is package 'rcdo' version '0.3.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [16s] 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 whether package 'rcdo' 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 ... 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 ... [19s] 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 ... ERROR Running 'testthat.R' 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(rcdo) > > test_check("rcdo") [ FAIL 10 | WARN 0 | SKIP 0 | PASS 22 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-test-build-operation.R:6:3'): simple operator ──────────────── build_operation(cdo_ymonmin(x)) (`actual`) not equal to "cdo ymonmin [ 'file.nc' ] {{output}}" (`expected`). actual vs expected - "cdo ymonmin [ \"d:\\RCompile\\CRANincoming\\R-devel\\rcdo.Rcheck\\tests\\testthat\\file.nc\" ] {{output}}" + "cdo ymonmin [ 'file.nc' ] {{output}}" Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-test-build-operation.R:6: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. └─testthat::expect_equal(build_operation(cdo_ymonmin(x)), "cdo ymonmin [ 'file.nc' ] {{output}}") ── Failure ('test-test-build-operation.R:14:3'): 2 file operator ─────────────── build_operation(op) (`actual`) not equal to "cdo ymonsub [ 'file2.nc' 'file.nc' ] {{output}}" (`expected`). actual vs expected - "cdo ymonsub [ \"d:\\RCompile\\CRANincoming\\R-devel\\rcdo.Rcheck\\tests\\testthat\\file2.nc\" \"d:\\RCompile\\CRANincoming\\R-devel\\rcdo.Rcheck\\tests\\testthat\\file.nc\" ] {{output}}" + "cdo ymonsub [ 'file2.nc' 'file.nc' ] {{output}}" Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-test-build-operation.R:14: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. ├─testthat::expect_warning(expect_equal(build_operation(op), "cdo ymonsub [ 'file2.nc' 'file.nc' ] {{output}}")) 8. │ └─testthat:::expect_condition_matching(...) 9. │ └─testthat:::quasi_capture(...) 10. │ ├─testthat (local) .capture(...) 11. │ │ └─base::withCallingHandlers(...) 12. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 13. └─testthat::expect_equal(build_operation(op), "cdo ymonsub [ 'file2.nc' 'file.nc' ] {{output}}") ── Failure ('test-test-build-operation.R:21:3'): parameters work ─────────────── build_operation(op) (`actual`) not equal to "cdo sellonlatbox,0,360,-90,0 [ 'file.nc' ] {{output}}" (`expected`). actual vs expected - "cdo sellonlatbox,0,360,-90,0 [ \"d:\\RCompile\\CRANincoming\\R-devel\\rcdo.Rcheck\\tests\\testthat\\file.nc\" ] {{output}}" + "cdo sellonlatbox,0,360,-90,0 [ 'file.nc' ] {{output}}" Backtrace: ▆ 1. ├─testthat::expect_warning(expect_equal(build_operation(op), "cdo sellonlatbox,0,360,-90,0 [ 'file.nc' ] {{output}}")) at test-test-build-operation.R:21: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. └─testthat::expect_equal(build_operation(op), "cdo sellonlatbox,0,360,-90,0 [ 'file.nc' ] {{output}}") ── Failure ('test-test-build-operation.R:28:3'): chaining ────────────────────── build_operation(op) (`actual`) not equal to "cdo ymonsub [ 'file2.nc' -ymonmean [ 'file.nc' ] ] {{output}}" (`expected`). actual vs expected - "cdo ymonsub [ \"d:\\RCompile\\CRANincoming\\R-devel\\rcdo.Rcheck\\tests\\testthat\\file2.nc\" -ymonmean [ \"d:\\RCompile\\CRANincoming\\R-devel\\rcdo.Rcheck\\tests\\testthat\\file.nc\" ] ] {{output}}" + "cdo ymonsub [ 'file2.nc' -ymonmean [ 'file.nc' ] ] {{output}}" Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-test-build-operation.R:28: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. ├─testthat::expect_warning(expect_equal(build_operation(op), "cdo ymonsub [ 'file2.nc' -ymonmean [ 'file.nc' ] ] {{output}}")) 8. │ └─testthat:::expect_condition_matching(...) 9. │ └─testthat:::quasi_capture(...) 10. │ ├─testthat (local) .capture(...) 11. │ │ └─base::withCallingHandlers(...) 12. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 13. └─testthat::expect_equal(build_operation(op), "cdo ymonsub [ 'file2.nc' -ymonmean [ 'file.nc' ] ] {{output}}") ── Failure ('test-test-build-operation.R:38:3'): options work ────────────────── build_operation(op_option) (`actual`) not equal to "cdo -L -f ymonmax [ 'file.nc' ] {{output}}" (`expected`). actual vs expected - "cdo -L -f ymonmax [ \"d:\\RCompile\\CRANincoming\\R-devel\\rcdo.Rcheck\\tests\\testthat\\file.nc\" ] {{output}}" + "cdo -L -f ymonmax [ 'file.nc' ] {{output}}" Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-test-build-operation.R:38: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. └─testthat::expect_equal(build_operation(op_option), "cdo -L -f ymonmax [ 'file.nc' ] {{output}}") ── Failure ('test-test-build-operation.R:42:3'): options work ────────────────── build_operation(op) (`actual`) not equal to "cdo -O ymonmax [ 'file.nc' ] {{output}}" (`expected`). actual vs expected - "cdo -O ymonmax [ \"d:\\RCompile\\CRANincoming\\R-devel\\rcdo.Rcheck\\tests\\testthat\\file.nc\" ] {{output}}" + "cdo -O ymonmax [ 'file.nc' ] {{output}}" Backtrace: ▆ 1. ├─testthat::expect_warning(expect_equal(build_operation(op), "cdo -O ymonmax [ 'file.nc' ] {{output}}")) at test-test-build-operation.R:42: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. └─testthat::expect_equal(build_operation(op), "cdo -O ymonmax [ 'file.nc' ] {{output}}") ── Failure ('test-test-build-operation.R:44:3'): options work ────────────────── build_operation(op_option) (`actual`) not equal to "cdo -L -f -O ymonmax [ 'file.nc' ] {{output}}" (`expected`). actual vs expected - "cdo -L -f -O ymonmax [ \"d:\\RCompile\\CRANincoming\\R-devel\\rcdo.Rcheck\\tests\\testthat\\file.nc\" ] {{output}}" + "cdo -L -f -O ymonmax [ 'file.nc' ] {{output}}" Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-test-build-operation.R:44: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. └─testthat::expect_equal(build_operation(op_option), "cdo -L -f -O ymonmax [ 'file.nc' ] {{output}}") ── Failure ('test-test-build-operation.R:46:3'): options work ────────────────── build_operation(op_option, options_replace = TRUE) (`actual`) not equal to "cdo ymonmax [ 'file.nc' ] {{output}}" (`expected`). actual vs expected - "cdo ymonmax [ \"d:\\RCompile\\CRANincoming\\R-devel\\rcdo.Rcheck\\tests\\testthat\\file.nc\" ] {{output}}" + "cdo ymonmax [ 'file.nc' ] {{output}}" Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-test-build-operation.R:46: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. └─testthat::expect_equal(...) ── Failure ('test-test-build-operation.R:48:3'): options work ────────────────── build_operation(op_option, options = "-L", options_replace = TRUE) (`actual`) not equal to "cdo -L ymonmax [ 'file.nc' ] {{output}}" (`expected`). actual vs expected - "cdo -L ymonmax [ \"d:\\RCompile\\CRANincoming\\R-devel\\rcdo.Rcheck\\tests\\testthat\\file.nc\" ] {{output}}" + "cdo -L ymonmax [ 'file.nc' ] {{output}}" Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-test-build-operation.R:48: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. └─testthat::expect_equal(...) ── Failure ('test-test-build-operation.R:57:3'): setting ouput works ─────────── build_operation(op) (`actual`) not equal to "cdo ymonmax [ 'file.nc' ] out.nc" (`expected`). actual vs expected - "cdo ymonmax [ \"d:\\RCompile\\CRANincoming\\R-devel\\rcdo.Rcheck\\tests\\testthat\\file.nc\" ] out.nc" + "cdo ymonmax [ 'file.nc' ] out.nc" Backtrace: ▆ 1. ├─testthat::expect_warning(expect_equal(build_operation(op), "cdo ymonmax [ 'file.nc' ] out.nc")) at test-test-build-operation.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. └─testthat::expect_equal(build_operation(op), "cdo ymonmax [ 'file.nc' ] out.nc") [ FAIL 10 | WARN 0 | SKIP 0 | PASS 22 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [34s] OK * checking HTML version of manual ... [41s] OK * DONE Status: 1 ERROR