Rbuildignore node_modules

This commit is contained in:
Tom Elliott 2025-01-22 20:45:21 +13:00
parent 3357cd8e4d
commit 1c29c8dd09
3 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,4 @@
^LICENSE\.md$ ^LICENSE\.md$
^README\.Rmd$ ^README\.Rmd$
^Makefile$ ^Makefile$
node_modules

View File

@ -8,6 +8,9 @@ document:
install: document install: document
R CMD INSTALL . R CMD INSTALL .
check:
Rscript -e "devtools::check()"
README.md: README.Rmd install README.md: README.Rmd install
Rscript -e "rmarkdown::render('README.Rmd')" Rscript -e "rmarkdown::render('README.Rmd')"
@rm README.html @rm README.html

View File

@ -50,10 +50,6 @@ ts_compile.character <- function(
sprintf("export default {\n %s\n};", paste(ls(e), collapse = ",\n ")) sprintf("export default {\n %s\n};", paste(ls(e), collapse = ",\n "))
) )
# if (file != "" && file.exists(file)) {
# stop(sprintf("File exists: %s", file))
# return()
# }
cat(src, file = file, sep = "\n") cat(src, file = file, sep = "\n")
invisible() invisible()