CRAN Package Check Results for Maintainer ‘J. Derek Tucker <jdtuck at sandia.gov>’

Last updated on 2024-05-02 01:57:39 CEST.

Package ERROR NOTE OK
fdasrvf 1 4 8
stpphawkes 3 9

Package fdasrvf

Current CRAN status: ERROR: 1, NOTE: 4, OK: 8

Version: 2.2.0
Check: examples
Result: ERROR Running examples in 'fdasrvf-Ex.R' failed The error most likely occurred in: > ### Name: pair_align_functions_bayes > ### Title: Align two functions > ### Aliases: pair_align_functions_bayes > ### Keywords: bayesian > > ### ** Examples > > out <- pair_align_functions_bayes( + f1 = simu_data$f[, 1], + f2 = simu_data$f[, 2], + timet = simu_data$time + ) Resampling as number of points on q function = 101 is not a multiple of times = 5. Error in .Call("dpcode", PACKAGE = "fdasrvf", q1, q1L, q2L, times, cut) : "dpcode" not available for .Call() for package "fdasrvf" Calls: pair_align_functions_bayes -> dpcode Execution halted Flavor: r-devel-windows-x86_64

Version: 2.2.0
Check: tests
Result: ERROR Running 'testthat.R' [15s] Running the tests in 'tests/testthat.R' failed. Complete output: > if (requireNamespace("testthat", quietly = TRUE)){ + library(fdasrvf) + + testthat::test_check("fdasrvf") + testthat::snapshot_accept(files = NULL, path = "testthat") + } else{ + stop("Need testthat to run checks") + } i Initializing... i Aligning 21 functions in SRVF space to 3 fPCA components... i Starting iteration 1... i Starting iteration 2... i Starting iteration 3... i Starting iteration 4... i Starting iteration 5... [1] 0.15604919 0.06564122 0.03321528 0.03182538 0.00000000 0.00000000 [7] 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 [13] 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 [19] 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 [25] 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 [31] 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 [37] 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 [43] 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 [49] 0.00000000 0.00000000 0.00000000 i Using lambda = 0 i Initializing... i Computing Karcher mean of 21 functions in SRSF space... i Entering iteration 1... ! The argument `x` is of class <fdawarp> but has not been computed using the median as centroid type. i Rerunning `time_warping()` with `centroid_type = "median"`... i Using lambda = 0 i Initializing... i Computing Karcher median of 21 functions in SRSF space... i Entering iteration 1... ! The argument `x` is of class <fdawarp> but has not been computed using the median as centroid type. i Rerunning `time_warping()` with `centroid_type = "median"`... i Using lambda = 0 i Initializing... i Computing Karcher median of 21 functions in SRSF space... i Entering iteration 1... i Using lambda = 0 i Initializing... i Computing Karcher mean of 21 functions in SRSF space... i Entering iteration 1... ! The maximal number of iterations has been reached. [ FAIL 7 | WARN 0 | SKIP 4 | PASS 79 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-align-fpca.R:21:3', 'test-boxplot.R:36:3', 'test-kmeans.R:25:3', 'test-time-warping.R:30:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_pair_align_functions_bayes.R:6:3'): Verify pair_align_functions_bayes() works as intended ── Error in `.Call("dpcode", PACKAGE = "fdasrvf", q1, q1L, q2L, times, cut)`: "dpcode" not available for .Call() for package "fdasrvf" Backtrace: ▆ 1. └─fdasrvf::pair_align_functions_bayes(...) at test_pair_align_functions_bayes.R:6:3 2. └─fdasrvf:::dpcode(qt1_5[row], qt1_5, qt2_5, times, cut) ── Error ('test_pair_align_functions_expomap.R:10:3'): Verify pair_align_functions_expomap() works as intended ── Error in `.Call("order_l2norm", PACKAGE = "fdasrvf", x, y)`: "order_l2norm" not available for .Call() for package "fdasrvf" Backtrace: ▆ 1. └─fdasrvf::pair_align_functions_expomap(...) at test_pair_align_functions_expomap.R:10:3 2. └─fdasrvf:::f.exp1(...) 3. ├─fdasrvf:::calcY(f.L2norm(g), g$y) 4. └─fdasrvf:::f.L2norm(g) 5. └─fdasrvf:::order_l2norm(f$x, f$y) ── Error ('test_pair_align_functions_expomap.R:59:3'): Verify init.coef arguments work correctly ── Error in `.Call("order_l2norm", PACKAGE = "fdasrvf", x, y)`: "order_l2norm" not available for .Call() for package "fdasrvf" Backtrace: ▆ 1. └─fdasrvf::pair_align_functions_expomap(...) at test_pair_align_functions_expomap.R:59:3 2. └─fdasrvf:::f.exp1(...) 3. ├─fdasrvf:::calcY(f.L2norm(g), g$y) 4. └─fdasrvf:::f.L2norm(g) 5. └─fdasrvf:::order_l2norm(f$x, f$y) ── Error ('test_pair_align_functions_expomap.R:91:3'): Check calcY() works as intended ── Error in `.Call("calcY", PACKAGE = "fdasrvf", area, gy)`: "calcY" not available for .Call() for package "fdasrvf" Backtrace: ▆ 1. ├─testthat::expect_equal(sum(fdasrvf:::calcY(2, 0:2)), 0.1155056305) at test_pair_align_functions_expomap.R:91:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─fdasrvf:::calcY(2, 0:2) ── Error ('test_pair_align_functions_expomap.R:96:3'): Check cuL2norm2() works as intended ── Error in `.Call("cuL2norm2", PACKAGE = "fdasrvf", x, y)`: "cuL2norm2" not available for .Call() for package "fdasrvf" Backtrace: ▆ 1. ├─testthat::expect_equal(prod(fdasrvf:::cuL2norm2(0:2, 1:3)), 22.5) at test_pair_align_functions_expomap.R:96:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─fdasrvf:::cuL2norm2(0:2, 1:3) ── Error ('test_pair_align_functions_expomap.R:102:3'): Check trapzCpp() works as intended ── Error in `.Call("trapzCpp", PACKAGE = "fdasrvf", x, y)`: "trapzCpp" not available for .Call() for package "fdasrvf" Backtrace: ▆ 1. ├─testthat::expect_equal(fdasrvf:::trapzCpp(0:2, 1:3), 4) at test_pair_align_functions_expomap.R:102:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─fdasrvf:::trapzCpp(0:2, 1:3) ── Error ('test_pair_align_functions_expomap.R:108:3'): Check order_l2norm() works as intended ── Error in `.Call("order_l2norm", PACKAGE = "fdasrvf", x, y)`: "order_l2norm" not available for .Call() for package "fdasrvf" Backtrace: ▆ 1. ├─testthat::expect_equal(fdasrvf:::order_l2norm(0:2, 1:3), 3) at test_pair_align_functions_expomap.R:108:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─fdasrvf:::order_l2norm(0:2, 1:3) [ FAIL 7 | WARN 0 | SKIP 4 | PASS 79 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64

Version: 2.2.0
Check: installed package size
Result: NOTE installed size is 7.4Mb sub-directories of 1Mb or more: data 2.3Mb libs 4.4Mb Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Package stpphawkes

Current CRAN status: NOTE: 3, OK: 9

Version: 0.2.1
Check: installed package size
Result: NOTE installed size is 10.4Mb sub-directories of 1Mb or more: libs 10.2Mb Flavors: r-release-macos-arm64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.