forked from EmilHvitfeldt/smltar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrender_smltar.R
24 lines (16 loc) · 840 Bytes
/
render_smltar.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## assume up-to-date version of R and pandoc
## update renv if needed
##----------------------------------------------------------
## for Julia's ARM mac:
options(reticulate.conda_binary = path.expand("~/miniforge3/bin/conda"))
spacyr::spacy_initialize(condaenv = "tf_env", entity = FALSE)
spacyr::spacy_initialize(entity = FALSE)
##----------------------------------------------------------
## not really necessary because of renv, but if desired
## double check for unexpected GitHub versions (only expect scotus from GH):
deps <- desc::desc_get_deps()
pkgs <- sort(deps$package[deps$type == "Imports"])
sessioninfo::package_info(pkgs, dependencies = FALSE)
##----------------------------------------------------------
bookdown::render_book("index.Rmd", quiet = FALSE)
##----------------------------------------------------------