Skip to content

Commit

Permalink
Declutter
Browse files Browse the repository at this point in the history
  • Loading branch information
chainsawriot committed Dec 26, 2023
1 parent c70941f commit c339756
Show file tree
Hide file tree
Showing 14 changed files with 10 additions and 2,318 deletions.
33 changes: 2 additions & 31 deletions Makefile
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')"
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ set.seed(42)

The goal of oolong ^[/ˈuːlʊŋ/ 烏龍, literally means "Dark Dragon", is a semi-oxidized tea from Asia. It is very popular in Taiwan, Japan and Hong Kong. In Cantonese and Taiwanese Mandarin, the same word can also mean "confused". It perfectly captures the spirit of human-in-the-loop validation. ] is to generate and administrate validation tests easily for typical automated content analysis tools such as topic models and dictionary-based tools.

Please refer to the [overview](overview_gh.md) for an introduction to this package. If you need to deploy the test online, please refer to the [Deployment Vignette](deploy_gh.md). If you use BTM, please refer to the [BTM Vignette](btm_gh.md).
Please refer to the [overview](https://gesistsa.github.io/oolong/articles/overview.html) for an introduction to this package. If you need to deploy the test online, please refer to the [Deployment Vignette](https://gesistsa.github.io/oolong/articles/deploy.html). If you use BTM, please refer to the [BTM Vignette](https://gesistsa.github.io/oolong/articles/btm.html).

## Citation

Expand Down
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@ The goal of oolong \[1\] is to generate and administrate validation
tests easily for typical automated content analysis tools such as topic
models and dictionary-based tools.

Please refer to the [overview](overview_gh.md) for an introduction to
this package. If you need to deploy the test online, please refer to the
[Deployment Vignette](deploy_gh.md). If you use BTM, please refer to the
[BTM Vignette](btm_gh.md).
Please refer to the
[overview](https://gesistsa.github.io/oolong/articles/overview.html) for
an introduction to this package. If you need to deploy the test online,
please refer to the [Deployment
Vignette](https://gesistsa.github.io/oolong/articles/deploy.html). If
you use BTM, please refer to the [BTM
Vignette](https://gesistsa.github.io/oolong/articles/btm.html).

## Citation

Expand Down
94 changes: 0 additions & 94 deletions btm.Rmd

This file was deleted.

110 changes: 0 additions & 110 deletions btm_gh.Rmd

This file was deleted.

Loading

0 comments on commit c339756

Please sign in to comment.