Last updated on 2026-09-22 03:52:10 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.2.1 | 13.78 | 131.31 | 145.09 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.2.1 | 8.56 | 92.81 | 101.37 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.3.0 | 9.00 | 105.32 | 114.32 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.3.0 | 113.07 | OK | |||
| r-devel-windows-x86_64 | 1.2.1 | 18.00 | 181.00 | 199.00 | OK | |
| r-patched-linux-x86_64 | 1.2.1 | 15.71 | 130.36 | 146.07 | OK | |
| r-release-linux-x86_64 | 1.2.1 | 11.63 | 128.97 | 140.60 | OK | |
| r-release-macos-arm64 | 1.2.1 | 3.00 | 46.00 | 49.00 | OK | |
| r-release-macos-x86_64 | 1.3.0 | 10.00 | 161.00 | 171.00 | ERROR | |
| r-release-windows-x86_64 | 1.2.1 | 18.00 | 187.00 | 205.00 | OK | |
| r-oldrel-macos-arm64 | 1.3.0 | 3.00 | 47.00 | 50.00 | ERROR | |
| r-oldrel-macos-x86_64 | 1.3.0 | 9.00 | 164.00 | 173.00 | ERROR | |
| r-oldrel-windows-x86_64 | 1.2.1 | 21.00 | 219.00 | 240.00 | OK |
Version: 1.3.0
Check: examples
Result: ERROR
Running examples in ‘rqti-Ex.R’ failed
The error most likely occurred in:
> ### Name: section
> ### Title: Create a section as part of a test content
> ### Aliases: section
>
> ### ** Examples
>
> sc <- new("SingleChoice", prompt = "Question", choices = c("A", "B", "C"))
> es <- new("Essay", prompt = "Question")
> # Since ready-made S4 "AssessmentItem" objects are taken, in this example a
> #permanent section consisting of two tasks is created.
> s <- section(c(sc, es), title = "Section with nonrandomized tasks")
>
> # Since Rmd files with randomization of internal variables are taken,
> #in this example 2 variants are created with a different seed number for each.
> path <- system.file("rmarkdown/templates/", package='rqti')
> file1 <- file.path(path, "singlechoice-simple/skeleton/skeleton.Rmd")
> file2 <- file.path(path, "singlechoice-complex/skeleton/skeleton.Rmd")
> s <- section(c(file1, file2), n_variants = 2,
+ title = "Section with two variants of tasks")
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Error: pandoc document conversion failed with error 6
Execution halted
Flavors: r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Version: 1.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [51s/82s]
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] [schema: imsqti_v2p1p2.xsd]
/Volumes/Temp/tmp/RtmpU09yEc/file5e7f5c84797a.xml:2: Element 'invalid': No matching global declaration available for the validation root.
-> <1b>[31m<invalid<1b>[0m/>
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Authors are found in exercises and added as contributors: (author).
Authors are found in exercises and added as contributors: (author).
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Saving _problems/test-object_builder-561.R
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Saving _problems/test-object_builder-578.R
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Saving _problems/test-verify_qti-193.R
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
[ FAIL 58 | WARN 0 | SKIP 20 | PASS 477 ]
══ Skipped tests (20) ══════════════════════════════════════════════════════════
• RQTI_API_USER is not set. (18): 'test-api_lms.R:99:5',
'test-api_lms.R:110:5', 'test-api_lms.R:120:5', 'test-api_lms.R:131:5',
'test-api_lms.R:143:5', 'test-api_lms.R:170:5', 'test-api_lms.R:201:5',
'test-api_lms.R:241:5', 'test-api_lms.R:271:5', 'test-api_lms.R:310:5',
'test-api_lms.R:338:5', 'test-api_lms.R:771:5', 'test-api_lms.R:785:5',
'test-api_lms.R:798:5', 'test-api_lms.R:810:5', 'test-api_lms.R:828:5',
'test-api_lms.R:845:5', 'test-api_lms.R:866:5'
• empty test (1):
• nzchar(Sys.getenv("_R_CHECK_PACKAGE_NAME_")) is TRUE (1):
'test-knit_functions.R:4:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-assessment_section.R:247:5'): Testing of type of calculators in yaml section of Rmd file ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(...) at test-assessment_section.R:247:5
2. │ └─base::withCallingHandlers(...)
3. └─base::Map(create_question_object, rep(path1, 4))
4. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
5. └─rqti (local) `<fn>`(dots[[1L]][[1L]])
6. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
7. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
8. └─rmarkdown:::stop2(...)
── Error ('test-assessment_test.R:742:5'): Testing a specific attribute 'files' in yaml section of Rmd file ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(section(path)) at test-assessment_test.R:742:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::section(path)
4. └─base::Map(getObject, content)
5. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
6. ├─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
7. └─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
8. └─rqti::create_question_object(object)
9. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
10. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
11. └─rmarkdown:::stop2(...)
── Error ('test-character.R:18:9'): Testing createQtiTest() method for the object of character
in case if the file exist ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(createQtiTest(path_2)) at test-character.R:18:9
2. │ └─base::withCallingHandlers(...)
3. ├─rqti::createQtiTest(path_2)
4. └─rqti::createQtiTest(path_2)
5. └─rqti (local) .local(object, dir)
6. └─rqti::rmd2zip(file, path = dir)
7. └─rqti::create_question_object(file)
8. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
9. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
10. └─rmarkdown:::stop2(...)
── Error ('test-character.R:62:9'): createQtiTask() for character converts Rmd and md files ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(...) at test-character.R:62:9
2. │ └─base::withCallingHandlers(...)
3. ├─rqti::createQtiTask(rmd_path, dir = out_dir, zip = TRUE)
4. └─rqti::createQtiTask(rmd_path, dir = out_dir, zip = TRUE)
5. └─rqti::create_question_object(file)
6. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
7. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
8. └─rmarkdown:::stop2(...)
── Error ('test-character.R:79:9'): getObject() for character handles xml, Rmd, and md files ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─rqti:::getObject(rmd_path) at test-character.R:79:9
2. └─rqti:::getObject(rmd_path)
3. └─rqti::create_question_object(object)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-character.R:126:9'): prepareQTIJSFiles() for character prepares Rmd input ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(prepareQTIJSFiles(rmd_path, out_dir)) at test-character.R:126:9
2. │ └─base::withCallingHandlers(...)
3. ├─rqti:::prepareQTIJSFiles(rmd_path, out_dir)
4. └─rqti:::prepareQTIJSFiles(rmd_path, out_dir)
5. └─rqti::create_question_object(object)
6. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
7. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
8. └─rmarkdown:::stop2(...)
── Error ('test-images.R:2:5'): Markdown image is embedded as Base64 ───────────
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(test_path("file", "rmd", "resolution_image.Rmd")) at test-images.R:2:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:10:5'): Testing SingleChoice where answer is $nummer ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:10:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:32:5'): Testing create_question_object() for SingleChoice class ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:32:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:60:5'): Testing create_question_object() for SingleChoice class: solution ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:60:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:90:5'): Testing create_question_object() for MultipleChoice class:
solution 1 and 2 ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:90:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:118:5'): Testing create_question_object() for MultipleChoice class:
solution 1 and 3 ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:118:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:156:5'): Testing create_question_object() for Essay class ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressWarnings(create_question_object(path)) at test-object_builder.R:156:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::create_question_object(path)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:170:1'): Testing create_question_object() for Entry class ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(create_question_object(path)) at test-object_builder.R:170:1
2. │ └─base::withCallingHandlers(...)
3. └─rqti::create_question_object(path)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:184:1'): Testing create_question_object() for Entry with YAML ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(create_question_object(path)) at test-object_builder.R:184:1
2. │ └─base::withCallingHandlers(...)
3. └─rqti::create_question_object(path)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:256:5'): Testing create_question_object() for Order task ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:256:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:270:5'): Testing create_question_object() for Direct Pair task ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:270:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:292:5'): Testing create_question_object() for OnInColTable task, where as_table=T ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:292:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:314:5'): Testing create_question_object() with conditions: OnInColTable and as_table=F ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(create_question_object(path)) at test-object_builder.R:314:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::create_question_object(path)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:333:5'): Testing create_question_object() for OneInRowTable task ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path1) at test-object_builder.R:333:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:357:5'): Testing create_question_object() for MultipleChoiceTable task ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:357:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:377:5'): Testing create_question_object() for TextGap
(yaml and primitive) tasks ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(create_question_object(path)) at test-object_builder.R:377:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::create_question_object(path)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:445:5'): Testing create_question_object() for InlineChoice
(yaml and primitive) tasks ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(create_question_object(path)) at test-object_builder.R:445:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::create_question_object(path)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:493:5'): Testing create_question_object() for MultipleChoice class
without points ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:493:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:522:5'): Testing the Order task, points are awarded for each correct answer. ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(rmd2xml(path, path = test_path())) at test-object_builder.R:522:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::rmd2xml(path, path = test_path())
4. └─rqti::create_question_object(file)
5. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
6. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
7. └─rmarkdown:::stop2(...)
── Failure ('test-object_builder.R:561:5'): Testing stop message for create_question_object() function
in case the type of the task is not specified properly ) ──
Expected `error_message` to equal `expected_error`.
Differences:
`actual`: "pandoc document conversion failed with error 6"
`expected`: "The type of the task is not specified properly"
── Failure ('test-object_builder.R:578:15'): Testing stop message for create_question_object() function
in case more than 1 option marked as the correct answer
in SingleChoice object) ──
Expected `error_message` to equal `expected_error`.
Differences:
`actual`: "pandoc document conversion failed with error 6"
`expected`: "More than 1 option marked as the correct answer"
── Error ('test-object_builder.R:584:5'): Testing read_table() function: delete the name of cols and rows
for MultipleChoiceTable ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:584:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:602:5'): Testing read_table() function: delete the name of cols and rows
for OneInRowTable ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:602:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:620:5'): Testing read_table() function: delete the name of cols and rows
for OneInColTable ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:620:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:676:5'): adjacent dropdowns are handled without malformed HTML fragments ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(tf) at test-object_builder.R:676:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-qti_exam.R:29:1'): (code run outside of `test_that()`) ─────────
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(...) at test-qti_exam.R:29:1
2. │ └─base::withCallingHandlers(...)
3. └─rqti::section(...)
4. └─base::mapply(make_exam_subsection, files_, seed_number)
5. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
6. └─base::mapply(...)
7. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
8. └─rqti::create_question_object(object)
9. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
10. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
11. └─rmarkdown:::stop2(...)
── Error ('test-rmd2qti.R:5:5'): test rmd2zip ──────────────────────────────────
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(rmd2zip(file, "to_delete/subfolder/test_exam.zip")) at test-rmd2qti.R:5:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::rmd2zip(file, "to_delete/subfolder/test_exam.zip")
4. └─rqti::create_question_object(file)
5. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
6. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
7. └─rmarkdown:::stop2(...)
── Error ('test-rmd2qti.R:20:5'): test rmd2xml ─────────────────────────────────
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(rmd2xml(file, "to_delete/index.xml")) at test-rmd2qti.R:20:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::rmd2xml(file, "to_delete/index.xml")
4. └─rqti::create_question_object(file)
5. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
6. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
7. └─rmarkdown:::stop2(...)
── Error ('test-rmd2qti.R:50:5'): test abbreviate for rmd2xml() in OneInRowTable class ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(rmd2xml(file_sut, "to_delete/index.xml")) at test-rmd2qti.R:50:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::rmd2xml(file_sut, "to_delete/index.xml")
4. └─rqti::create_question_object(file)
5. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
6. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
7. └─rmarkdown:::stop2(...)
── Error ('test-rmd2qti.R:60:5'): test abbreviate for rmd2xml() in OneInColTable class ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(rmd2xml(file_sut, "to_delete/index.xml")) at test-rmd2qti.R:60:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::rmd2xml(file_sut, "to_delete/index.xml")
4. └─rqti::create_question_object(file)
5. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
6. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
7. └─rmarkdown:::stop2(...)
── Error ('test-rmd2qti.R:70:5'): test abbreviate for rmd2xml() in MultipleChoiceTable class ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(rmd2xml(file_sut, "to_delete/index.xml")) at test-rmd2qti.R:70:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::rmd2xml(file_sut, "to_delete/index.xml")
4. └─rqti::create_question_object(file)
5. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
6. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
7. └─rmarkdown:::stop2(...)
── Error ('test-rmd2qti.R:80:5'): test abbreviate for rmd2xml() in DirectPair class ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(rmd2xml(file_sut, "to_delete/index.xml")) at test-rmd2qti.R:80:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::rmd2xml(file_sut, "to_delete/index.xml")
4. └─rqti::create_question_object(file)
5. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
6. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
7. └─rmarkdown:::stop2(...)
── Error ('test-rmd_matchtable.R:4:5'): test inherit OneInRowTable class from Rmd file
if parameter set - as table: T ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(file_sut) at test-rmd_matchtable.R:4:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-rmd_matchtable.R:11:5'): test inherit OneInColTable class from Rmd file
if parameter set - as table: T ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(file_sut) at test-rmd_matchtable.R:11:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-rmd_matchtable.R:18:5'): test inherit DirectedPair class from Rmd file
with out parameter - as table:F ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(create_question_object(file_sut)) at test-rmd_matchtable.R:18:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::create_question_object(file_sut)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-rmd_matchtable.R:25:5'): test inherit OneInRowTable class from Rmd file
with out parameter -as table:F ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(file_sut) at test-rmd_matchtable.R:25:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-rmd_matchtable.R:32:5'): test inherit OneInColTable class from Rmd file
with out parameter - as table:F ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(file_sut) at test-rmd_matchtable.R:32:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-rmd_matchtable.R:39:5'): test inherit MultipleChoiceTable class from Rmd file
with out parameter - as table:F ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(file_sut) at test-rmd_matchtable.R:39:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-rmd_matchtable.R:46:5'): test inherit MultipleChoiceTable class from Rmd file
with out parameter - as table:F ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(file_sut) at test-rmd_matchtable.R:46:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-rqti_project.R:12:5'): Project template creates expected files ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::source(file.path(tmpdir, "main2.R"), chdir = TRUE) at test-rqti_project.R:12:5
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─rqti::section(exercises)
6. └─base::Map(getObject, content)
7. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
8. ├─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
9. └─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
10. └─rqti::create_question_object(object)
11. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
12. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
13. └─rmarkdown:::stop2(...)
── Error ('test-section.R:10:5'): Testing of function section() creates assessment
section correctly ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::section(file, n_variants = num_variants, seed_number = seed_number) at test-section.R:10:5
2. └─base::mapply(make_exam_subsection, files_, seed_number)
3. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
4. └─base::mapply(...)
5. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
6. └─rqti::create_question_object(object)
7. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
8. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
9. └─rmarkdown:::stop2(...)
── Error ('test-section.R:50:5'): Testing of function section() creates assessment section correctly
when by is 'files' ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::section(...) at test-section.R:50:5
2. └─base::lapply(...)
3. └─rqti (local) FUN(X[[i]], ...)
4. └─base::mapply(...)
5. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
6. └─rqti::create_question_object(object)
7. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
8. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
9. └─rmarkdown:::stop2(...)
── Error ('test-section.R:71:15'): Testing of function section() with files and S4 objects creates
assessment section correctly ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::section(content, n_variants = num_variants, seed_number = seed_number) at test-section.R:71:15
2. └─base::mapply(make_exam_subsection, files_, seed_number)
3. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
4. └─base::mapply(...)
5. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
6. └─rqti::create_question_object(object)
7. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
8. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
9. └─rmarkdown:::stop2(...)
── Error ('test-section_builder.R:29:5'): Testing function section() to build permanent AssessmentSection ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::section(c(path1, path2), id = "permanent_section") at test-section_builder.R:29:5
2. └─base::Map(getObject, content)
3. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
4. ├─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
5. └─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
6. └─rqti::create_question_object(object)
7. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
8. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
9. └─rmarkdown:::stop2(...)
── Error ('test-section_builder.R:41:5'): Testing function section() to build variable nested AssessmentSection ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::section(c(path1, path3), 2, id = "variable_section") at test-section_builder.R:41:5
2. └─base::mapply(make_exam_subsection, files_, seed_number)
3. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
4. └─base::mapply(...)
5. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
6. └─rqti::create_question_object(object)
7. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
8. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
9. └─rmarkdown:::stop2(...)
── Error ('test-section_builder.R:80:5'): Testing function section() in the case
num_variants < length(seed_number)) ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::withCallingHandlers(...) at test-section_builder.R:80:5
2. └─rqti::section(...)
3. └─base::mapply(make_exam_subsection, files_, seed_number)
4. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
5. └─base::mapply(...)
6. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
7. └─rqti::create_question_object(object)
8. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
9. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
10. └─rmarkdown:::stop2(...)
── Error ('test-section_builder.R:110:5'): Testing function section() to build variable AssessmentSection for by = 'files' ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::section(file, num_variants, id = "variable_section", by = "files") at test-section_builder.R:110:5
2. └─base::lapply(...)
3. └─rqti (local) FUN(X[[i]], ...)
4. └─base::mapply(...)
5. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
6. └─rqti::create_question_object(object)
7. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
8. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
9. └─rmarkdown:::stop2(...)
── Error ('test-section_builder.R:179:5'): Testing test4opal() and test() function in section_builder.R ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::section(c(path1, path2)) at test-section_builder.R:179:5
2. └─base::Map(getObject, content)
3. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
4. ├─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
5. └─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
6. └─rqti::create_question_object(object)
7. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
8. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
9. └─rmarkdown:::stop2(...)
── Error ('test-verify_qti.R:193:5'): verify_qti validates Rmd file ────────────
Error in `value[[3L]](cond)`: Failed to render Rmd file: /Volumes/Builds/packages/big-sur-x86_64/results/4.6/rqti.Rcheck/rqti/rmarkdown/templates/singlechoice-simple/skeleton/skeleton.Rmd
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─rqti::verify_qti(rmd_file, print = F) at test-verify_qti.R:193:5
2. └─rqti::verify_qti(rmd_file, print = F)
3. └─base::tryCatch(...)
4. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. └─value[[3L]](cond)
── Error ('test-verify_qti.R:204:5'): verify_qti validates AssessmentItem object ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(rmd_file) at test-verify_qti.R:204:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-verify_qti.R:222:5'): verify_qti validates AssessmentTest object ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(rmd_file1) at test-verify_qti.R:222:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-verify_qti.R:249:5'): verify_qti prints AssessmentTest validation summaries ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(rmd_file) at test-verify_qti.R:249:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
[ FAIL 58 | WARN 0 | SKIP 20 | PASS 477 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-macos-x86_64
Version: 1.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [16s/25s]
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] [schema: imsqti_v2p1p2.xsd]
/Volumes/Temp/tmp/RtmpFQJl6U/file4f453492b445.xml:2: Element 'invalid': No matching global declaration available for the validation root.
-> <1b>[31m<invalid<1b>[0m/>
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Authors are found in exercises and added as contributors: (author).
Authors are found in exercises and added as contributors: (author).
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Saving _problems/test-object_builder-561.R
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Saving _problems/test-object_builder-578.R
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Saving _problems/test-verify_qti-193.R
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
[ FAIL 58 | WARN 0 | SKIP 20 | PASS 477 ]
══ Skipped tests (20) ══════════════════════════════════════════════════════════
• RQTI_API_USER is not set. (18): 'test-api_lms.R:99:5',
'test-api_lms.R:110:5', 'test-api_lms.R:120:5', 'test-api_lms.R:131:5',
'test-api_lms.R:143:5', 'test-api_lms.R:170:5', 'test-api_lms.R:201:5',
'test-api_lms.R:241:5', 'test-api_lms.R:271:5', 'test-api_lms.R:310:5',
'test-api_lms.R:338:5', 'test-api_lms.R:771:5', 'test-api_lms.R:785:5',
'test-api_lms.R:798:5', 'test-api_lms.R:810:5', 'test-api_lms.R:828:5',
'test-api_lms.R:845:5', 'test-api_lms.R:866:5'
• empty test (1):
• nzchar(Sys.getenv("_R_CHECK_PACKAGE_NAME_")) is TRUE (1):
'test-knit_functions.R:4:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-assessment_section.R:247:5'): Testing of type of calculators in yaml section of Rmd file ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(...) at test-assessment_section.R:247:5
2. │ └─base::withCallingHandlers(...)
3. └─base::Map(create_question_object, rep(path1, 4))
4. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
5. └─rqti (local) `<fn>`(dots[[1L]][[1L]])
6. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
7. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
8. └─rmarkdown:::stop2(...)
── Error ('test-assessment_test.R:742:5'): Testing a specific attribute 'files' in yaml section of Rmd file ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(section(path)) at test-assessment_test.R:742:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::section(path)
4. └─base::Map(getObject, content)
5. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
6. ├─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
7. └─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
8. └─rqti::create_question_object(object)
9. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
10. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
11. └─rmarkdown:::stop2(...)
── Error ('test-character.R:18:9'): Testing createQtiTest() method for the object of character
in case if the file exist ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(createQtiTest(path_2)) at test-character.R:18:9
2. │ └─base::withCallingHandlers(...)
3. ├─rqti::createQtiTest(path_2)
4. └─rqti::createQtiTest(path_2)
5. └─rqti (local) .local(object, dir)
6. └─rqti::rmd2zip(file, path = dir)
7. └─rqti::create_question_object(file)
8. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
9. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
10. └─rmarkdown:::stop2(...)
── Error ('test-character.R:62:9'): createQtiTask() for character converts Rmd and md files ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(...) at test-character.R:62:9
2. │ └─base::withCallingHandlers(...)
3. ├─rqti::createQtiTask(rmd_path, dir = out_dir, zip = TRUE)
4. └─rqti::createQtiTask(rmd_path, dir = out_dir, zip = TRUE)
5. └─rqti::create_question_object(file)
6. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
7. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
8. └─rmarkdown:::stop2(...)
── Error ('test-character.R:79:9'): getObject() for character handles xml, Rmd, and md files ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─rqti:::getObject(rmd_path) at test-character.R:79:9
2. └─rqti:::getObject(rmd_path)
3. └─rqti::create_question_object(object)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-character.R:126:9'): prepareQTIJSFiles() for character prepares Rmd input ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(prepareQTIJSFiles(rmd_path, out_dir)) at test-character.R:126:9
2. │ └─base::withCallingHandlers(...)
3. ├─rqti:::prepareQTIJSFiles(rmd_path, out_dir)
4. └─rqti:::prepareQTIJSFiles(rmd_path, out_dir)
5. └─rqti::create_question_object(object)
6. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
7. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
8. └─rmarkdown:::stop2(...)
── Error ('test-images.R:2:5'): Markdown image is embedded as Base64 ───────────
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(test_path("file", "rmd", "resolution_image.Rmd")) at test-images.R:2:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:10:5'): Testing SingleChoice where answer is $nummer ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:10:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:32:5'): Testing create_question_object() for SingleChoice class ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:32:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:60:5'): Testing create_question_object() for SingleChoice class: solution ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:60:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:90:5'): Testing create_question_object() for MultipleChoice class:
solution 1 and 2 ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:90:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:118:5'): Testing create_question_object() for MultipleChoice class:
solution 1 and 3 ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:118:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:156:5'): Testing create_question_object() for Essay class ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressWarnings(create_question_object(path)) at test-object_builder.R:156:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::create_question_object(path)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:170:1'): Testing create_question_object() for Entry class ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(create_question_object(path)) at test-object_builder.R:170:1
2. │ └─base::withCallingHandlers(...)
3. └─rqti::create_question_object(path)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:184:1'): Testing create_question_object() for Entry with YAML ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(create_question_object(path)) at test-object_builder.R:184:1
2. │ └─base::withCallingHandlers(...)
3. └─rqti::create_question_object(path)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:256:5'): Testing create_question_object() for Order task ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:256:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:270:5'): Testing create_question_object() for Direct Pair task ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:270:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:292:5'): Testing create_question_object() for OnInColTable task, where as_table=T ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:292:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:314:5'): Testing create_question_object() with conditions: OnInColTable and as_table=F ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(create_question_object(path)) at test-object_builder.R:314:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::create_question_object(path)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:333:5'): Testing create_question_object() for OneInRowTable task ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path1) at test-object_builder.R:333:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:357:5'): Testing create_question_object() for MultipleChoiceTable task ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:357:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:377:5'): Testing create_question_object() for TextGap
(yaml and primitive) tasks ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(create_question_object(path)) at test-object_builder.R:377:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::create_question_object(path)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:445:5'): Testing create_question_object() for InlineChoice
(yaml and primitive) tasks ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(create_question_object(path)) at test-object_builder.R:445:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::create_question_object(path)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:493:5'): Testing create_question_object() for MultipleChoice class
without points ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:493:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:522:5'): Testing the Order task, points are awarded for each correct answer. ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(rmd2xml(path, path = test_path())) at test-object_builder.R:522:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::rmd2xml(path, path = test_path())
4. └─rqti::create_question_object(file)
5. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
6. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
7. └─rmarkdown:::stop2(...)
── Failure ('test-object_builder.R:561:5'): Testing stop message for create_question_object() function
in case the type of the task is not specified properly ) ──
Expected `error_message` to equal `expected_error`.
Differences:
`actual`: "pandoc document conversion failed with error 6"
`expected`: "The type of the task is not specified properly"
── Failure ('test-object_builder.R:578:15'): Testing stop message for create_question_object() function
in case more than 1 option marked as the correct answer
in SingleChoice object) ──
Expected `error_message` to equal `expected_error`.
Differences:
`actual`: "pandoc document conversion failed with error 6"
`expected`: "More than 1 option marked as the correct answer"
── Error ('test-object_builder.R:584:5'): Testing read_table() function: delete the name of cols and rows
for MultipleChoiceTable ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:584:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:602:5'): Testing read_table() function: delete the name of cols and rows
for OneInRowTable ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:602:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:620:5'): Testing read_table() function: delete the name of cols and rows
for OneInColTable ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:620:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:676:5'): adjacent dropdowns are handled without malformed HTML fragments ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(tf) at test-object_builder.R:676:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-qti_exam.R:29:1'): (code run outside of `test_that()`) ─────────
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(...) at test-qti_exam.R:29:1
2. │ └─base::withCallingHandlers(...)
3. └─rqti::section(...)
4. └─base::mapply(make_exam_subsection, files_, seed_number)
5. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
6. └─base::mapply(...)
7. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
8. └─rqti::create_question_object(object)
9. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
10. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
11. └─rmarkdown:::stop2(...)
── Error ('test-rmd2qti.R:5:5'): test rmd2zip ──────────────────────────────────
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(rmd2zip(file, "to_delete/subfolder/test_exam.zip")) at test-rmd2qti.R:5:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::rmd2zip(file, "to_delete/subfolder/test_exam.zip")
4. └─rqti::create_question_object(file)
5. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
6. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
7. └─rmarkdown:::stop2(...)
── Error ('test-rmd2qti.R:20:5'): test rmd2xml ─────────────────────────────────
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(rmd2xml(file, "to_delete/index.xml")) at test-rmd2qti.R:20:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::rmd2xml(file, "to_delete/index.xml")
4. └─rqti::create_question_object(file)
5. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
6. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
7. └─rmarkdown:::stop2(...)
── Error ('test-rmd2qti.R:50:5'): test abbreviate for rmd2xml() in OneInRowTable class ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(rmd2xml(file_sut, "to_delete/index.xml")) at test-rmd2qti.R:50:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::rmd2xml(file_sut, "to_delete/index.xml")
4. └─rqti::create_question_object(file)
5. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
6. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
7. └─rmarkdown:::stop2(...)
── Error ('test-rmd2qti.R:60:5'): test abbreviate for rmd2xml() in OneInColTable class ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(rmd2xml(file_sut, "to_delete/index.xml")) at test-rmd2qti.R:60:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::rmd2xml(file_sut, "to_delete/index.xml")
4. └─rqti::create_question_object(file)
5. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
6. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
7. └─rmarkdown:::stop2(...)
── Error ('test-rmd2qti.R:70:5'): test abbreviate for rmd2xml() in MultipleChoiceTable class ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(rmd2xml(file_sut, "to_delete/index.xml")) at test-rmd2qti.R:70:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::rmd2xml(file_sut, "to_delete/index.xml")
4. └─rqti::create_question_object(file)
5. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
6. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
7. └─rmarkdown:::stop2(...)
── Error ('test-rmd2qti.R:80:5'): test abbreviate for rmd2xml() in DirectPair class ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(rmd2xml(file_sut, "to_delete/index.xml")) at test-rmd2qti.R:80:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::rmd2xml(file_sut, "to_delete/index.xml")
4. └─rqti::create_question_object(file)
5. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
6. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
7. └─rmarkdown:::stop2(...)
── Error ('test-rmd_matchtable.R:4:5'): test inherit OneInRowTable class from Rmd file
if parameter set - as table: T ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(file_sut) at test-rmd_matchtable.R:4:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-rmd_matchtable.R:11:5'): test inherit OneInColTable class from Rmd file
if parameter set - as table: T ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(file_sut) at test-rmd_matchtable.R:11:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-rmd_matchtable.R:18:5'): test inherit DirectedPair class from Rmd file
with out parameter - as table:F ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(create_question_object(file_sut)) at test-rmd_matchtable.R:18:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::create_question_object(file_sut)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-rmd_matchtable.R:25:5'): test inherit OneInRowTable class from Rmd file
with out parameter -as table:F ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(file_sut) at test-rmd_matchtable.R:25:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-rmd_matchtable.R:32:5'): test inherit OneInColTable class from Rmd file
with out parameter - as table:F ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(file_sut) at test-rmd_matchtable.R:32:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-rmd_matchtable.R:39:5'): test inherit MultipleChoiceTable class from Rmd file
with out parameter - as table:F ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(file_sut) at test-rmd_matchtable.R:39:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-rmd_matchtable.R:46:5'): test inherit MultipleChoiceTable class from Rmd file
with out parameter - as table:F ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(file_sut) at test-rmd_matchtable.R:46:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-rqti_project.R:12:5'): Project template creates expected files ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::source(file.path(tmpdir, "main2.R"), chdir = TRUE) at test-rqti_project.R:12:5
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─rqti::section(exercises)
6. └─base::Map(getObject, content)
7. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
8. ├─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
9. └─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
10. └─rqti::create_question_object(object)
11. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
12. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
13. └─rmarkdown:::stop2(...)
── Error ('test-section.R:10:5'): Testing of function section() creates assessment
section correctly ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::section(file, n_variants = num_variants, seed_number = seed_number) at test-section.R:10:5
2. └─base::mapply(make_exam_subsection, files_, seed_number)
3. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
4. └─base::mapply(...)
5. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
6. └─rqti::create_question_object(object)
7. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
8. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
9. └─rmarkdown:::stop2(...)
── Error ('test-section.R:50:5'): Testing of function section() creates assessment section correctly
when by is 'files' ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::section(...) at test-section.R:50:5
2. └─base::lapply(...)
3. └─rqti (local) FUN(X[[i]], ...)
4. └─base::mapply(...)
5. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
6. └─rqti::create_question_object(object)
7. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
8. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
9. └─rmarkdown:::stop2(...)
── Error ('test-section.R:71:15'): Testing of function section() with files and S4 objects creates
assessment section correctly ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::section(content, n_variants = num_variants, seed_number = seed_number) at test-section.R:71:15
2. └─base::mapply(make_exam_subsection, files_, seed_number)
3. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
4. └─base::mapply(...)
5. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
6. └─rqti::create_question_object(object)
7. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
8. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
9. └─rmarkdown:::stop2(...)
── Error ('test-section_builder.R:29:5'): Testing function section() to build permanent AssessmentSection ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::section(c(path1, path2), id = "permanent_section") at test-section_builder.R:29:5
2. └─base::Map(getObject, content)
3. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
4. ├─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
5. └─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
6. └─rqti::create_question_object(object)
7. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
8. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
9. └─rmarkdown:::stop2(...)
── Error ('test-section_builder.R:41:5'): Testing function section() to build variable nested AssessmentSection ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::section(c(path1, path3), 2, id = "variable_section") at test-section_builder.R:41:5
2. └─base::mapply(make_exam_subsection, files_, seed_number)
3. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
4. └─base::mapply(...)
5. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
6. └─rqti::create_question_object(object)
7. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
8. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
9. └─rmarkdown:::stop2(...)
── Error ('test-section_builder.R:80:5'): Testing function section() in the case
num_variants < length(seed_number)) ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::withCallingHandlers(...) at test-section_builder.R:80:5
2. └─rqti::section(...)
3. └─base::mapply(make_exam_subsection, files_, seed_number)
4. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
5. └─base::mapply(...)
6. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
7. └─rqti::create_question_object(object)
8. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
9. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
10. └─rmarkdown:::stop2(...)
── Error ('test-section_builder.R:110:5'): Testing function section() to build variable AssessmentSection for by = 'files' ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::section(file, num_variants, id = "variable_section", by = "files") at test-section_builder.R:110:5
2. └─base::lapply(...)
3. └─rqti (local) FUN(X[[i]], ...)
4. └─base::mapply(...)
5. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
6. └─rqti::create_question_object(object)
7. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
8. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
9. └─rmarkdown:::stop2(...)
── Error ('test-section_builder.R:179:5'): Testing test4opal() and test() function in section_builder.R ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::section(c(path1, path2)) at test-section_builder.R:179:5
2. └─base::Map(getObject, content)
3. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
4. ├─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
5. └─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
6. └─rqti::create_question_object(object)
7. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
8. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
9. └─rmarkdown:::stop2(...)
── Error ('test-verify_qti.R:193:5'): verify_qti validates Rmd file ────────────
Error in `value[[3L]](cond)`: Failed to render Rmd file: /Volumes/Builds/packages/big-sur-arm64/results/4.5/rqti.Rcheck/rqti/rmarkdown/templates/singlechoice-simple/skeleton/skeleton.Rmd
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─rqti::verify_qti(rmd_file, print = F) at test-verify_qti.R:193:5
2. └─rqti::verify_qti(rmd_file, print = F)
3. └─base::tryCatch(...)
4. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. └─value[[3L]](cond)
── Error ('test-verify_qti.R:204:5'): verify_qti validates AssessmentItem object ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(rmd_file) at test-verify_qti.R:204:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-verify_qti.R:222:5'): verify_qti validates AssessmentTest object ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(rmd_file1) at test-verify_qti.R:222:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-verify_qti.R:249:5'): verify_qti prints AssessmentTest validation summaries ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(rmd_file) at test-verify_qti.R:249:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
[ FAIL 58 | WARN 0 | SKIP 20 | PASS 477 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-macos-arm64
Version: 1.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [50s/76s]
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] [schema: imsqti_v2p1p2.xsd]
/Volumes/Temp/tmp/RtmpVVXxYg/file3e04254d0966.xml:2: Element 'invalid': No matching global declaration available for the validation root.
-> <1b>[31m<invalid<1b>[0m/>
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Authors are found in exercises and added as contributors: (author).
Authors are found in exercises and added as contributors: (author).
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Saving _problems/test-object_builder-561.R
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Saving _problems/test-object_builder-578.R
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Saving _problems/test-verify_qti-193.R
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
Unknown option --syntax-highlighting.
Try pandoc --help for more information.
[ FAIL 58 | WARN 0 | SKIP 20 | PASS 477 ]
══ Skipped tests (20) ══════════════════════════════════════════════════════════
• RQTI_API_USER is not set. (18): 'test-api_lms.R:99:5',
'test-api_lms.R:110:5', 'test-api_lms.R:120:5', 'test-api_lms.R:131:5',
'test-api_lms.R:143:5', 'test-api_lms.R:170:5', 'test-api_lms.R:201:5',
'test-api_lms.R:241:5', 'test-api_lms.R:271:5', 'test-api_lms.R:310:5',
'test-api_lms.R:338:5', 'test-api_lms.R:771:5', 'test-api_lms.R:785:5',
'test-api_lms.R:798:5', 'test-api_lms.R:810:5', 'test-api_lms.R:828:5',
'test-api_lms.R:845:5', 'test-api_lms.R:866:5'
• empty test (1):
• nzchar(Sys.getenv("_R_CHECK_PACKAGE_NAME_")) is TRUE (1):
'test-knit_functions.R:4:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-assessment_section.R:247:5'): Testing of type of calculators in yaml section of Rmd file ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(...) at test-assessment_section.R:247:5
2. │ └─base::withCallingHandlers(...)
3. └─base::Map(create_question_object, rep(path1, 4))
4. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
5. └─rqti (local) `<fn>`(dots[[1L]][[1L]])
6. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
7. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
8. └─rmarkdown:::stop2(...)
── Error ('test-assessment_test.R:742:5'): Testing a specific attribute 'files' in yaml section of Rmd file ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(section(path)) at test-assessment_test.R:742:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::section(path)
4. └─base::Map(getObject, content)
5. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
6. ├─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
7. └─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
8. └─rqti::create_question_object(object)
9. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
10. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
11. └─rmarkdown:::stop2(...)
── Error ('test-character.R:18:9'): Testing createQtiTest() method for the object of character
in case if the file exist ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(createQtiTest(path_2)) at test-character.R:18:9
2. │ └─base::withCallingHandlers(...)
3. ├─rqti::createQtiTest(path_2)
4. └─rqti::createQtiTest(path_2)
5. └─rqti (local) .local(object, dir)
6. └─rqti::rmd2zip(file, path = dir)
7. └─rqti::create_question_object(file)
8. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
9. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
10. └─rmarkdown:::stop2(...)
── Error ('test-character.R:62:9'): createQtiTask() for character converts Rmd and md files ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(...) at test-character.R:62:9
2. │ └─base::withCallingHandlers(...)
3. ├─rqti::createQtiTask(rmd_path, dir = out_dir, zip = TRUE)
4. └─rqti::createQtiTask(rmd_path, dir = out_dir, zip = TRUE)
5. └─rqti::create_question_object(file)
6. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
7. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
8. └─rmarkdown:::stop2(...)
── Error ('test-character.R:79:9'): getObject() for character handles xml, Rmd, and md files ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─rqti:::getObject(rmd_path) at test-character.R:79:9
2. └─rqti:::getObject(rmd_path)
3. └─rqti::create_question_object(object)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-character.R:126:9'): prepareQTIJSFiles() for character prepares Rmd input ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(prepareQTIJSFiles(rmd_path, out_dir)) at test-character.R:126:9
2. │ └─base::withCallingHandlers(...)
3. ├─rqti:::prepareQTIJSFiles(rmd_path, out_dir)
4. └─rqti:::prepareQTIJSFiles(rmd_path, out_dir)
5. └─rqti::create_question_object(object)
6. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
7. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
8. └─rmarkdown:::stop2(...)
── Error ('test-images.R:2:5'): Markdown image is embedded as Base64 ───────────
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(test_path("file", "rmd", "resolution_image.Rmd")) at test-images.R:2:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:10:5'): Testing SingleChoice where answer is $nummer ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:10:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:32:5'): Testing create_question_object() for SingleChoice class ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:32:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:60:5'): Testing create_question_object() for SingleChoice class: solution ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:60:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:90:5'): Testing create_question_object() for MultipleChoice class:
solution 1 and 2 ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:90:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:118:5'): Testing create_question_object() for MultipleChoice class:
solution 1 and 3 ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:118:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:156:5'): Testing create_question_object() for Essay class ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressWarnings(create_question_object(path)) at test-object_builder.R:156:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::create_question_object(path)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:170:1'): Testing create_question_object() for Entry class ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(create_question_object(path)) at test-object_builder.R:170:1
2. │ └─base::withCallingHandlers(...)
3. └─rqti::create_question_object(path)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:184:1'): Testing create_question_object() for Entry with YAML ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(create_question_object(path)) at test-object_builder.R:184:1
2. │ └─base::withCallingHandlers(...)
3. └─rqti::create_question_object(path)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:256:5'): Testing create_question_object() for Order task ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:256:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:270:5'): Testing create_question_object() for Direct Pair task ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:270:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:292:5'): Testing create_question_object() for OnInColTable task, where as_table=T ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:292:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:314:5'): Testing create_question_object() with conditions: OnInColTable and as_table=F ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(create_question_object(path)) at test-object_builder.R:314:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::create_question_object(path)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:333:5'): Testing create_question_object() for OneInRowTable task ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path1) at test-object_builder.R:333:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:357:5'): Testing create_question_object() for MultipleChoiceTable task ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:357:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:377:5'): Testing create_question_object() for TextGap
(yaml and primitive) tasks ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(create_question_object(path)) at test-object_builder.R:377:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::create_question_object(path)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:445:5'): Testing create_question_object() for InlineChoice
(yaml and primitive) tasks ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(create_question_object(path)) at test-object_builder.R:445:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::create_question_object(path)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:493:5'): Testing create_question_object() for MultipleChoice class
without points ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:493:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:522:5'): Testing the Order task, points are awarded for each correct answer. ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(rmd2xml(path, path = test_path())) at test-object_builder.R:522:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::rmd2xml(path, path = test_path())
4. └─rqti::create_question_object(file)
5. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
6. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
7. └─rmarkdown:::stop2(...)
── Failure ('test-object_builder.R:561:5'): Testing stop message for create_question_object() function
in case the type of the task is not specified properly ) ──
Expected `error_message` to equal `expected_error`.
Differences:
`actual`: "pandoc document conversion failed with error 6"
`expected`: "The type of the task is not specified properly"
── Failure ('test-object_builder.R:578:15'): Testing stop message for create_question_object() function
in case more than 1 option marked as the correct answer
in SingleChoice object) ──
Expected `error_message` to equal `expected_error`.
Differences:
`actual`: "pandoc document conversion failed with error 6"
`expected`: "More than 1 option marked as the correct answer"
── Error ('test-object_builder.R:584:5'): Testing read_table() function: delete the name of cols and rows
for MultipleChoiceTable ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:584:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:602:5'): Testing read_table() function: delete the name of cols and rows
for OneInRowTable ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:602:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:620:5'): Testing read_table() function: delete the name of cols and rows
for OneInColTable ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(path) at test-object_builder.R:620:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-object_builder.R:676:5'): adjacent dropdowns are handled without malformed HTML fragments ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(tf) at test-object_builder.R:676:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-qti_exam.R:29:1'): (code run outside of `test_that()`) ─────────
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(...) at test-qti_exam.R:29:1
2. │ └─base::withCallingHandlers(...)
3. └─rqti::section(...)
4. └─base::mapply(make_exam_subsection, files_, seed_number)
5. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
6. └─base::mapply(...)
7. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
8. └─rqti::create_question_object(object)
9. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
10. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
11. └─rmarkdown:::stop2(...)
── Error ('test-rmd2qti.R:5:5'): test rmd2zip ──────────────────────────────────
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(rmd2zip(file, "to_delete/subfolder/test_exam.zip")) at test-rmd2qti.R:5:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::rmd2zip(file, "to_delete/subfolder/test_exam.zip")
4. └─rqti::create_question_object(file)
5. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
6. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
7. └─rmarkdown:::stop2(...)
── Error ('test-rmd2qti.R:20:5'): test rmd2xml ─────────────────────────────────
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(rmd2xml(file, "to_delete/index.xml")) at test-rmd2qti.R:20:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::rmd2xml(file, "to_delete/index.xml")
4. └─rqti::create_question_object(file)
5. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
6. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
7. └─rmarkdown:::stop2(...)
── Error ('test-rmd2qti.R:50:5'): test abbreviate for rmd2xml() in OneInRowTable class ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(rmd2xml(file_sut, "to_delete/index.xml")) at test-rmd2qti.R:50:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::rmd2xml(file_sut, "to_delete/index.xml")
4. └─rqti::create_question_object(file)
5. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
6. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
7. └─rmarkdown:::stop2(...)
── Error ('test-rmd2qti.R:60:5'): test abbreviate for rmd2xml() in OneInColTable class ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(rmd2xml(file_sut, "to_delete/index.xml")) at test-rmd2qti.R:60:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::rmd2xml(file_sut, "to_delete/index.xml")
4. └─rqti::create_question_object(file)
5. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
6. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
7. └─rmarkdown:::stop2(...)
── Error ('test-rmd2qti.R:70:5'): test abbreviate for rmd2xml() in MultipleChoiceTable class ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(rmd2xml(file_sut, "to_delete/index.xml")) at test-rmd2qti.R:70:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::rmd2xml(file_sut, "to_delete/index.xml")
4. └─rqti::create_question_object(file)
5. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
6. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
7. └─rmarkdown:::stop2(...)
── Error ('test-rmd2qti.R:80:5'): test abbreviate for rmd2xml() in DirectPair class ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(rmd2xml(file_sut, "to_delete/index.xml")) at test-rmd2qti.R:80:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::rmd2xml(file_sut, "to_delete/index.xml")
4. └─rqti::create_question_object(file)
5. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
6. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
7. └─rmarkdown:::stop2(...)
── Error ('test-rmd_matchtable.R:4:5'): test inherit OneInRowTable class from Rmd file
if parameter set - as table: T ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(file_sut) at test-rmd_matchtable.R:4:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-rmd_matchtable.R:11:5'): test inherit OneInColTable class from Rmd file
if parameter set - as table: T ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(file_sut) at test-rmd_matchtable.R:11:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-rmd_matchtable.R:18:5'): test inherit DirectedPair class from Rmd file
with out parameter - as table:F ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::suppressMessages(create_question_object(file_sut)) at test-rmd_matchtable.R:18:5
2. │ └─base::withCallingHandlers(...)
3. └─rqti::create_question_object(file_sut)
4. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
5. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
6. └─rmarkdown:::stop2(...)
── Error ('test-rmd_matchtable.R:25:5'): test inherit OneInRowTable class from Rmd file
with out parameter -as table:F ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(file_sut) at test-rmd_matchtable.R:25:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-rmd_matchtable.R:32:5'): test inherit OneInColTable class from Rmd file
with out parameter - as table:F ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(file_sut) at test-rmd_matchtable.R:32:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-rmd_matchtable.R:39:5'): test inherit MultipleChoiceTable class from Rmd file
with out parameter - as table:F ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(file_sut) at test-rmd_matchtable.R:39:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-rmd_matchtable.R:46:5'): test inherit MultipleChoiceTable class from Rmd file
with out parameter - as table:F ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(file_sut) at test-rmd_matchtable.R:46:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-rqti_project.R:12:5'): Project template creates expected files ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::source(file.path(tmpdir, "main2.R"), chdir = TRUE) at test-rqti_project.R:12:5
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─rqti::section(exercises)
6. └─base::Map(getObject, content)
7. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
8. ├─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
9. └─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
10. └─rqti::create_question_object(object)
11. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
12. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
13. └─rmarkdown:::stop2(...)
── Error ('test-section.R:10:5'): Testing of function section() creates assessment
section correctly ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::section(file, n_variants = num_variants, seed_number = seed_number) at test-section.R:10:5
2. └─base::mapply(make_exam_subsection, files_, seed_number)
3. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
4. └─base::mapply(...)
5. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
6. └─rqti::create_question_object(object)
7. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
8. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
9. └─rmarkdown:::stop2(...)
── Error ('test-section.R:50:5'): Testing of function section() creates assessment section correctly
when by is 'files' ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::section(...) at test-section.R:50:5
2. └─base::lapply(...)
3. └─rqti (local) FUN(X[[i]], ...)
4. └─base::mapply(...)
5. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
6. └─rqti::create_question_object(object)
7. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
8. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
9. └─rmarkdown:::stop2(...)
── Error ('test-section.R:71:15'): Testing of function section() with files and S4 objects creates
assessment section correctly ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::section(content, n_variants = num_variants, seed_number = seed_number) at test-section.R:71:15
2. └─base::mapply(make_exam_subsection, files_, seed_number)
3. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
4. └─base::mapply(...)
5. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
6. └─rqti::create_question_object(object)
7. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
8. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
9. └─rmarkdown:::stop2(...)
── Error ('test-section_builder.R:29:5'): Testing function section() to build permanent AssessmentSection ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::section(c(path1, path2), id = "permanent_section") at test-section_builder.R:29:5
2. └─base::Map(getObject, content)
3. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
4. ├─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
5. └─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
6. └─rqti::create_question_object(object)
7. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
8. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
9. └─rmarkdown:::stop2(...)
── Error ('test-section_builder.R:41:5'): Testing function section() to build variable nested AssessmentSection ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::section(c(path1, path3), 2, id = "variable_section") at test-section_builder.R:41:5
2. └─base::mapply(make_exam_subsection, files_, seed_number)
3. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
4. └─base::mapply(...)
5. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
6. └─rqti::create_question_object(object)
7. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
8. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
9. └─rmarkdown:::stop2(...)
── Error ('test-section_builder.R:80:5'): Testing function section() in the case
num_variants < length(seed_number)) ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─base::withCallingHandlers(...) at test-section_builder.R:80:5
2. └─rqti::section(...)
3. └─base::mapply(make_exam_subsection, files_, seed_number)
4. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
5. └─base::mapply(...)
6. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
7. └─rqti::create_question_object(object)
8. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
9. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
10. └─rmarkdown:::stop2(...)
── Error ('test-section_builder.R:110:5'): Testing function section() to build variable AssessmentSection for by = 'files' ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::section(file, num_variants, id = "variable_section", by = "files") at test-section_builder.R:110:5
2. └─base::lapply(...)
3. └─rqti (local) FUN(X[[i]], ...)
4. └─base::mapply(...)
5. └─rqti (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
6. └─rqti::create_question_object(object)
7. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
8. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
9. └─rmarkdown:::stop2(...)
── Error ('test-section_builder.R:179:5'): Testing test4opal() and test() function in section_builder.R ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::section(c(path1, path2)) at test-section_builder.R:179:5
2. └─base::Map(getObject, content)
3. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
4. ├─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
5. └─rqti (local) `<stndrdGn>`(dots[[1L]][[1L]])
6. └─rqti::create_question_object(object)
7. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
8. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
9. └─rmarkdown:::stop2(...)
── Error ('test-verify_qti.R:193:5'): verify_qti validates Rmd file ────────────
Error in `value[[3L]](cond)`: Failed to render Rmd file: /Volumes/Builds/packages/big-sur-x86_64/results/4.5/rqti.Rcheck/rqti/rmarkdown/templates/singlechoice-simple/skeleton/skeleton.Rmd
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. ├─rqti::verify_qti(rmd_file, print = F) at test-verify_qti.R:193:5
2. └─rqti::verify_qti(rmd_file, print = F)
3. └─base::tryCatch(...)
4. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. └─value[[3L]](cond)
── Error ('test-verify_qti.R:204:5'): verify_qti validates AssessmentItem object ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(rmd_file) at test-verify_qti.R:204:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-verify_qti.R:222:5'): verify_qti validates AssessmentTest object ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(rmd_file1) at test-verify_qti.R:222:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
── Error ('test-verify_qti.R:249:5'): verify_qti prints AssessmentTest validation summaries ──
Error: pandoc document conversion failed with error 6
Backtrace:
▆
1. └─rqti::create_question_object(rmd_file) at test-verify_qti.R:249:5
2. └─rqti:::pandoc_html_convert(file_p, "_temp_pandoc.html", tdir)
3. └─rmarkdown::pandoc_convert(input_file, options = options, wd = dir_name)
4. └─rmarkdown:::stop2(...)
[ FAIL 58 | WARN 0 | SKIP 20 | PASS 477 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-macos-x86_64