Last updated on 2025-05-31 13:50:00 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
circhelp | 1 | 9 | 3 |
Current CRAN status: ERROR: 1, NOTE: 9, OK: 3
Version: 1.1
Check: DESCRIPTION meta-information
Result: NOTE
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘functions.R’
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
Version: 1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [34s/48s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(circhelp)
Loading required package: data.table
Loading required package: ggplot2
> library(circular)
Attaching package: 'circular'
The following objects are masked from 'package:stats':
sd, var
> library(BAMBI)
Attaching package: 'BAMBI'
The following object is masked from 'package:circular':
wind
>
> test_check("circhelp")
[1] "Difference between expected and observed correlation is 0.000024"
[1] "Difference between expected and observed correlation is 0.000167"
[1] "Difference between expected and observed correlation is -0.000000"
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 16 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-functions.R:70:3'): conversion from circular SD to kappa works both ways ──
abs(test_sd_deg - vm_kappa_to_circ_sd_deg(kappa_from_deg)) is not strictly less than `tolerance`. Difference: 3.79e-05
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 16 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang