Last updated on 2024-11-13 20:49:19 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.0 | 4.49 | 39.77 | 44.26 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.0.0 | 3.21 | 30.61 | 33.82 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.0.0 | 67.90 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.0.0 | 62.70 | OK | |||
r-devel-windows-x86_64 | 1.0.0 | 6.00 | 56.00 | 62.00 | OK | |
r-patched-linux-x86_64 | 1.0.0 | 4.41 | 36.46 | 40.87 | OK | |
r-release-linux-x86_64 | 1.0.0 | 3.76 | 37.19 | 40.95 | OK | |
r-release-macos-arm64 | 1.0.0 | 25.00 | OK | |||
r-release-macos-x86_64 | 1.0.0 | 35.00 | OK | |||
r-release-windows-x86_64 | 1.0.0 | 5.00 | 57.00 | 62.00 | OK | |
r-oldrel-macos-arm64 | 1.0.0 | 27.00 | OK | |||
r-oldrel-macos-x86_64 | 1.0.0 | 59.00 | OK | |||
r-oldrel-windows-x86_64 | 1.0.0 | 7.00 | 64.00 | 71.00 | OK |
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-gcc