I am getting an error when trying to preview a chapter (or knit the whole book) in bookdown.
`R> bookdown::preview_chapter("io56-intro-rmarkdown.Rmd")
Error: path for html_dependency not found: `
This occurred after I tried to change my version of R by installing the mac M1 version, which may have borked the paths.
Currently running:
R> sessionInfo()
R version 4.1.2 (2021-11-01)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Big Sur 11.6
Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/lib/libRlapack.dylib
I have
- updated RStudio
- Updated R packages
- cleared the knitr cache
- Note that markdown:render("io56-intro-rmarkdown.Rmd") does generate an html file, which I find puzzling.
Any ideas on how to fix the path for html_dependency and restore my ability to preview/Knit?
(I don't know how to find/reveal the current html_dependency path)
It appears that this (might) not be fixable with current RStudio/M1 combination??
thanks for your help!
Peter