-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c70941f
commit c339756
Showing
14 changed files
with
10 additions
and
2,318 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,37 +1,8 @@ | ||
all: vignettes overviewgh build ghdocs | ||
all: build | ||
|
||
.FORCE: | ||
|
||
vignettes: .FORCE | ||
cat vig_head.Rmd | sed 's/{title}/Overview/g' > vig_temp.Rmd | ||
cat vig_temp.Rmd vig_body.Rmd > vignettes/overview.Rmd | ||
rm vig_temp.Rmd | ||
cat vig_head.Rmd | sed 's/{title}/BTM/g' > vig_temp.Rmd | ||
cat vig_temp.Rmd btm.Rmd > vignettes/btm.Rmd | ||
rm vig_temp.Rmd | ||
cat vig_head.Rmd | sed 's/{title}/Deploy/g' > vig_temp.Rmd | ||
cat vig_temp.Rmd deploy.Rmd > vignettes/deploy.Rmd | ||
rm vig_temp.Rmd | ||
|
||
overviewgh: vignettes | ||
cat gh_head.Rmd | sed 's/{title}/Overview/g' > gh_temp.Rmd | ||
cat gh_temp.Rmd vig_body.Rmd > overview_gh.Rmd | ||
rm gh_temp.Rmd | ||
cat gh_head.Rmd | sed 's/{title}/BTM/g' > gh_temp.Rmd | ||
cat gh_temp.Rmd btm.Rmd > btm_gh.Rmd | ||
rm gh_temp.Rmd | ||
cat gh_head.Rmd | sed 's/{title}/Deploy/g' > gh_temp.Rmd | ||
cat gh_temp.Rmd deploy.Rmd > gh_temp2.Rmd | ||
cat gh_temp2.Rmd | sed 's;figures;vignettes/figures;g' > deploy_gh.Rmd | ||
rm gh_temp.Rmd gh_temp2.Rmd | ||
|
||
build: vignettes | ||
build: | ||
Rscript -e "devtools::document()" | ||
Rscript -e "devtools::install(quick = TRUE, upgrade = 'never')" | ||
Rscript -e "devtools::check()" | ||
|
||
ghdocs: overviewgh | ||
Rscript -e "rmarkdown::render('README.Rmd')" | ||
Rscript -e "rmarkdown::render('overview_gh.Rmd')" | ||
Rscript -e "rmarkdown::render('btm_gh.Rmd')" | ||
Rscript -e "rmarkdown::render('deploy_gh.Rmd')" |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.