CRAN Package Check Results for Package measr

Last updated on 2026-11-21 00:52:24 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.1 512.63 245.13 757.76 ERROR
r-devel-linux-x86_64-debian-gcc 2.0.1 477.63 225.03 702.66 ERROR
r-devel-linux-x86_64-fedora-clang 2.0.1 360.00 351.65 711.65 WARN
r-devel-linux-x86_64-fedora-gcc 2.0.1 600.00 412.85 1012.85 WARN
r-devel-windows-x86_64 2.0.1 741.00 527.00 1268.00 OK
r-patched-linux-x86_64 2.0.1 593.56 640.68 1234.24 OK
r-release-linux-x86_64 2.0.1 591.15 645.69 1236.84 OK
r-release-macos-arm64 2.0.1 110.00 49.00 159.00 OK
r-release-macos-x86_64 2.0.1 333.00 502.00 835.00 OK
r-release-windows-x86_64 2.0.1 735.00 445.00 1180.00 OK
r-oldrel-macos-arm64 2.0.1 107.00 45.00 152.00 OK
r-oldrel-macos-x86_64 2.0.1 328.00 94.00 422.00 OK
r-oldrel-windows-x86_64 2.0.1 949.00 631.00 1580.00 OK

Check Details

Version: 2.0.1
Check: for code/documentation mismatches
Result: WARN Codoc mismatches from Rd file 'measrdcm.Rd': measrdcm Code: function(model_spec = dcmstan::dcm_specification(), data = list(), stancode = character(0), method = stanmethod(), algorithm = character(0), backend = stanbackend(), model = list(), respondent_estimates = list(), fit = list(), criteria = list(), reliability = list(), file = character(0), version = list()) Docs: function(model_spec = NULL, data = list(), stancode = character(0), method = stanmethod(), algorithm = character(0), backend = stanbackend(), model = list(), respondent_estimates = list(), fit = list(), criteria = list(), reliability = list(), file = character(0), version = list()) Mismatches in argument default values: Name: 'model_spec' Code: dcmstan::dcm_specification() Docs: NULL 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: 2.0.1
Check: examples
Result: ERROR Running examples in ‘measr-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: measrdcm > ### Title: S7 class for measrdcm objects > ### Aliases: measrdcm > > ### ** Examples > > qmatrix <- tibble::tibble( + att1 = sample(0:1, size = 15, replace = TRUE), + att2 = sample(0:1, size = 15, replace = TRUE), + att3 = sample(0:1, size = 15, replace = TRUE), + att4 = sample(0:1, size = 15, replace = TRUE) + ) > > spec <- dcm_specify(qmatrix = qmatrix) Error: @model is read-only Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 2.0.1
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [9s/10s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(measr) Attaching package: 'measr' The following object is masked from 'package:stats': optim > > test_check("measr") Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error: ! @model is read-only Backtrace: ▆ 1. ├─testthat::test_check("measr") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ ├─dcmstan::dcm_specify(qmatrix = q_matrix[, -1], measurement_model = dina()) at ./setup.R:1:1 15. │ │ └─S7::check_is_S7(measurement_model, measurement) 16. │ │ └─S7::S7_inherits(x, class) 17. │ │ └─S7:::class_inherits(x, class) 18. │ └─dcmstan::dina() 19. │ └─dcmstan:::DINA(model = "dina") 20. │ └─S7::new_object(...) 21. │ └─S7::`prop<-`(`*tmp*`, name, check = FALSE, value = prop_setter_vals[[name]]) 22. ├─dcmstan (local) `<DINA>@model`(`<dc::DINA>`, "dina") 23. │ └─base::stop("@model is read-only", call. = FALSE) 24. └─base::.handleSimpleError(`<fn>`, "@model is read-only", base::quote(NULL)) 25. └─testthat (local) h(simpleError(msg, call)) 26. └─cli::cli_abort(...) 27. └─rlang::abort(...) Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 2.0.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘measr.Rmd’ using rmarkdown Quitting from measr.Rmd:152-168 [est-hide] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! @model is read-only --- Backtrace: ▆ 1. ├─dcmstan::dcm_specify(...) 2. │ └─S7::check_is_S7(measurement_model, measurement) 3. │ └─S7::S7_inherits(x, class) 4. │ └─S7:::class_inherits(x, class) 5. ├─dcmstan::lcdm() 6. │ └─dcmstan:::LCDM(model = "lcdm", list(max_interaction = max_interaction)) 7. │ └─S7::new_object(...) 8. │ └─S7::`prop<-`(`*tmp*`, name, check = FALSE, value = prop_setter_vals[[name]]) 9. └─dcmstan (local) `<LCDM>@model`(`<dc::LCDM>`, "lcdm") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'measr.Rmd' failed with diagnostics: @model is read-only --- failed re-building ‘measr.Rmd’ --- re-building ‘paper.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘paper.Rmd’ SUMMARY: processing the following file failed: ‘measr.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 2.0.1
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [6s/8s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(measr) Attaching package: 'measr' The following object is masked from 'package:stats': optim > > test_check("measr") Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error: ! @model is read-only Backtrace: ▆ 1. ├─testthat::test_check("measr") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ ├─dcmstan::dcm_specify(qmatrix = q_matrix[, -1], measurement_model = dina()) at ./setup.R:1:1 15. │ │ └─S7::check_is_S7(measurement_model, measurement) 16. │ │ └─S7::S7_inherits(x, class) 17. │ │ └─S7:::class_inherits(x, class) 18. │ └─dcmstan::dina() 19. │ └─dcmstan:::DINA(model = "dina") 20. │ └─S7::new_object(...) 21. │ └─S7::`prop<-`(`*tmp*`, name, check = FALSE, value = prop_setter_vals[[name]]) 22. ├─dcmstan (local) `<DINA>@model`(`<dc::DINA>`, "dina") 23. │ └─base::stop("@model is read-only", call. = FALSE) 24. └─base::.handleSimpleError(`<fn>`, "@model is read-only", base::quote(NULL)) 25. └─testthat (local) h(simpleError(msg, call)) 26. └─cli::cli_abort(...) 27. └─rlang::abort(...) Execution halted Flavor: r-devel-linux-x86_64-debian-gcc