CRAN Package Check Results for Package midfieldr

Last updated on 2025-12-19 14:50:26 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2 4.13 53.81 57.94 OK
r-devel-linux-x86_64-debian-gcc 1.0.2 2.84 38.93 41.77 OK
r-devel-linux-x86_64-fedora-clang 1.0.2 OK
r-devel-linux-x86_64-fedora-gcc 1.0.2 7.00 86.37 93.37 ERROR
r-devel-windows-x86_64 1.0.2 7.00 83.00 90.00 OK
r-patched-linux-x86_64 1.0.2 4.22 44.16 48.38 OK
r-release-linux-x86_64 1.0.2 3.63 44.47 48.10 OK
r-release-macos-arm64 1.0.2 OK
r-release-macos-x86_64 1.0.2 3.00 77.00 80.00 OK
r-release-windows-x86_64 1.0.2 7.00 80.00 87.00 OK
r-oldrel-macos-arm64 1.0.2 NOTE
r-oldrel-macos-x86_64 1.0.2 3.00 54.00 57.00 NOTE
r-oldrel-windows-x86_64 1.0.2 9.00 84.00 93.00 NOTE

Check Details

Version: 1.0.2
Check: examples
Result: ERROR Running examples in ‘midfieldr-Ex.R’ failed The error most likely occurred in: > ### Name: order_multiway > ### Title: Order categorical variables of multiway data > ### Aliases: order_multiway > > ### ** Examples > > # Subset of built-in data set > dframe <- study_results[program == "EE" | program == "ME"] > dframe[, people := paste(race, sex)] > dframe[, c("race", "sex") := NULL] > data.table::setcolorder(dframe, c("program", "people")) > > # Class before ordering > class(dframe$program) [1] "character" > class(dframe$people) [1] "character" > > # Class and levels after ordering > mw1 <- order_multiway(dframe, + quantity = "stickiness", + categories = c("program", "people")) Error in `[.data.table`(DT, , `:=`(program_median, f(stickiness, na.rm = TRUE)), : attempt access index 5/5 in VECTOR_ELT Calls: order_multiway ... order_by_function -> <Anonymous> -> eval -> eval -> [ -> [.data.table Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.2
Check: tests
Result: ERROR Running ‘tinytest.R’ Running the tests in ‘tests/tinytest.R’ failed. Complete output: > if (requireNamespace("tinytest", quietly = TRUE)){ + tinytest::test_package("midfieldr") + } test_add_completion_status.R.. 0 tests Attaching package: 'data.table' The following object is masked from 'package:base': %notin% test_add_completion_status.R.. 11 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.4s<1b>[0m test_add_data_sufficiency.R... 0 tests test_add_data_sufficiency.R... 10 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.5s<1b>[0m test_add_timely_term.R........ 0 tests test_add_timely_term.R........ 9 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.4s<1b>[0m test_filter_cip.R............. 0 tests test_filter_cip.R............. 11 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.2s<1b>[0m test_order_multiway.R......... 0 tests Error in `[.data.table`(DT, , `:=`(catg1_median, f(a, na.rm = TRUE)), : attempt access index 5/5 in VECTOR_ELT Calls: <Anonymous> ... order_by_function -> <Anonymous> -> eval -> eval -> [ -> [.data.table Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.2
Check: package dependencies
Result: NOTE Package suggested but not available for checking: ‘midfielddata’ Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64