1
1
mirror of https://github.com/foxsen/archbase.git synced 2026-04-02 10:20:39 +08:00

fix: replace little r with Rscript. Little r is not available in default env

This commit is contained in:
Zhang Fuxin
2021-10-27 21:11:01 +08:00
parent 395142c959
commit cd407e0c5a

View File

@@ -1,14 +1,14 @@
all:
r -e 'bookdown::render_book()'
Rscript -e 'bookdown::render_book()'
pdf:
r -e 'bookdown::render_book("index.Rmd", "bookdown::pdf_book")'
Rscript -e 'bookdown::render_book("index.Rmd", "bookdown::pdf_book")'
doc:
r -e 'bookdown::render_book("index.Rmd", "bookdown::word_document2")'
Rscript -e 'bookdown::render_book("index.Rmd", "bookdown::word_document2")'
serve:
r -e 'bookdown::serve_book()'
Rscript -e 'bookdown::serve_book()'
clean:
rm -rf _book _bookdown_files