Last updated on 2024-11-15 19:49:46 CET.
Package | ERROR | NOTE | OK |
---|---|---|---|
intRvals | 10 | 3 | |
suntools | 2 | 11 |
Current CRAN status: NOTE: 10, OK: 3
Version: 1.0.1
Check: Rd files
Result: NOTE
checkRd: (-1) intRvals-package.Rd:60: Lost braces
60 | B\'{e}dard, J. & Gauthier, G. 1986. Assessment of faecal output in geese. Journal of Applied Ecology, 23, 77-90.
| ^
checkRd: (-1) partition.Rd:64: Lost braces
64 | Bates, D., M\"{a}chler, M., Bolker, B.M. & Walker, S.C. (2015). Fitting linear mixed-effects models using lme4. Journal of Statistical Software, 67, 1-48.
| ^
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
Current CRAN status: ERROR: 2, OK: 11
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/3s]
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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(suntools)
>
> test_check("suntools")
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 1 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-sun-methods.R:10:3'): crepuscule() calculates Astronomical dawn ──
crepuscule(...) (`actual`) not equal to structure(...) (`expected`).
actual vs expected
day_frac
- actual[1, ] 0.1928667
+ expected[1, ] 0.2762000
`actual$day_frac`: 0.193
`expected$day_frac`: 0.276
── Failure ('test-sun-methods.R:35:3'): crepuscule() can calculate Nautical dawn ──
crepuscule(...) (`actual`) not equal to structure(...) (`expected`).
actual vs expected
day_frac
- actual[1, ] 0.2288488
+ expected[1, ] 0.3121822
`actual$day_frac`: 0.229
`expected$day_frac`: 0.312
── Failure ('test-sun-methods.R:53:3'): crepescule() can calulate Civil dawn ───
crepuscule(Hels, d041224, solarDep = 6, direction = "dawn", POSIXct.out = TRUE) (`actual`) not equal to structure(...) (`expected`).
actual vs expected
day_frac
- actual[1, ] 0.2685915
+ expected[1, ] 0.3519249
`actual$day_frac`: 0.269
`expected$day_frac`: 0.352
── Failure ('test-sun-methods.R:71:3'): sunriset() can calculate the sunrise ───
sunriset(hels, d041224, direction = "sunrise", POSIXct.out = TRUE) (`actual`) not equal to structure(...) (`expected`).
actual vs expected
day_frac
- actual[1, ] 0.3090916
+ expected[1, ] 0.3924249
`actual$day_frac`: 0.309
`expected$day_frac`: 0.392
── Failure ('test-sun-methods.R:89:3'): solarnoon() can calculate the solar noon ──
solarnoon(Hels, d041224, POSIXct.out = TRUE) (`actual`) not equal to structure(...) (`expected`).
actual vs expected
day_frac
- actual[1, ] 0.4304632
+ expected[1, ] 0.5137966
`actual$day_frac`: 0.430
`expected$day_frac`: 0.514
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 1 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/2s]
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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(suntools)
>
> test_check("suntools")
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 1 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-sun-methods.R:10:3'): crepuscule() calculates Astronomical dawn ──
crepuscule(...) (`actual`) not equal to structure(...) (`expected`).
actual vs expected
day_frac
- actual[1, ] 0.1928667
+ expected[1, ] 0.2762000
`actual$day_frac`: 0.193
`expected$day_frac`: 0.276
── Failure ('test-sun-methods.R:35:3'): crepuscule() can calculate Nautical dawn ──
crepuscule(...) (`actual`) not equal to structure(...) (`expected`).
actual vs expected
day_frac
- actual[1, ] 0.2288488
+ expected[1, ] 0.3121822
`actual$day_frac`: 0.229
`expected$day_frac`: 0.312
── Failure ('test-sun-methods.R:53:3'): crepescule() can calulate Civil dawn ───
crepuscule(Hels, d041224, solarDep = 6, direction = "dawn", POSIXct.out = TRUE) (`actual`) not equal to structure(...) (`expected`).
actual vs expected
day_frac
- actual[1, ] 0.2685915
+ expected[1, ] 0.3519249
`actual$day_frac`: 0.269
`expected$day_frac`: 0.352
── Failure ('test-sun-methods.R:71:3'): sunriset() can calculate the sunrise ───
sunriset(hels, d041224, direction = "sunrise", POSIXct.out = TRUE) (`actual`) not equal to structure(...) (`expected`).
actual vs expected
day_frac
- actual[1, ] 0.3090916
+ expected[1, ] 0.3924249
`actual$day_frac`: 0.309
`expected$day_frac`: 0.392
── Failure ('test-sun-methods.R:89:3'): solarnoon() can calculate the solar noon ──
solarnoon(Hels, d041224, POSIXct.out = TRUE) (`actual`) not equal to structure(...) (`expected`).
actual vs expected
day_frac
- actual[1, ] 0.4304632
+ expected[1, ] 0.5137966
`actual$day_frac`: 0.430
`expected$day_frac`: 0.514
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 1 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc