inbo / checklist

An R package for checking R packages and R code
https://inbo.github.io/checklist
GNU General Public License v3.0
19 stars 2 forks source link

Files 'README.md' or 'NEWS.md' cannot be checked without 'pandoc' being installed. #40

Closed hansvancalster closed 3 years ago

hansvancalster commented 3 years ago

@ThierryO the issue with Files 'README.md' or 'NEWS.md' cannot be checked without 'pandoc' being installed. is a known Windows specific issue: https://github.com/r-lib/rcmdcheck/issues/109

The issue is still open. Is the suggestion to add these files to .RBuildIgnore a good one?

Originally posted by @hansvancalster in https://github.com/inbo/protocolhelper/issues/43#issuecomment-805044417

hansvancalster commented 3 years ago

@ThierryO I can also add the files to the .RBuildIgnore of the protocolhelper package. In case I do that, will these changes be overwritten by checklist::setup_package()?

ThierryO commented 3 years ago

checklist::setup_package() will only work when the project is under version control and when the git workspace is clean. If you see any modified files after running checklist::setup_package(), you know that checklist::setup_package() introduced those changes. You can (and should) inspect those changes prior to committing them.

ThierryO commented 3 years ago

The current development of checklist::setup_package() appends to .Rbuildignore rather than overwriting it.