munterfi/hereR

Fix CRAN Package Check Warnings for Package

munterfi opened this issue · 2 comments

Fix the Warnings for:

Error message r-patched-solaris-x86 and r-release-osx-x86_64:

checking re-building of vignette outputs ... [37s/43s] WARNING
Error(s) in re-building vignettes:
  ...
--- re-building ‘authentication.Rmd’ using rmarkdown
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
--- finished re-building ‘authentication.Rmd’

--- re-building ‘geocoder.Rmd’ using rmarkdown
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
Quitting from lines 51-58 (geocoder.Rmd) 
Error: processing vignette 'geocoder.Rmd' failed with diagnostics:
cannot open the connection
--- failed re-building ‘geocoder.Rmd’

--- re-building ‘routing.Rmd’ using rmarkdown
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
Quitting from lines 40-48 (routing.Rmd) 
Error: processing vignette 'routing.Rmd' failed with diagnostics:
cannot open the connection
--- failed re-building ‘routing.Rmd’

--- re-building ‘traffic.Rmd’ using rmarkdown
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
Quitting from lines 44-52 (traffic.Rmd) 
Error: processing vignette 'traffic.Rmd' failed with diagnostics:
cannot open the connection
--- failed re-building ‘traffic.Rmd’

--- re-building ‘weather.Rmd’ using rmarkdown
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
Quitting from lines 52-59 (weather.Rmd) 
Error: processing vignette 'weather.Rmd' failed with diagnostics:
cannot open the connection
--- failed re-building ‘weather.Rmd’

SUMMARY: processing the following files failed:
  ‘geocoder.Rmd’ ‘routing.Rmd’ ‘traffic.Rmd’ ‘weather.Rmd’

Error: Vignette re-building failed.
Execution halted

Error message r-oldrel-osx-x86_64 :

checking re-building of vignette outputs ... [4s/4s] WARNING
Error in re-building vignettes:
  ...
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
Quitting from lines 51-58 (geocoder.Rmd) 
Error: processing vignette 'geocoder.Rmd' failed with diagnostics:
cannot open the connection
Execution halted

The solution could be adding to add the chunk option screenshot.force = FALSE,
see: rstudio/DT#395.

Added screenshot.force=FALSE in #20 to the chunk option in vignettes with kables.
After the next submission to CRAN the results have to be checked.

The changes in c394550 had no effect. In the submission of hereR 0.2.1 the same warnings are occurring.