Skip to content

Commit

Permalink
update rules.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
kingaa committed Jul 17, 2023
1 parent da27552 commit 7ce12ec
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ rsession: RSESSION = R
default: .roxy .NEWS .instdocs .source .includes .headers
@echo $(PKGVERS)

version:
@echo $(PKGVERS)

roxy: .roxy

dist: .dist
Expand All @@ -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

Expand Down Expand Up @@ -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/

Expand Down

0 comments on commit 7ce12ec

Please sign in to comment.