3

When I run R CMD check via devtools::check(), I get the following NOTE:

Non-standard files/directories found at top level: ‘README-unnamed-chunk-3-1.png’ ‘README-unnamed-chunk-4-1.png’

This is a file generated by knitting the README.rmd file. How can I address this note? The source for the package is here.

Joshua Rosenberg
  • 4,014
  • 9
  • 34
  • 73
  • 4
    By using the `.Rbuildignore` file, see [Writing R Extensions](https://cran.r-project.org/doc/manuals/r-release/R-exts.html). – Dirk Eddelbuettel Feb 03 '18 at 18:04
  • 1
    You could also move the figures out of the package root into a more suitable location by setting the figure directory, eg: `opts_chunk$set(fig.path = "inst/figs/")` – alan ocallaghan Feb 03 '18 at 18:09

0 Answers0