CRAN Package Check Results for Maintainer ‘Richard Layton <graphdoctor at gmail.com>’

Last updated on 2025-12-21 17:51:08 CET.

Package ERROR NOTE OK
formatdown 13
midfieldr 4 3 6

Package formatdown

Current CRAN status: OK: 13

Package midfieldr

Current CRAN status: ERROR: 4, NOTE: 3, OK: 6

Version: 1.0.2
Check: examples
Result: ERROR Running examples in ‘midfieldr-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### 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 Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.0.2
Check: tests
Result: ERROR Running ‘tinytest.R’ [3s/2s] 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.3s<1b>[0m test_add_data_sufficiency.R... 0 tests test_add_data_sufficiency.R... 10 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.4s<1b>[0m test_add_timely_term.R........ 0 tests test_add_timely_term.R........ 9 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.2s<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-debian-clang

Version: 1.0.2
Check: tests
Result: ERROR Running ‘tinytest.R’ [1s/2s] 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.2s<1b>[0m test_add_data_sufficiency.R... 0 tests test_add_data_sufficiency.R... 10 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.3s<1b>[0m test_add_timely_term.R........ 0 tests test_add_timely_term.R........ 9 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.3s<1b>[0m test_filter_cip.R............. 0 tests test_filter_cip.R............. 11 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.1s<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-debian-gcc

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 Flavors: r-devel-linux-x86_64-fedora-clang, 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.5s<1b>[0m test_add_data_sufficiency.R... 0 tests test_add_data_sufficiency.R... 10 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.4s<1b>[0m test_add_timely_term.R........ 0 tests test_add_timely_term.R........ 9 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.5s<1b>[0m test_filter_cip.R............. 0 tests test_filter_cip.R............. 11 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.3s<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-clang

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