CRAN Package Check Results for Package trendeval

Last updated on 2025-04-04 05:53:30 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 11.56 89.93 101.49 NOTE
r-devel-linux-x86_64-debian-gcc 0.1.0 7.21 63.66 70.87 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 160.73 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.0 149.30 ERROR
r-devel-macos-arm64 0.1.0 53.00 OK
r-devel-macos-x86_64 0.1.0 82.00 OK
r-devel-windows-x86_64 0.1.0 12.00 86.00 98.00 ERROR
r-patched-linux-x86_64 0.1.0 10.88 86.41 97.29 NOTE
r-release-linux-x86_64 0.1.0 8.52 83.67 92.19 OK
r-release-macos-arm64 0.1.0 45.00 OK
r-release-macos-x86_64 0.1.0 71.00 OK
r-release-windows-x86_64 0.1.0 11.00 91.00 102.00 OK
r-oldrel-macos-arm64 0.1.0 OK
r-oldrel-macos-x86_64 0.1.0 81.00 OK
r-oldrel-windows-x86_64 0.1.0 14.00 115.00 129.00 OK

Additional issues

M1mac

Check Details

Version: 0.1.0
Check: Rd cross-references
Result: NOTE Found the following Rd file(s) with Rd \link{} targets missing package anchors: calculate_mae.Rd: trending_model calculate_rmse.Rd: trending_model calculate_rsq.Rd: trending_model Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64

Version: 0.1.0
Check: examples
Result: ERROR Running examples in ‘trendeval-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: evaluate_resampling > ### Title: Resampling approach for model evaluation > ### Aliases: evaluate_resampling evaluate_resampling.default > ### evaluate_resampling.trending_model evaluate_resampling.list > > ### ** Examples > > x <- rnorm(100, mean = 0) > y <- rpois(n = 100, lambda = exp(x + 1)) > dat <- data.frame(x = x, y = y) > model <- trending::glm_model(y ~ x, poisson) > models <- list( + poisson_model = trending::glm_model(y ~ x, poisson), + linear_model = trending::lm_model(y ~ x) + ) > > evaluate_resampling(model, dat) Error in `rsample::vfold_cv()`: ! Leave-one-out cross-validation is not supported by this function. ✖ You set `v` to `nrow(data)`, which would result in a leave-one-out cross-validation. ℹ Use `loo_cv()` in this case. Backtrace: ▆ 1. ├─trendeval::evaluate_resampling(model, dat) 2. └─trendeval:::evaluate_resampling.trending_model(model, dat) 3. └─rsample::vfold_cv(data, v = v, repeats = repeats) 4. └─rsample:::vfold_splits(...) 5. └─rsample:::check_v(v, n, prevent_loo = prevent_loo, call = rlang::caller_env()) 6. └─cli::cli_abort(...) 7. └─rlang::abort(...) Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.0
Check: examples
Result: ERROR Running examples in ‘trendeval-Ex.R’ failed The error most likely occurred in: > ### Name: evaluate_resampling > ### Title: Resampling approach for model evaluation > ### Aliases: evaluate_resampling evaluate_resampling.default > ### evaluate_resampling.trending_model evaluate_resampling.list > > ### ** Examples > > x <- rnorm(100, mean = 0) > y <- rpois(n = 100, lambda = exp(x + 1)) > dat <- data.frame(x = x, y = y) > model <- trending::glm_model(y ~ x, poisson) > models <- list( + poisson_model = trending::glm_model(y ~ x, poisson), + linear_model = trending::lm_model(y ~ x) + ) > > evaluate_resampling(model, dat) Error in `rsample::vfold_cv()`: ! Leave-one-out cross-validation is not supported by this function. ✖ You set `v` to `nrow(data)`, which would result in a leave-one-out cross-validation. ℹ Use `loo_cv()` in this case. Backtrace: ▆ 1. ├─trendeval::evaluate_resampling(model, dat) 2. └─trendeval:::evaluate_resampling.trending_model(model, dat) 3. └─rsample::vfold_cv(data, v = v, repeats = repeats) 4. └─rsample:::vfold_splits(...) 5. └─rsample:::check_v(v, n, prevent_loo = prevent_loo, call = rlang::caller_env()) 6. └─cli::cli_abort(...) 7. └─rlang::abort(...) Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64