- using R version 4.3.2 (2023-10-31)
- using platform: x86_64-apple-darwin20 (64-bit)
- 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.3.1
- using session charset: UTF-8
- checking for file ‘knitr/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘knitr’ version ‘1.46’
- 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 ‘knitr’ can be installed ... [7s/14s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R 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 startup messages can be suppressed ... [0s/0s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [10s/21s] OK
- checking Rd files ... [1s/1s] 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 sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [3s/6s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [10s/21s] OK
Running ‘run-all.R’ [10s/21s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking running R code from vignettes ... [4s/6s] ERROR
Errors in running code in vignettes:
when running code in ‘knit_expand.Rmd’
...
</html>
> src = lapply(names(mtcars)[-1], function(i) {
+ knit_expand(text = c("# Regression on {{i}}", "```{r lm-{{i}}}",
+ "lm(mpg~{{i}}, data= ..." ... [TRUNCATED]
> res = knit_child(text = unlist(src))
When sourcing ‘knit_expand.R’:
Error: character argument expected
Execution halted
when running code in ‘docco-classic.Rmd’
...
> x[i] = "knitr::rocco"
> library(knitr)
> cat(knit_child(text = x, quiet = TRUE), sep = "\n")
When sourcing ‘docco-classic.R’:
Error: character argument expected
Execution halted
‘knitr-refcard.Rmd’ using ‘UTF-8’... [0s/0s] OK
‘datatables.Rmd’ using ‘UTF-8’... [0s/1s] OK
‘knit_expand.Rmd’ using ‘UTF-8’... failed
‘knit_print.Rmd’ using ‘UTF-8’... [0s/1s] OK
‘knitr-html.Rhtml’ using ‘UTF-8’... [0s/1s] OK
‘knitr-intro.Rmd’ using ‘UTF-8’... [0s/1s] OK
‘knitr-markdown.Rmd’ using ‘UTF-8’... [0s/1s] OK
‘docco-classic.Rmd’ using ‘UTF-8’... failed
‘docco-linear.Rmd’ using ‘UTF-8’... [0s/1s] OK
- checking re-building of vignette outputs ... [20s/37s] OK
- checking PDF version of manual ... [8s/16s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '