CRAN Package Check Results for Package NeEDS4BigData

Last updated on 2026-10-24 20:51:03 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 53.88 192.87 246.75 OK
r-devel-linux-x86_64-debian-gcc 1.0.1 39.39 95.02 134.41 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.1 41.00 132.24 173.24 OK
r-devel-linux-x86_64-fedora-gcc 1.0.1 41.00 130.09 171.09 OK
r-devel-windows-x86_64 1.0.1 53.00 223.00 276.00 OK
r-patched-linux-x86_64 1.0.1 46.62 183.20 229.82 OK
r-release-linux-x86_64 1.0.1 48.28 179.45 227.73 OK
r-release-macos-arm64 1.0.1 19.00 51.00 70.00 OK
r-release-macos-x86_64 1.0.1 40.00 238.00 278.00 OK
r-release-windows-x86_64 1.0.1 64.00 209.00 273.00 OK
r-oldrel-macos-arm64 1.0.1 OK
r-oldrel-macos-x86_64 1.0.1 39.00 362.00 401.00 OK
r-oldrel-windows-x86_64 1.0.1 69.00 281.00 350.00 OK

Check Details

Version: 1.0.1
Check: examples
Result: ERROR Running examples in ‘NeEDS4BigData-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: modelMissLinSub > ### Title: Subsampling under linear regression for a potentially > ### misspecified model > ### Aliases: modelMissLinSub > > ### ** Examples > > Beta <- c(-1, 0.75, 0.75, 1); Var_Epsilon <- 0.5; > family <- "linear"; N <- 500 > X_1 <- replicate(2, stats::runif(n = N, min = -1, max = 1)) > > Temp <- Rfast::rowprods(X_1) > Misspecification <- (Temp - mean(Temp)) / sqrt(mean(Temp^2) - mean(Temp)^2) > X_Data <- cbind(X0 = 1, X_1) > > Full_Data <- GenModelMissGLMdata(N, X_Data, Misspecification, Beta, Var_Epsilon, family) > r0 <- 40; rf <- rep(10 * c(8, 12), 25) > Original_Data <- Full_Data$Complete_Data[, -ncol(Full_Data$Complete_Data)] > > Results <- modelMissLinSub(r0 = r0, rf = rf, + Y = as.matrix(Original_Data[, 1]), + X = as.matrix(Original_Data[, -1]), + N = N, Alpha = 10, proportion = 0.5) 50% or >=50% of the big data is used to help find AMSE for the subsamples, this could take some time. Error in a$specials[[i]] : subscript out of bounds Calls: modelMissLinSub ... predict.glm -> predict.lm -> delete.response -> off Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed ALoptimalGLMSub 3.878 0.551 6.044 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.1
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [12s/16s] 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(NeEDS4BigData) > > test_check("NeEDS4BigData") Saving _problems/test-modelMissLinSub-15.R Saving _problems/test-modelMissLogSub-14.R Saving _problems/test-modelMissPoiSub-14.R Saving _problems/test-plot_AMSE-15.R [ FAIL 4 | WARN 0 | SKIP 0 | PASS 283 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-modelMissLinSub.R:12:1'): (code run outside of `test_that()`) ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-modelMissLinSub.R:12:1 2. │ └─base::withCallingHandlers(...) 3. ├─base::suppressWarnings(...) 4. │ └─base::withCallingHandlers(...) 5. └─NeEDS4BigData::modelMissLinSub(...) 6. └─gam::predict.Gam(fit_GAM, newdata = data.frame(X)) 7. └─gam::newdata.predict.Gam(...) 8. └─stats::predict.glm(...) 9. └─stats::predict.lm(...) 10. └─stats::delete.response(tt) 11. └─stats (local) off(a$specials[[i]]) ── Error ('test-modelMissLogSub.R:12:1'): (code run outside of `test_that()`) ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-modelMissLogSub.R:12:1 2. │ └─base::withCallingHandlers(...) 3. ├─base::suppressWarnings(...) 4. │ └─base::withCallingHandlers(...) 5. └─NeEDS4BigData::modelMissLogSub(...) 6. └─gam::predict.Gam(fit_GAM, newdata = data.frame(X)) 7. └─gam::newdata.predict.Gam(...) 8. └─stats::predict.glm(...) 9. └─stats::predict.lm(...) 10. └─stats::delete.response(tt) 11. └─stats (local) off(a$specials[[i]]) ── Error ('test-modelMissPoiSub.R:12:1'): (code run outside of `test_that()`) ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-modelMissPoiSub.R:12:1 2. │ └─base::withCallingHandlers(...) 3. ├─base::suppressWarnings(...) 4. │ └─base::withCallingHandlers(...) 5. └─NeEDS4BigData::modelMissPoiSub(...) 6. └─gam::predict.Gam(fit_GAM, newdata = data.frame(X)) 7. └─gam::newdata.predict.Gam(...) 8. └─stats::predict.glm(...) 9. └─stats::predict.lm(...) 10. └─stats::delete.response(tt) 11. └─stats (local) off(a$specials[[i]]) ── Error ('test-plot_AMSE.R:12:1'): (code run outside of `test_that()`) ──────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-plot_AMSE.R:12:1 2. │ └─base::withCallingHandlers(...) 3. ├─base::suppressWarnings(...) 4. │ └─base::withCallingHandlers(...) 5. └─NeEDS4BigData::modelMissLinSub(...) 6. └─gam::predict.Gam(fit_GAM, newdata = data.frame(X)) 7. └─gam::newdata.predict.Gam(...) 8. └─stats::predict.glm(...) 9. └─stats::predict.lm(...) 10. └─stats::delete.response(tt) 11. └─stats (local) off(a$specials[[i]]) [ FAIL 4 | WARN 0 | SKIP 0 | PASS 283 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc