- using R version 4.2.0 (2022-04-22)
- using platform: x86_64-apple-darwin17.0 (64-bit)
- using session charset: UTF-8
- checking for file ‘airGRteaching/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘airGRteaching’ version ‘0.2.13’
- 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 ‘airGRteaching’ can be installed ... [4s/4s] 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 R 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 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 ... [1s/1s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [4s/4s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [2s/2s] ERROR
Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
Error in `SimGR(PrepGR = PrepTotNA, Param = c(270.426, 0.984, 108.853,
2.149), EffCrit = "KGE2", WupPer = c("1994-01-01", "1994-12-31"),
SimPer = c("1995-01-01", "1998-12-31"))`: Non convenient date for the warm-up period "WupPer"
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test-SimGR.R:28:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
3. │ ├─testthat .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─airGRteaching::SimGR(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 3 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking running R code from vignettes ... [0s/0s] NONE
‘get_started.rmd’ using ‘UTF-8’... [0s/0s] OK
- checking re-building of vignette outputs ... [4s/9s] OK
- checking PDF version of manual ... OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '