CRAN Package Check Results for Package aum

Last updated on 2025-12-20 11:50:14 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2024.6.19 13.93 62.97 76.90 ERROR
r-devel-linux-x86_64-debian-gcc 2024.6.19 11.47 45.28 56.75 ERROR
r-devel-linux-x86_64-fedora-clang 2024.6.19 32.00 97.25 129.25 ERROR
r-devel-linux-x86_64-fedora-gcc 2024.6.19 31.00 109.11 140.11 ERROR
r-devel-windows-x86_64 2024.6.19 18.00 105.00 123.00 OK
r-patched-linux-x86_64 2024.6.19 15.43 72.77 88.20 OK
r-release-linux-x86_64 2024.6.19 15.69 72.51 88.20 OK
r-release-macos-arm64 2024.6.19 OK
r-release-macos-x86_64 2024.6.19 10.00 88.00 98.00 OK
r-release-windows-x86_64 2024.6.19 19.00 102.00 121.00 OK
r-oldrel-macos-arm64 2024.6.19 OK
r-oldrel-macos-x86_64 2024.6.19 13.00 173.00 186.00 OK
r-oldrel-windows-x86_64 2024.6.19 23.00 134.00 157.00 OK

Check Details

Version: 2024.6.19
Check: compiled code
Result: NOTE File ‘aum/libs/aum.so’: Found non-API call to R: ‘ATTRIB’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 2024.6.19
Check: examples
Result: ERROR Running examples in ‘aum-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: aum_linear_model_cv > ### Title: aum linear model cv > ### Aliases: aum_linear_model_cv > > ### ** Examples > > > if(require("data.table"))setDTthreads(1L)#for CRAN check. Loading required package: data.table Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% > > ## simulated binary classification problem. > N.rows <- 60 > N.cols <- 2 > set.seed(1) > feature.mat <- matrix(rnorm(N.rows*N.cols), N.rows, N.cols) > unknown.score <- feature.mat[,1]*2.1 + rnorm(N.rows) > label.vec <- ifelse(unknown.score > 0, 1, 0) > diffs.dt <- aum::aum_diffs_binary(label.vec) > > ## Default line search keeps doing iterations until increase in AUM. > (default.time <- system.time({ + default.model <- aum::aum_linear_model_cv(feature.mat, diffs.dt) + })) Error in `[.data.table`(example.totals, , `:=`(fold, sample(rep(sample(uniq.folds), : attempt access index 3/3 in VECTOR_ELT Calls: system.time -> <Anonymous> -> [ -> [.data.table Timing stopped at: 0.108 0 0.109 Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed aum_diffs_penalty 5.057 0.096 5.779 aum_line_search_grid 4.492 0.048 5.464 Flavor: r-devel-linux-x86_64-debian-clang

