R Under development (unstable) (2024-01-24 r85824 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > #+++ call testthat unit tests in directory inst\tests +++ > #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > if (require("testthat", quietly = TRUE)) { + pkg <- "REddyProc" + #library(pkg, character.only = TRUE) + #test_package(pkg) + test_check(pkg) + if (testthat:::on_cran()) { + # delete the tmpdir()/REddyProdExamples to avoid note on detritus in the temp directory + # do not delete it outside cran, to avoid downloading several times + unlink(getREddyProcExampleDir(), recursive=TRUE) + } + } else { + warning("cannot run unit tests -- package testthat is not available") + } Loading required package: REddyProc [ FAIL 0 | WARN 22 | SKIP 37 | PASS 344 ] ══ Skipped tests (37) ══════════════════════════════════════════════════════════ • On CRAN (25): 'test_UStarFilter.R:138:3', 'test_UStarFilter.R:155:3', 'test_gapfilling.R:93:3', 'test_gapfilling.R:168:3', 'test_getExamplePath.R:9:3', 'test_getExamplePath.R:31:3', 'test_partGL.R:593:3', 'test_partGL.R:642:3', 'test_partGL.R:710:3', 'test_partGL.R:753:3', 'test_partGL.R:923:3', 'test_partGL.R:993:3', 'test_partGL.R:1065:3', 'test_plotFingerprint.R:49:3', 'test_plotFingerprint.R:54:3', 'test_plotFingerprint.R:59:3', 'test_plotFingerprint.R:88:3', 'test_plotFingerprint.R:96:3', 'test_sEddyProc.R:132:3', 'test_sEddyProc.R:149:3', 'test_sEddyProc.R:184:3', 'test_sEddyProc.R:229:3', 'test_sEddyProc.R:243:3', 'test_uStarProc.R:25:3', 'test_uStarProc.R:59:3' • cannot repoduce SmoothTempSens failing (1): 'test_partGL.R:979:3' • empty test (9): 'test_checkval.R:6:1', 'test_checkval.R:25:1', 'test_checkval.R:30:1', 'test_plotFingerprint.R:22:1', 'test_plotFingerprint.R:26:1', 'test_plotFingerprint.R:34:1', 'test_plotFingerprint.R:38:1', 'test_plotFingerprint.R:42:1', 'test_plotFingerprint.R:103:1' • only interactively test issue #34 (1): 'test_partGL.R:1046:3' • testing exporting (after filling) QC of several uStar thresholds takes too long (1): 'test_FileHandlingFormats.R:43:3' [ FAIL 0 | WARN 22 | SKIP 37 | PASS 344 ] > > > proc.time() user system elapsed 132.95 22.67 145.09