I'm trying to build a bookdown book in rstudio.cloud because I think the idea of authoring an R book using a Chromebook is pretty amazing. However, when I try to build the book using the "build website" button in the GUI I get the following error:
==> rmarkdown::render_site(encoding = 'UTF-8')
R -e 'bookdown::render_book("index.Rmd", output=bookdown::gitbook())'
Makefile:5: recipe for target 'book' failed
make: R: Command not found
make: *** [book] Error 127
Error in render_book_script(output_format, envir, quiet) :
Error 2 attempting to render book
Calls: -> -> in_dir -> render_book_script
Exited with status 1.
Error 127 possibly indicates that R can't find the compiler, maybe? Based on this: https://github.com/metrumresearchgroup/mrgsolve/issues/160
Other clues online make me think maybe this is an issue with not having enough RAM: https://stackoverflow.com/questions/34687030/pandoc-document-conversion-failed-with-error-127
Any tips on how to avoid the error?