Version: 2024.6.19
Check: tests
Result: ERROR Running ‘testthat.R’ [11s/9s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > if(require(testthat))test_check("aum") Loading required package: testthat Loading required package: aum Saving _problems/test-CRAN-linear-model-14.R Saving _problems/test-CRAN-linear-model-20.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 102 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-CRAN-linear-model.R:12:3'): error when there are not enough data ── `{ ... }` threw an error with unexpected message. Expected match: "not enough data for 3-fold cross-validation, because there are only 2 examples for which there are non-zero values for the minority diff, fn" Actual message: "attempt access index 3/3 in VECTOR_ELT" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-CRAN-linear-model.R:12:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─aum::aum_linear_model_cv(feature.mat, diffs.dt, n.folds = n.folds) at test-CRAN-linear-model.R:13:5 7. ├─...[] 8. └─data.table:::`[.data.table`(...) ── Error ('test-CRAN-linear-model.R:20:3'): model fitting works if at least as many data as folds ── Error in ``[.data.table`(example.totals, , `:=`(fold, sample(rep(sample(uniq.folds), l = .N))), by = minority.zero)`: attempt access index 3/3 in VECTOR_ELT Backtrace: ▆ 1. └─aum::aum_linear_model_cv(feature.mat, diffs.dt, n.folds = n.folds) at test-CRAN-linear-model.R:20:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 102 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 2024.6.19
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘speed-comparison.Rmd’ using knitr Quitting from speed-comparison.Rmd:21-44 [unnamed-chunk-1] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! attempt access index 16/16 in VECTOR_ELT --- Backtrace: ▆ 1. └─atime::atime(...) 2. └─atime:::run_bench_mark(times, elist[not.done.yet], N.env, result) 3. ├─base::suppressWarnings(eval(m.call, N.env)) 4. │ └─base::withCallingHandlers(...) 5. └─base::eval(m.call, N.env) 6. └─base::eval(m.call, N.env) 7. └─bench::mark(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'speed-comparison.Rmd' failed with diagnostics: attempt access index 16/16 in VECTOR_ELT --- failed re-building ‘speed-comparison.Rmd’ SUMMARY: processing the following file failed: ‘speed-comparison.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 2024.6.19
Check: examples
Result: ERROR Running examples in ‘aum-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: aum_linear_model_cv > ### Title: aum linear model cv > ### Aliases: aum_linear_model_cv > > ### ** Examples > > > if(require("data.table"))setDTthreads(1L)#for CRAN check. Loading required package: data.table Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% > > ## simulated binary classification problem. > N.rows <- 60 > N.cols <- 2 > set.seed(1) > feature.mat <- matrix(rnorm(N.rows*N.cols), N.rows, N.cols) > unknown.score <- feature.mat[,1]*2.1 + rnorm(N.rows) > label.vec <- ifelse(unknown.score > 0, 1, 0) > diffs.dt <- aum::aum_diffs_binary(label.vec) > > ## Default line search keeps doing iterations until increase in AUM. > (default.time <- system.time({ + default.model <- aum::aum_linear_model_cv(feature.mat, diffs.dt) + })) Error in `[.data.table`(example.totals, , `:=`(fold, sample(rep(sample(uniq.folds), : attempt access index 3/3 in VECTOR_ELT Calls: system.time -> <Anonymous> -> [ -> [.data.table Timing stopped at: 0.066 0 0.105 Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2024.6.19
Check: tests
Result: ERROR Running ‘testthat.R’ [8s/9s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > if(require(testthat))test_check("aum") Loading required package: testthat Loading required package: aum Saving _problems/test-CRAN-linear-model-14.R Saving _problems/test-CRAN-linear-model-20.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 102 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-CRAN-linear-model.R:12:3'): error when there are not enough data ── `{ ... }` threw an error with unexpected message. Expected match: "not enough data for 3-fold cross-validation, because there are only 2 examples for which there are non-zero values for the minority diff, fn" Actual message: "attempt access index 3/3 in VECTOR_ELT" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-CRAN-linear-model.R:12:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─aum::aum_linear_model_cv(feature.mat, diffs.dt, n.folds = n.folds) at test-CRAN-linear-model.R:13:5 7. ├─...[] 8. └─data.table:::`[.data.table`(...) ── Error ('test-CRAN-linear-model.R:20:3'): model fitting works if at least as many data as folds ── Error in ``[.data.table`(example.totals, , `:=`(fold, sample(rep(sample(uniq.folds), l = .N))), by = minority.zero)`: attempt access index 3/3 in VECTOR_ELT Backtrace: ▆ 1. └─aum::aum_linear_model_cv(feature.mat, diffs.dt, n.folds = n.folds) at test-CRAN-linear-model.R:20:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 102 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2024.6.19
Check: examples
Result: ERROR Running examples in ‘aum-Ex.R’ failed The error most likely occurred in: > ### Name: aum_linear_model_cv > ### Title: aum linear model cv > ### Aliases: aum_linear_model_cv > > ### ** Examples > > > if(require("data.table"))setDTthreads(1L)#for CRAN check. Loading required package: data.table Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% > > ## simulated binary classification problem. > N.rows <- 60 > N.cols <- 2 > set.seed(1) > feature.mat <- matrix(rnorm(N.rows*N.cols), N.rows, N.cols) > unknown.score <- feature.mat[,1]*2.1 + rnorm(N.rows) > label.vec <- ifelse(unknown.score > 0, 1, 0) > diffs.dt <- aum::aum_diffs_binary(label.vec) > > ## Default line search keeps doing iterations until increase in AUM. > (default.time <- system.time({ + default.model <- aum::aum_linear_model_cv(feature.mat, diffs.dt) + })) Error in `[.data.table`(example.totals, , `:=`(fold, sample(rep(sample(uniq.folds), : attempt access index 3/3 in VECTOR_ELT Calls: system.time -> <Anonymous> -> [ -> [.data.table Timing stopped at: 0.174 0.002 0.181 Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2024.6.19
Check: tests
Result: ERROR Running ‘testthat.R’ [14s/16s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > if(require(testthat))test_check("aum") Loading required package: testthat Loading required package: aum Saving _problems/test-CRAN-linear-model-14.R Saving _problems/test-CRAN-linear-model-20.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 102 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-CRAN-linear-model.R:12:3'): error when there are not enough data ── `{ ... }` threw an error with unexpected message. Expected match: "not enough data for 3-fold cross-validation, because there are only 2 examples for which there are non-zero values for the minority diff, fn" Actual message: "attempt access index 3/3 in VECTOR_ELT" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-CRAN-linear-model.R:12:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─aum::aum_linear_model_cv(feature.mat, diffs.dt, n.folds = n.folds) at test-CRAN-linear-model.R:13:5 7. ├─...[] 8. └─data.table:::`[.data.table`(...) ── Error ('test-CRAN-linear-model.R:20:3'): model fitting works if at least as many data as folds ── Error in ``[.data.table`(example.totals, , `:=`(fold, sample(rep(sample(uniq.folds), l = .N))), by = minority.zero)`: attempt access index 3/3 in VECTOR_ELT Backtrace: ▆ 1. └─aum::aum_linear_model_cv(feature.mat, diffs.dt, n.folds = n.folds) at test-CRAN-linear-model.R:20:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 102 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2024.6.19
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘speed-comparison.Rmd’ using knitr Quitting from speed-comparison.Rmd:21-44 [unnamed-chunk-1] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! attempt access index 16/16 in VECTOR_ELT --- Backtrace: ▆ 1. └─atime::atime(...) 2. └─atime:::run_bench_mark(times, elist[not.done.yet], N.env, result) 3. ├─base::suppressWarnings(eval(m.call, N.env)) 4. │ └─base::withCallingHandlers(...) 5. └─base::eval(m.call, N.env) 6. └─base::eval(m.call, N.env) 7. └─bench::mark(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'speed-comparison.Rmd' failed with diagnostics: attempt access index 16/16 in VECTOR_ELT --- failed re-building ‘speed-comparison.Rmd’ SUMMARY: processing the following file failed: ‘speed-comparison.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 2024.6.19
Check: examples
Result: ERROR Running examples in ‘aum-Ex.R’ failed The error most likely occurred in: > ### Name: aum_linear_model_cv > ### Title: aum linear model cv > ### Aliases: aum_linear_model_cv > > ### ** Examples > > > if(require("data.table"))setDTthreads(1L)#for CRAN check. Loading required package: data.table Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% > > ## simulated binary classification problem. > N.rows <- 60 > N.cols <- 2 > set.seed(1) > feature.mat <- matrix(rnorm(N.rows*N.cols), N.rows, N.cols) > unknown.score <- feature.mat[,1]*2.1 + rnorm(N.rows) > label.vec <- ifelse(unknown.score > 0, 1, 0) > diffs.dt <- aum::aum_diffs_binary(label.vec) > > ## Default line search keeps doing iterations until increase in AUM. > (default.time <- system.time({ + default.model <- aum::aum_linear_model_cv(feature.mat, diffs.dt) + })) Error in `[.data.table`(example.totals, , `:=`(fold, sample(rep(sample(uniq.folds), : attempt access index 3/3 in VECTOR_ELT Calls: system.time -> <Anonymous> -> [ -> [.data.table Timing stopped at: 0.157 0 0.159 Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 2024.6.19
Check: tests
Result: ERROR Running ‘testthat.R’ [15s/18s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > if(require(testthat))test_check("aum") Loading required package: testthat Loading required package: aum Saving _problems/test-CRAN-linear-model-14.R Saving _problems/test-CRAN-linear-model-20.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 102 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-CRAN-linear-model.R:12:3'): error when there are not enough data ── `{ ... }` threw an error with unexpected message. Expected match: "not enough data for 3-fold cross-validation, because there are only 2 examples for which there are non-zero values for the minority diff, fn" Actual message: "attempt access index 3/3 in VECTOR_ELT" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-CRAN-linear-model.R:12:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─aum::aum_linear_model_cv(feature.mat, diffs.dt, n.folds = n.folds) at test-CRAN-linear-model.R:13:5 7. ├─...[] 8. └─data.table:::`[.data.table`(...) ── Error ('test-CRAN-linear-model.R:20:3'): model fitting works if at least as many data as folds ── Error in ``[.data.table`(example.totals, , `:=`(fold, sample(rep(sample(uniq.folds), l = .N))), by = minority.zero)`: attempt access index 3/3 in VECTOR_ELT Backtrace: ▆ 1. └─aum::aum_linear_model_cv(feature.mat, diffs.dt, n.folds = n.folds) at test-CRAN-linear-model.R:20:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 102 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

mirror server hosted at Truenetwork, Russian Federation.