aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Kellner <ken@kenkellner.com>2023-12-07 13:30:50 -0500
committerKen Kellner <ken@kenkellner.com>2023-12-07 13:30:50 -0500
commit79265cea70a8d8278bcd5b2405292988477c247b (patch)
treed243a67a84e2aba11695a70242e8f38dc35de313
parent73ba3afb173749b8eb6883c7a1599a50c8bf67ec (diff)
Update Makefile
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c4d8db4..a923636 100644
--- a/Makefile
+++ b/Makefile
@@ -11,11 +11,15 @@ check:
make build
cd ..; R CMD check $(NAME)_$(VER).tar.gz
+cran-check:
+ make build
+ cd ..; R CMD check --as-cran $(NAME)_$(VER).tar.gz
+
test:
make install
Rscript -e "Sys.setenv("AT_HOME" = "TRUE"); tinytest::test_package('jagsUI')"
coverage:
make install
- Rscript -e 'covr::report(file="/tmp/jagsUI-report.html")'
+ Rscript -e 'Sys.setenv("AT_HOME" = "TRUE"); covr::report(file="/tmp/jagsUI-report.html")'
firefox /tmp/jagsUI-report.html