Description
Provides a consistent interface to use various methods to calculate the periodogram and estimate the period of a rhythmic time-course. Methods include Lomb-Scargle, fast Fourier transform, and three versions of the chi-square periodogram. See Tackenberg and Hughey (2021) <doi:10.1371/journal.pcbi.1008567>.
Downloads
247
Last 30 days
18059th
710
Last 90 days
2.9K
Last year
Trend: +0.8% (30d vs prior 30d)
CRAN Check Status
2
ERROR
12
OK
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | ERROR |
| r-devel-windows-x86_64 | ERROR |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (2 non-OK)
ERROR
r-devel-macos-arm64
tests
Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(spectr)
>
> test_check('spectr')
Saving _problems/test_pgram-15.R
Saving _problems/test_pgram-24.R
Saving _problems/test_pgram-33.R
Saving _problems/test_pgram-41.R
Saving _problems/test_pgram-49.R
Saving _problems/test_spectr-15.R
Saving _problems/test_spectr-24.R
Saving _problems/test_spectr-33.R
Saving _problems/test_spectr-42.R
Saving _problems/test_spectr-51.R
[ FAIL 10 | WARN 0 | SKIP 0 | PASS 3 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_pgram.R:15:3'): CSP greedy ─────────────────────────────────────
Error in `dyn.load(file, DLLpath = DLLpath, ...)`: unable to load shared object '/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/qs/libs/qs.so':
dlopen(/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/qs/libs/qs.so, 0x0006): Symbol not found: _SET_CLOENV
Referen
...[truncated]...
t_spectr.R:42:3
2. └─base::library.dynam(lib, package, package.lib)
3. └─base::dyn.load(file, DLLpath = DLLpath, ...)
── Error ('test_spectr.R:51:3'): spectr FFT ────────────────────────────────────
Error in `dyn.load(file, DLLpath = DLLpath, ...)`: unable to load shared object '/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/qs/libs/qs.so':
dlopen(/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/qs/libs/qs.so, 0x0006): Symbol not found: _SET_CLOENV
Referenced from: <AA665871-E63C-349E-A381-34F936D898C9> /Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/qs/libs/qs.so
Expected in: <7D8EC208-B127-3C2C-AA52-D176E9D2B2D9> /Library/Frameworks/R.framework/Versions/4.6/Resources/lib/libR.dylib
Backtrace:
▆
1. └─base::loadNamespace(x) at test_spectr.R:51:3
2. └─base::library.dynam(lib, package, package.lib)
3. └─base::dyn.load(file, DLLpath = DLLpath, ...)
[ FAIL 10 | WARN 0 | SKIP 0 | PASS 3 ]
Error:
! Test failures.
Execution halted
ERROR
r-devel-windows-x86_64
tests
Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(spectr)
>
> test_check('spectr')
Saving _problems/test_pgram-15.R
Saving _problems/test_pgram-24.R
Saving _problems/test_pgram-33.R
Saving _problems/test_pgram-41.R
Saving _problems/test_pgram-49.R
Saving _problems/test_spectr-15.R
Saving _problems/test_spectr-24.R
Saving _problems/test_spectr-33.R
Saving _problems/test_spectr-42.R
Saving _problems/test_spectr-51.R
[ FAIL 10 | WARN 0 | SKIP 0 | PASS 3 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_pgram.R:15:3'): CSP greedy ─────────────────────────────────────
Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.6/qs/libs/x64/qs.dll':
LoadLibrary failure: Die angegebene Prozedur wurde nicht gefunden.
Backtrace:
▆
1. └─base::loadNamespace(x) at
...[truncated]...
.dll':
LoadLibrary failure: Die angegebene Prozedur wurde nicht gefunden.
Backtrace:
▆
1. └─base::loadNamespace(x) at test_spectr.R:42:3
2. └─base::library.dynam(lib, package, package.lib)
3. └─base::dyn.load(file, DLLpath = DLLpath, ...)
4. └─base (local) inDL(x, as.logical(local), as.logical(now), ...)
── Error ('test_spectr.R:51:3'): spectr FFT ────────────────────────────────────
Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.6/qs/libs/x64/qs.dll':
LoadLibrary failure: Die angegebene Prozedur wurde nicht gefunden.
Backtrace:
▆
1. └─base::loadNamespace(x) at test_spectr.R:51:3
2. └─base::library.dynam(lib, package, package.lib)
3. └─base::dyn.load(file, DLLpath = DLLpath, ...)
4. └─base (local) inDL(x, as.logical(local), as.logical(now), ...)
[ FAIL 10 | WARN 0 | SKIP 0 | PASS 3 ]
Error:
! Test failures.
Execution halted
Check History
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
ERROR
r-devel-windows-x86_64
tests
Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(spectr)
>
> test_check('spectr')
Saving _problems/test_pgram-15.R
Saving _problems/test_pgram-24.R
Saving _problem
...[truncated]...
lib, package, package.lib)
3. └─base::dyn.load(file, DLLpath = DLLpath, ...)
4. └─base (local) inDL(x, as.logical(local), as.logical(now), ...)
[ FAIL 10 | WARN 0 | SKIP 0 | PASS 3 ]
Error:
! Test failures.
Execution halted
Dependency Network
Version History
new
1.0.1
Mar 10, 2026