diff --git a/.Rbuildignore b/.Rbuildignore index b0dba58..2a010db 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -1,3 +1,4 @@ ^LICENSE\.md$ ^README\.Rmd$ ^Makefile$ +node_modules diff --git a/Makefile b/Makefile index 9c45c42..ff55248 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,9 @@ document: install: document R CMD INSTALL . +check: + Rscript -e "devtools::check()" + README.md: README.Rmd install Rscript -e "rmarkdown::render('README.Rmd')" @rm README.html diff --git a/R/compile.R b/R/compile.R index 2a9aa7e..d3d11cd 100644 --- a/R/compile.R +++ b/R/compile.R @@ -50,10 +50,6 @@ ts_compile.character <- function( 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") invisible()