- using R version 4.4.3 (2025-02-28)
- using platform: aarch64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.7.8
- using session charset: UTF-8
- checking for file ‘rotulador/DESCRIPTION’ ... OK
- this is package ‘rotulador’ version ‘1.0.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘rotulador’ can be installed ... [1s/1s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [1s/1s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking examples ... [0s/0s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [1s/1s] ERROR
Running ‘testthat.R’ [1s/1s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library("testthat") # nolint unused_import_linter
> library("rotulador") # nolint unused_import_linter
>
> test_check("rotulador")
Saving _problems/test-render_code-10.R
Saving _problems/test-render_code-57.R
Saving _problems/test-render_code-115.R
Saving _problems/test-render_code-169.R
[ FAIL 4 | WARN 4 | SKIP 0 | PASS 34 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-render_code.R:10:9'): Rmd file is correct ──────────────────────
Error in `generate_rmd_file(content = content, output_format = output_format, code = code, ...)`: Assertion on 'content' failed: Must be of type 'character', not 'NULL'.
Backtrace:
▆
1. ├─base::file.path(render_code(eval = FALSE), "template.Rmd") at test-render_code.R:10:9
2. └─rotulador::render_code(eval = FALSE)
3. └─rotulador::generate_rmd_file(...)
4. └─checkmate::assert_character(content)
5. └─checkmate::makeAssertion(x, res, .var.name, add)
6. └─checkmate:::mstop(...)
── Error ('test-render_code.R:57:9'): Rmd file is correct ──────────────────────
Error in `generate_rmd_file(content = content, output_format = output_format, code = code, ...)`: Assertion on 'content' failed: Must be of type 'character', not 'NULL'.
Backtrace:
▆
1. ├─base::file.path(render_code(eval = FALSE), "template.Rmd") at test-render_code.R:57:9
2. └─rotulador::render_code(eval = FALSE)
3. └─rotulador::generate_rmd_file(...)
4. └─checkmate::assert_character(content)
5. └─checkmate::makeAssertion(x, res, .var.name, add)
6. └─checkmate:::mstop(...)
── Error ('test-render_code.R:115:9'): PDF Output file is correct ──────────────
Error in `generate_rmd_file(content = content, output_format = output_format, code = code, ...)`: Assertion on 'content' failed: Must be of type 'character', not 'NULL'.
Backtrace:
▆
1. └─rotulador::render_code(output_format = "pdf_document") at test-render_code.R:115:9
2. └─rotulador::generate_rmd_file(...)
3. └─checkmate::assert_character(content)
4. └─checkmate::makeAssertion(x, res, .var.name, add)
5. └─checkmate:::mstop(...)
── Error ('test-render_code.R:166:9'): Other output file is correct ────────────
Error in `generate_rmd_file(content = content, output_format = output_format, code = code, ...)`: Assertion on 'content' failed: Must be of type 'character', not 'NULL'.
Backtrace:
▆
1. ├─base::file.path(...) at test-render_code.R:166:9
2. └─rotulador::render_code(output_format = "html_document")
3. └─rotulador::generate_rmd_file(...)
4. └─checkmate::assert_character(content)
5. └─checkmate::makeAssertion(x, res, .var.name, add)
6. └─checkmate:::mstop(...)
[ FAIL 4 | WARN 4 | SKIP 0 | PASS 34 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [2s/2s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '