From 7ce12ec6886ee4955cdd7cfc1abb6eca64734c25 Mon Sep 17 00:00:00 2001 From: "Aaron A. King" Date: Mon, 17 Jul 2023 10:23:05 -0400 Subject: [PATCH] update rules.mk --- rules.mk | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/rules.mk b/rules.mk index 15100e4..19e7603 100644 --- a/rules.mk +++ b/rules.mk @@ -41,6 +41,9 @@ rsession: RSESSION = R default: .roxy .NEWS .instdocs .source .includes .headers @echo $(PKGVERS) +version: + @echo $(PKGVERS) + roxy: .roxy dist: .dist @@ -65,9 +68,9 @@ INSTALLCMD = devtools::install(args=c("--preclean","--html","--library=library") check xcheck ycheck qcheck qqcheck: .check -vcheck: check/$(PKG).Rcheck/$(PKG)-Ex.R +vcheck: check $(REXE) -d "valgrind -s --tool=memcheck --track-origins=yes --leak-check=full"\ - < $^ 2>&1 | tee $(PKG)-Ex.Rout + < check/$(PKG).Rcheck/$(PKG)-Ex.R 2>&1 | tee $(PKG)-Ex.Rout NEWS: .NEWS @@ -142,11 +145,14 @@ rhub: covr: covr.rds covr.rds: DESCRIPTION - $(REXE) -e 'library(covr); package_coverage(type="all") -> cov; report(cov,file="covr.html",browse=TRUE); saveRDS(cov,file="covr.rds")' + $(REXE) -e 'library(covr); package_coverage(type="all") -> cov; saveRDS(cov,file="covr.rds")' xcovr: covr $(REXE) -e 'library(covr); readRDS("covr.rds") -> cov; codecov(coverage=cov,quiet=FALSE)' +vcovr: covr + $(REXE) -e 'library(covr); readRDS("covr.rds") -> cov; report(cov,file="covr.html",browse=TRUE)' + win: dist curl -T $(TARBALL) ftp://win-builder.r-project.org/R-release/