- using R Under development (unstable) (2026-11-18 r90935)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 23.1.5 (2)
Debian flang version 23.1.5 (2)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-11-20 07:34:40 UTC
- checking for file ‘measr/DESCRIPTION’ ... OK
- this is package ‘measr’ version ‘2.0.1’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [4s/6s] OK
- checking package namespace information ... OK
- checking package dependencies ... INFO
Package suggested but not available for checking: 'cmdstanr'
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘measr’ can be installed ... OK
See the install log for details.
- used C++ compiler: ‘Debian clang version 23.1.5 (2)’
- checking C++ specification ... INFO
specified C++17
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [8s/9s] OK
- checking whether the package can be loaded with stated dependencies ... [7s/9s] OK
- checking whether the package can be unloaded cleanly ... [7s/8s] OK
- checking whether the namespace can be loaded with stated dependencies ... [7s/10s] OK
- checking whether the namespace can be unloaded cleanly ... [7s/9s] OK
- checking loading without being on the library search path ... [8s/9s] OK
- checking whether startup messages can be suppressed ... [8s/10s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [38s/49s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... INFO
Package unavailable to check Rd xrefs: ‘cmdstanr’
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... WARNING
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
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking R/sysdata.rda ... OK
- checking line endings in shell scripts ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... INFO
GNU make is a SystemRequirements.
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [8s/10s] 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
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [9s/11s] 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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [10s/14s] 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
- checking PDF version of manual ... [6s/8s] OK
- checking HTML version of manual ... [2s/3s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 3 ERRORs, 1 WARNING