From 9411139beee167c5339e96db448e5dbed19e06bc Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 5 Jul 2018 18:44:22 +0200 Subject: Maintenance in preparation of improvements - Switch vignette to html - Switch tests to testthat - NEWS.md instead of ChangeLog - Remove names of y in lists returned by lod and loq --- GNUmakefile | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 730c460..3f16fbc 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -15,25 +15,16 @@ README.html: README.md build: "$(RBIN)/R" CMD build . -build-no-vignettes: - "$(RBIN)/R" CMD build --no-build-vignettes . - install: build "$(RBIN)/R" CMD INSTALL $(TGZ) -install-no-vignettes: build-no-vignettes - "$(RBIN)/R" CMD INSTALL $(TGZ) - check: build "$(RBIN)/R" CMD check --as-cran $(TGZ) -check-no-vignettes: build-no-vignettes - "$(RBIN)/R" CMD check --as-cran $(TGZ) - -vignettes/%.pdf: vignettes/%.Rnw +vignettes/%.html: vignettes/%.Rmd "$(RBIN)/Rscript" -e "tools::buildVignette(file = 'vignettes/$*.Rnw', dir = 'vignettes')" -vignettes: vignettes/chemCal.pdf +vignettes: vignettes/chemCal.html pd: "$(RBIN)/Rscript" -e "pkgdown::build_site()" @@ -46,3 +37,6 @@ winbuilder: build curl -T $(TGZ) ftp://anonymous@win-builder.r-project.org/R-release/ @echo "Uploading to R-devel on win-builder" curl -T $(TGZ) ftp://anonymous@win-builder.r-project.org/R-devel/ + +test: install + NOT_CRAN=true "$(RBIN)/Rscript" -e 'devtools::test()' -- cgit v1.2.1