From 0a3eb0893cb4bd1b12f07a79069d1c7f5e991495 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 25 Oct 2019 00:37:42 +0200 Subject: Use roxygen for functions and methods --- GNUmakefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 231273c1..a98129e0 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -39,11 +39,14 @@ $(TGZ): $(pkgfiles) vignettes $(RM) Rplots.pdf "$(RBIN)/R" CMD build . 2>&1 | tee build.log +roxygen: + "$(RBIN)/Rscript" -e 'devtools::document()' + $(TGZVNR): $(pkgfiles) "$(RBIN)/R" CMD build . --no-build-vignettes;\ mv $(TGZ) $(TGZVNR) -build: $(TGZ) +build: roxygen $(TGZ) build-no-vignettes: $(TGZVNR) @@ -53,10 +56,10 @@ install: build quickinstall: build-no-vignettes "$(RBIN)/R" CMD INSTALL $(TGZVNR) -check: build +check: roxygen build _R_CHECK_CRAN_INCOMING_REMOTE_=false "$(RBIN)/R" CMD check --as-cran --no-tests $(TGZ) 2>&1 | tee check.log -quickcheck: build-no-vignettes +quickcheck: roxygen build-no-vignettes mv $(TGZVNR) $(TGZ) "$(RBIN)/R" CMD check --no-tests --no-build-vignettes --no-vignettes $(TGZ) mv $(TGZ) $(TGZVNR) -- cgit v1.2.1