CRAN Package Check Results for Package suntools

Last updated on 2024-11-22 03:52:53 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 4.46 39.54 44.00 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.1 3.13 29.29 32.42 OK
r-devel-linux-x86_64-fedora-clang 1.0.1 68.70 OK
r-devel-linux-x86_64-fedora-gcc 1.0.1 65.40 OK
r-devel-windows-x86_64 1.0.1 7.00 68.00 75.00 OK
r-patched-linux-x86_64 1.0.0 4.53 37.40 41.93 ERROR
r-release-linux-x86_64 1.0.0 3.76 37.19 40.95 OK
r-release-macos-arm64 1.0.1 27.00 OK
r-release-macos-x86_64 1.0.1 43.00 OK
r-release-windows-x86_64 1.0.1 6.00 57.00 63.00 OK
r-oldrel-macos-arm64 1.0.1 28.00 OK
r-oldrel-macos-x86_64 1.0.1 41.00 OK
r-oldrel-windows-x86_64 1.0.1 6.00 60.00 66.00 OK

Check Details

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 Flavors: r-devel-linux-x86_64-debian-clang, r-patched-linux-x86_64