R Under development (unstable) (2023-10-06 r85276 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > 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 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 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. Resampling as number of points on q function = 101 is not a multiple of times = 2. [ FAIL 0 | WARN 0 | SKIP 4 | PASS 127 ] ══ 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' [ FAIL 0 | WARN 0 | SKIP 4 | PASS 127 ] No snapshots to update > > > proc.time() user system elapsed 40.01 4.59 44.57