diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2023-04-16 13:41:25 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2023-04-16 13:42:08 +0200 |
commit | 99b4554a1ce657295b1358509110f3d02155a913 (patch) | |
tree | f8f1195ca40a1e3c238077b5a1e8ad4926c08479 /GNUmakefile | |
parent | 910d80dc7793490ca7bde75114215fd38ce08e73 (diff) |
Add coverage target for local coverage report
I get almost 90% when testing locally
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile index 42df55d5..d43a9026 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -121,6 +121,10 @@ pd_all: roxygen "$(RBIN)/Rscript" -e "pkgdown::build_site(run_dont_run = TRUE)" git add -A +coverage: + mkdir -p docs/dev/coverage + "$(RBIN)/Rscript" -e "covr::report(file = 'coverage/coverage.html')" + r-forge: git archive main > $(HOME)/git/mkin/mkin.tar;\ cd $(RFDIR) && rm -r `ls` && tar -xf $(HOME)/git/mkin/mkin.tar;\ |