-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from jamesdunham/0.2.9
Release 0.2.9
- Loading branch information
Showing
92 changed files
with
1,770 additions
and
12,569 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
^.*\.Rproj$ | ||
^.*\.Rdata$ | ||
^.*\.png$ | ||
^.*\.Rproj$ | ||
^.*tar.gz$ | ||
^Makefile$ | ||
^README.Rmd$ | ||
^README_cache$ | ||
^README/$ | ||
^README/ | ||
^\.DS_Store$ | ||
^\.Rproj\.user$ | ||
^\.travis\.yml$ | ||
^packrat/ | ||
^appveyor\.yml$ | ||
^codecov\.yml$ | ||
^cran-comments\.md$ | ||
^data-ext/ | ||
^docs/ | ||
^wercker\.yml$ | ||
^packrat/ | ||
^readme-cache/ | ||
^setup.r$ | ||
^Makefile$ | ||
^.*tar.gz$ | ||
^\.Rproj\.user$ | ||
^codecov\.yml$ | ||
^appveyor\.yml$ | ||
^cran-comments\.md$ | ||
|
||
^wercker\.yml$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
.Rproj.user | ||
README_cache/ | ||
dgo.Rcheck/ | ||
*.tar.gz | ||
readme-cache | ||
src/*.o | ||
src/*.so | ||
src/include/models.hpp.bak |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,53 @@ | ||
# Makefile for development use | ||
|
||
PKG := $(shell head -1 DESCRIPTION | sed 's/Package: //' | cat) | ||
VERSION := $(shell sed -n 3p DESCRIPTION | sed 's/Version: //' | cat) | ||
BINARY := dgo_$(VERSION).tar.gz | ||
BINARY := $(PKG)_$(VERSION).tar.gz | ||
MAKEFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST))) | ||
CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MAKEFILE_PATH)))) | ||
R_ARGS := --no-site-file --no-environ --no-save \ | ||
--no-restore --no-resave-data --no-manual --quiet | ||
ifneq (, $(findstring r-devel,$(CURRENT_DIR))) | ||
R := R_devel.sh | ||
else | ||
R := R | ||
endif | ||
|
||
all: clean build check install readme | ||
|
||
quick: clean | ||
|
||
all: build check install readme doc | ||
clean: | ||
@rm -rf src/*.so src/*.o *tar.gz *Rcheck* | ||
|
||
build: | ||
R --no-site-file --no-environ \ | ||
--no-save --no-restore --quiet CMD build . \ | ||
--no-resave-data --no-manual | ||
$(R) $(R_ARGS) CMD build . | ||
|
||
build-cran: | ||
$(R) CMD build . --no-resave-data --no-manual | ||
|
||
check: | ||
R CMD check dgo_$(VERSION).tar.gz | ||
$(R) CMD check $(PKG)_$(VERSION).tar.gz | ||
|
||
check-cran: | ||
R CMD check --as-cran dgo_$(VERSION).tar.gz | ||
$(R) CMD check --as-cran $(PKG)_$(VERSION).tar.gz | ||
|
||
install: dgo_$(VERSION).tar.gz | ||
R CMD INSTALL --no-multiarch --with-keep.source dgo_$(VERSION).tar.gz | ||
check-quick $(PKG)_$(VERSION).tar.gz: | ||
$(R) $(R_ARGS) CMD build . | ||
$(R) CMD check $(PKG)_$(VERSION).tar.gz | ||
|
||
install: $(PKG)_$(VERSION).tar.gz | ||
$(R) CMD INSTALL --no-multiarch --with-keep.source \ | ||
$(PKG)_$(VERSION).tar.gz | ||
|
||
install-code: | ||
R CMD INSTALL --no-multiarch --with-keep.source --no-docs . | ||
$(R) CMD INSTALL --no-multiarch --with-keep.source --no-docs . | ||
|
||
readme: dgo_$(VERSION).tar.gz | ||
R --vanilla --slave -e "rmarkdown::render('README.Rmd')" | ||
install-quick: | ||
$(R) CMD INSTALL --no-multiarch --no-docs --no-html \ | ||
--with-keep.source . | ||
|
||
doc: dgo_$(VERSION).tar.gz | ||
R CMD check --no-install --no-tests --no-examples dgo_$(VERSION).tar.gz | ||
readme: $(PKG)_$(VERSION).tar.gz | ||
$(R) --vanilla --slave -e "rmarkdown::render('README.Rmd')" | ||
|
||
quick-install: | ||
R CMD INSTALL --no-multiarch --no-docs --no-html \ | ||
--with-keep.source . | ||
docs: | ||
$(R) --vanilla --slave -e "devtools::document()" | ||
|
||
quick-check dgo_$(VERSION).tar.gz: | ||
R --no-site-file --no-environ \ | ||
--no-save --no-restore --quiet CMD build . \ | ||
--no-resave-data --no-manual | ||
R CMD check dgo_$(VERSION).tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.