- using R version 4.5.2 Patched (2026-01-31 r89382)
- using platform: aarch64-apple-darwin20
- R was compiled by
Apple clang version 16.0.0 (clang-1600.0.26.6)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.7.8
- using session charset: UTF-8
- checking for file ‘rqti/DESCRIPTION’ ... OK
- this is package ‘rqti’ version ‘1.2.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- 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 ‘rqti’ can be installed ... [3s/4s] OK
See the install log for details.
- checking installed package size ... OK
- checking package 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 ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking whether startup messages can be suppressed ... [0s/0s] 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 ... [2s/3s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking examples ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [16s/18s] ERROR
Running ‘testthat.R’ [16s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(rqti)
>
> test_check("rqti")
QTI validation: invalid [engine: xmllint]
/Volumes/Temp/tmp/RtmpKt9lDq/file6962bad200.xml:2: Element 'invalid': No matching global declaration available for the validation root.
-> [31m<invalid [0m/>
sh: sha1sum: command not found
Saving _problems/test-extract_results-1.R
Authors are found in exercises and added as contributors: (author).
Authors are found in exercises and added as contributors: (author).
[ FAIL 1 | WARN 0 | SKIP 18 | PASS 323 ]
══ Skipped tests (18) ══════════════════════════════════════════════════════════
• Sys.getenv("RQTI_API_USER") == "" is TRUE (17): 'test-api_lms.R:35:5',
'test-api_lms.R:46:5', 'test-api_lms.R:56:5', 'test-api_lms.R:67:5',
'test-api_lms.R:79:5', 'test-api_lms.R:106:5', 'test-api_lms.R:137:5',
'test-api_lms.R:177:5', 'test-api_lms.R:207:5', 'test-api_lms.R:246:5',
'test-api_lms.R:274:5', 'test-api_lms.R:286:5', 'test-api_lms.R:301:5',
'test-api_lms.R:314:5', 'test-api_lms.R:335:5', 'test-api_lms.R:359:5',
'test-knit_functions.R:73:5'
• empty test (1):
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-extract_results.R:1:1'): (code run outside of `test_that()`) ───
<cmdError/error/condition>
Error in `system2("sha1sum", tf, stdout = TRUE)`: error in running command
Backtrace:
▆
1. ├─base::suppressMessages(rqti::extract_results("file/test_result.zip")) at test-extract_results.R:1:1
2. │ └─base::withCallingHandlers(...)
3. └─rqti::extract_results("file/test_result.zip")
4. └─rqti:::build_dataset(tdir, level, file_names, hide_filename)
5. └─rqti:::get_result_attr_answers(xml_path, hide_filename)
6. └─rqti:::sha1_generator(file_name)
7. └─base::system2("sha1sum", tf, stdout = TRUE)
[ FAIL 1 | WARN 0 | SKIP 18 | PASS 323 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [5s/5s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '