CRAN Package Check Results for Package veesa

Last updated on 2026-09-17 17:51:00 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.7 7.00 118.72 125.72 OK
r-devel-linux-x86_64-debian-gcc 0.1.7 5.22 85.55 90.77 OK
r-devel-linux-x86_64-fedora-clang 0.1.7 52.33 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.7 5.00 45.09 50.09 ERROR
r-devel-windows-x86_64 0.1.7 10.00 146.00 156.00 OK
r-patched-linux-x86_64 0.1.7 7.85 115.62 123.47 OK
r-release-linux-x86_64 0.1.7 6.93 113.44 120.37 OK
r-release-macos-arm64 0.1.7 2.00 35.00 37.00 OK
r-release-macos-x86_64 0.1.7 5.00 135.00 140.00 OK
r-release-windows-x86_64 0.1.7 11.00 140.00 151.00 OK
r-oldrel-macos-arm64 0.1.7 1.00 67.00 68.00 OK
r-oldrel-macos-x86_64 0.1.7 5.00 144.00 149.00 OK
r-oldrel-windows-x86_64 0.1.7 13.00 181.00 194.00 OK

Check Details

Version: 0.1.7
Check: examples
Result: ERROR Running examples in ‘veesa-Ex.R’ failed The error most likely occurred in: > ### Name: compute_pfi > ### Title: Compute permutation feature importance (PFI) > ### Aliases: compute_pfi > > ### ** Examples > > # Load packages > library(dplyr) Attaching package: ‘dplyr’ The following objects are masked from ‘package:stats’: filter, lag The following objects are masked from ‘package:base’: intersect, setdiff, setequal, union > library(tidyr) > library(randomForest) randomForest 4.7-1.2 Type rfNews() to see new features/changes/bug fixes. Attaching package: ‘randomForest’ The following object is masked from ‘package:dplyr’: combine > > # Select a subset of functions from shifted peaks data > sub_ids <- + shifted_peaks$data |> + select(data, group, id) |> + distinct() |> + group_by(data, group) |> + slice(1:4) |> + ungroup() > > # Create a smaller version of shifted data > shifted_peaks_sub <- + shifted_peaks$data |> + filter(id %in% sub_ids$id) > > # Extract times > shifted_peaks_times = unique(shifted_peaks_sub$t) > > # Convert training data to matrix > shifted_peaks_train_matrix <- + shifted_peaks_sub |> + filter(data == "Training") |> + select(-t) |> + mutate(index = paste0("t", index)) |> + pivot_wider(names_from = index, values_from = y) |> + select(-data, -id, -group) |> + as.matrix() |> + t() > > # Obtain veesa pipeline training data > veesa_train <- + prep_training_data( + f = shifted_peaks_train_matrix, + time = shifted_peaks_times, + fpca_method = "jfpca" + ) Error in `fdasrvf::time_warping()`: ! `penalty_method` must be one of "roughness", "l2gam", "l2psi", "geodesic", "none", or "norm", not "roughness". Backtrace: ▆ 1. └─veesa::prep_training_data(...) 2. └─fdasrvf::time_warping(penalty_method = penalty_method) 3. ├─fdasrvf:::penalty_alias(rlang::arg_match(penalty_method)) 4. └─rlang::arg_match(penalty_method) 5. └─rlang::abort(msg, call = error_call, arg = error_arg) Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.1.7
Check: tests
Result: ERROR Running ‘testthat.R’ 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(veesa) > > test_check("veesa") randomForest 4.7-1.2 Type rfNews() to see new features/changes/bug fixes. Attaching package: 'dplyr' The following object is masked from 'package:randomForest': combine The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Saving _problems/test-prep_testing_data-10.R Saving _problems/test-prep_training_data-11.R Saving _problems/test-prep_training_data-20.R Saving _problems/test-prep_training_data-33.R Saving _problems/test-prep_training_data-49.R [ FAIL 5 | WARN 0 | SKIP 0 | PASS 16 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-prep_testing_data.R:10:1'): (code run outside of `test_that()`) ── Error in `fdasrvf::time_warping(f = f, time = time, lambda = lambda, penalty_method = penalty_method, centroid_type = centroid_type, center_warpings = center_warpings, parallel = parallel, cores = cores, optim_method = optim_method, max_iter = max_iter)`: `penalty_method` must be one of "roughness", "l2gam", "l2psi", "geodesic", "none", or "norm", not "roughness". Backtrace: ▆ 1. └─veesa::prep_training_data(mock_f, mock_time, "jfpca") at test-prep_testing_data.R:10:1 2. └─fdasrvf::time_warping(penalty_method = penalty_method) 3. ├─fdasrvf:::penalty_alias(rlang::arg_match(penalty_method)) 4. └─rlang::arg_match(penalty_method) 5. └─rlang::abort(msg, call = error_call, arg = error_arg) ── Error ('test-prep_training_data.R:11:3'): Output structure is correct ─────── Error in `fdasrvf::time_warping(f = f, time = time, lambda = lambda, penalty_method = penalty_method, centroid_type = centroid_type, center_warpings = center_warpings, parallel = parallel, cores = cores, optim_method = optim_method, max_iter = max_iter)`: `penalty_method` must be one of "roughness", "l2gam", "l2psi", "geodesic", "none", or "norm", not "roughness". Backtrace: ▆ 1. └─veesa::prep_training_data(mock_f, mock_time, "jfpca") at test-prep_training_data.R:11:3 2. └─fdasrvf::time_warping(penalty_method = penalty_method) 3. ├─fdasrvf:::penalty_alias(rlang::arg_match(penalty_method)) 4. └─rlang::arg_match(penalty_method) 5. └─rlang::abort(msg, call = error_call, arg = error_arg) ── Error ('test-prep_training_data.R:20:3'): Function handles different fpca methods ── Error in `fdasrvf::time_warping(f = f, time = time, lambda = lambda, penalty_method = penalty_method, centroid_type = centroid_type, center_warpings = center_warpings, parallel = parallel, cores = cores, optim_method = optim_method, max_iter = max_iter)`: `penalty_method` must be one of "roughness", "l2gam", "l2psi", "geodesic", "none", or "norm", not "roughness". Backtrace: ▆ 1. └─veesa::prep_training_data(mock_f, mock_time, fpca_method = "jfpca") at test-prep_training_data.R:20:3 2. └─fdasrvf::time_warping(penalty_method = penalty_method) 3. ├─fdasrvf:::penalty_alias(rlang::arg_match(penalty_method)) 4. └─rlang::arg_match(penalty_method) 5. └─rlang::abort(msg, call = error_call, arg = error_arg) ── Error ('test-prep_training_data.R:30:3'): Function throws error with incorrect fpca_method ── Error in `fdasrvf::time_warping(f = f, time = time, lambda = lambda, penalty_method = penalty_method, centroid_type = centroid_type, center_warpings = center_warpings, parallel = parallel, cores = cores, optim_method = optim_method, max_iter = max_iter)`: `penalty_method` must be one of "roughness", "l2gam", "l2psi", "geodesic", "none", or "norm", not "roughness". Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-prep_training_data.R:30:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─veesa::prep_training_data(mock_f, mock_time, fpca_method = "invalid_method") 8. └─fdasrvf::time_warping(penalty_method = penalty_method) 9. ├─fdasrvf:::penalty_alias(rlang::arg_match(penalty_method)) 10. └─rlang::arg_match(penalty_method) 11. └─rlang::abort(msg, call = error_call, arg = error_arg) ── Error ('test-prep_training_data.R:49:3'): Default values for optional parameters are set correctly ── Error in `fdasrvf::time_warping(f = f, time = time, lambda = lambda, penalty_method = penalty_method, centroid_type = centroid_type, center_warpings = center_warpings, parallel = parallel, cores = cores, optim_method = optim_method, max_iter = max_iter)`: `penalty_method` must be one of "roughness", "l2gam", "l2psi", "geodesic", "none", or "norm", not "roughness". Backtrace: ▆ 1. └─veesa::prep_training_data(mock_f, mock_time, fpca_method = "jfpca") at test-prep_training_data.R:49:3 2. └─fdasrvf::time_warping(penalty_method = penalty_method) 3. ├─fdasrvf:::penalty_alias(rlang::arg_match(penalty_method)) 4. └─rlang::arg_match(penalty_method) 5. └─rlang::abort(msg, call = error_call, arg = error_arg) [ FAIL 5 | WARN 0 | SKIP 0 | PASS 16 ] Error: ! Test failures. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc