When I try to run build_site() for this R package: https://github.com/nschiett/fishualize
I get the following error:
Error in pkgdown::build_site(...) :
unused arguments (install = FALSE, devel = FALSE)
Error: callr subprocess failed: unused arguments (install = FALSE, devel = FALSE)
When I set devel = TRUE it does work, but then I have the issue that the readme files are not written in docs/index_files/figure-html, which was the case before. As a result, the figures are not displayed in the main page.

Any thoughts on what might be going on here?
I just started errors with "Error: callr subprocess failed:" as well. My googling makes me think it's a update to pandoc issue?
For me, I have an image in a vignette that I call like this:

This has always worked in the past (and table1.png is right in the vignettes folder). I've tried a few alternatives of:
<img src="table1.png" align="center" />
and so far, all give:
Error: callr subprocess failed: pandoc document conversion failed with error 99
If I take out that image, everything works fine(...but I kind of want to leave it!)
I think these are likely to be two different issues — you can make them easier to debug by running pkgdown::build_site(new_process = FALSE) so you can get a traceback in the current process.
Thanks for the reply! It's working again now.
@nschiett @ldecicco-USGS did you figure out what's causing the Error: callr subprocess failed: pandoc document conversion failed with error 99 error? My build_site (actually deploy_site_github) worked fine on Travis but started to fail recently, see eg https://travis-ci.org/daroczig/logger/builds/594661593 (most recent success on the same branch unfortunately run only a month ago at https://travis-ci.org/daroczig/logger/builds/580577668 -- although now that failed as well after a restart)
I suspect this is also related to an image at https://github.com/daroczig/logger/blob/master/vignettes/anatomy.Rmd#L18
But I have not changed any vignettes recently, so not sure what's causing the issue. I tried reverting pkgdown to 1.3, but same error happens. The version of pandoc and all the other dependencies seems to be the same, I'm really not sure what's going on.
Yup, that's what's been going on with all my pkgdown sites recently. I've had to switch all the calls to images from either the raw img call (like you have), or the markdown call to:
https://github.com/USGS-R/EGRET/blob/master/vignettes/EGRET.Rmd#L1306
You can add some style I found like this:
https://github.com/USGS-R/toxEval/blob/master/vignettes/shinyApp.Rmd#L60
```{r sideImage, echo=FALSE, fig.align='right', out.extra='style="float:right; padding:10px"'}
knitr::include_graphics("sidebar.png")
```
@ldecicco-USGS thank you very much, knitr::include_graphics indeed fixed the issue -- you helped me a lot :bowing_man:
Most helpful comment
Yup, that's what's been going on with all my pkgdown sites recently. I've had to switch all the calls to images from either the raw img call (like you have), or the markdown call to:
https://github.com/USGS-R/EGRET/blob/master/vignettes/EGRET.Rmd#L1306
You can add some style I found like this:
https://github.com/USGS-R/toxEval/blob/master/vignettes/shinyApp.Rmd#L60
```{r sideImage, echo=FALSE, fig.align='right', out.extra='style="float:right; padding:10px"'} knitr::include_graphics("sidebar.png") ```