* using log directory ‘/Users/ripley/R/packages/tests-devel/starticles.Rcheck’ * using R Under development (unstable) (2023-09-22 r85201) * using platform: aarch64-apple-darwin22.6.0 * R was compiled by Apple clang version 15.0.0 (clang-1500.0.40.1) GNU Fortran (GCC) 12.2.0 * running under: macOS Ventura 13.6 * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘starticles/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘starticles’ version ‘0.1.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 ‘starticles’ can be installed ... OK * 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... NOTE Namespaces in Imports field not imported from: ‘bookdown’ ‘knitr’ ‘rmarkdown’ All declared Imports should be used. * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [24s/41s] ERROR Running examples in ‘starticles-Ex.R’ failed The error most likely occurred in: > ### Name: starticles > ### Title: A Generic, Publisher-Independent Template for Writing Scientific > ### Documents in 'rmarkdown' > ### Aliases: starticles > ### Keywords: package > > ### ** Examples > > # Use a temporary directory ---------------------------- > owd = getwd() > td = tempfile() > dir.create(td,recursive=TRUE) > setwd(td) > print(td) # To see where files will be [1] "/var/folders/pk/n4bndnt1287ctrd_ftthnnnr0000gp/T//Rtmp9AcV0Y/working_dir/Rtmp7eTZDi/filea02b55e409d9" > > # Create the draft template ---------------------------- > rmarkdown::draft("MYARTICLENAME.Rmd","generic_article","starticles",edit=FALSE) > > # Render PDF document ---------------------------------- > # Fails for me when run using RStudio "Run examples" link in help, > # but not when sourced from command line. > > # Requires recent version of pandoc (provided by RStudio) > if (rmarkdown::pandoc_available(version="2.17")) + rmarkdown::render("MYARTICLENAME/MYARTICLENAME.Rmd", + envir=new.env(parent = globalenv())) processing file: MYARTICLENAME.Rmd output file: MYARTICLENAME.knit.md /opt/R/arm64/bin/pandoc +RTS -K512m -RTS MYARTICLENAME.knit.md --to latex --from markdown+autolink_bare_uris+tex_math_single_backslash --output MYARTICLENAME.tex --lua-filter /Users/ripley/R/Library/bookdown/rmarkdown/lua/custom-environment.lua --lua-filter /Users/ripley/R/Library/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /Users/ripley/R/Library/rmarkdown/rmarkdown/lua/latex-div.lua --embed-resources --standalone --template generic_article_template.tex --number-sections --highlight-style tango --pdf-engine pdflatex --wrap preserve --variable tables=yes --standalone -Mhas-frontmatter=false --citeproc ! Undefined control sequence. l.364 ...ticle at the end of a sentence (\citeproc {ref-horvath2018dna}{Horva... Error: LaTeX failed to compile MYARTICLENAME.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See MYARTICLENAME.log for more info. Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘test.starticles.R’ ERROR Running the tests in ‘tests/test.starticles.R’ failed. Complete output: > # Use a temporary directory ---------------------------- > owd = getwd() > td = tempfile() > dir.create(td,recursive=TRUE) > setwd(td) > print(td) # To see where files will be [1] "/var/folders/pk/n4bndnt1287ctrd_ftthnnnr0000gp/T//Rtmp9AcV0Y/working_dir/RtmpRJesm2/fileb5293ab49727" > > # Create the draft template ---------------------------- > rmarkdown::draft("MYARTICLENAME.Rmd","generic_article","starticles",edit=FALSE) > > # Render PDF document ---------------------------------- > # Fails for me when run using RStudio "Run examples" link in help, > # but not when sourced from command line. > > # Requires recent version of pandoc (provided by RStudio) > if (rmarkdown::pandoc_available(version="2.17")) + rmarkdown::render("MYARTICLENAME/MYARTICLENAME.Rmd", + envir=new.env(parent = globalenv())) processing file: MYARTICLENAME.Rmd output file: MYARTICLENAME.knit.md /opt/R/arm64/bin/pandoc +RTS -K512m -RTS MYARTICLENAME.knit.md --to latex --from markdown+autolink_bare_uris+tex_math_single_backslash --output MYARTICLENAME.tex --lua-filter /Users/ripley/R/Library/bookdown/rmarkdown/lua/custom-environment.lua --lua-filter /Users/ripley/R/Library/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /Users/ripley/R/Library/rmarkdown/rmarkdown/lua/latex-div.lua --embed-resources --standalone --template generic_article_template.tex --number-sections --highlight-style tango --pdf-engine pdflatex --wrap preserve --variable tables=yes --standalone -Mhas-frontmatter=false --citeproc ! Undefined control sequence. l.364 ...ticle at the end of a sentence (\citeproc {ref-horvath2018dna}{Horva... Error: LaTeX failed to compile MYARTICLENAME.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See MYARTICLENAME.log for more info. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs, 1 NOTE See ‘/Users/ripley/R/packages/tests-devel/starticles.Rcheck/00check.log’ for details. 60.87 real 26.51 user 14.27 sys