Running ‘test.R’ [6s/9s]
Running the tests in ‘tests/test.R’ failed.
Complete output:
  > # Use the default data to avoid token requirement for testing purposes
  > # Generate markdown text string
  > library(issueReporter)
  > setwd(tempdir())
  > 
  > testMD <- issuesData2md()
  > 
  > # Use default data to generate PDF
  > issuesGenPDF(style = "tint",
  +              RmdLocation =  system.file("rmarkdown/templates/", "tint.Rmd",
  +                                         package = "issueReporter"),
  +              outputFile = tempfile(pattern="ir", fileext=".pdf"),
  +              outputDir = tempdir(),
  +              md = testMD,
  +              setTitle = "Example Notes",
  +              setAuthor = "Author Name")
  
  
  processing file: tint.Rmd
     inline R code fragments
  
  label: setup (with options) 
  List of 1
   $ include: logi FALSE
  
    ordinary text without R code
  
  label: unnamed-chunk-1 (with options) 
  List of 2
   $ results: chr "asis"
   $ echo   : logi FALSE
  
    ordinary text without R code
  
  output file: tint.knit.md
  
  /usr/bin/pandoc +RTS -K512m -RTS tint.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output /tmp/RtmpOQJWU9/ir354828250030.tex --template /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/tint/rmarkdown/templates/pdf/resources/tintPdf-template.tex --highlight-style pygments --latex-engine pdflatex --natbib --variable 'documentclass:tufte-handout' 
  Latexmk: This is Latexmk, John Collins, 1 January 2015, version: 4.41.
  Rule 'pdflatex': File changes, etc:
     Changed files, or newly in use since previous run(s):
        'ir354828250030.aux'
  ------------
  Run number 1 of rule 'pdflatex'
  ------------
  ------------
  Running 'pdflatex  -halt-on-error -interaction=batchmode -recorder  "/tmp/RtmpOQJWU9/ir354828250030.tex"'
  ------------
  Latexmk: applying rule 'pdflatex'...
  This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) (preloaded format=pdflatex)
   restricted \write18 enabled.
  entering extended mode
  Latexmk: Found input bbl file 'ir354828250030.bbl'
  Latexmk: Log file says output to 'ir354828250030.pdf'
  Rule 'pdflatex': File changes, etc:
     Changed files, or newly in use since previous run(s):
        'ir354828250030.out'
  ------------
  Run number 2 of rule 'pdflatex'
  ------------
  ------------
  Running 'pdflatex  -halt-on-error -interaction=batchmode -recorder  "/tmp/RtmpOQJWU9/ir354828250030.tex"'
  ------------
  Latexmk: applying rule 'pdflatex'...
  This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) (preloaded format=pdflatex)
   restricted \write18 enabled.
  entering extended mode
  Latexmk: Found input bbl file 'ir354828250030.bbl'
  Latexmk: Log file says output to 'ir354828250030.pdf'
  Latexmk: All targets (ir354828250030.pdf) are up-to-date
  Latexmk: This is Latexmk, John Collins, 1 January 2015, version: 4.41.
  File::Glob::glob() will disappear in perl 5.30. Use File::Glob::bsd_glob() instead. at /usr/bin/latexmk line 7482.
  
  Latexmk: No file name specified, and I couldn't find any
  Use
     latexmk -help
  to get usage information
  
  Output created: ir354828250030.pdf
  Error in tools::file_path_as_absolute(output_file) : 
    file '/tmp/RtmpOQJWU9/ir354828250030.pdf' does not exist
  Calls: issuesGenPDF -> <Anonymous> -> <Anonymous>
  In addition: Warning messages:
  1: In block_exec(params) : failed to tidy R code in chunk <setup>
  reason: Error in loadNamespace(name) : there is no package called 'formatR'
  
  2: In file.rename(file_with_ext(texfile, "pdf"), output_file) :
    cannot rename file '/tmp/RtmpOQJWU9/ir354828250030.pdf' to '/tmp/RtmpOQJWU9/ir354828250030.pdf', reason 'No such file or directory'
  Execution halted