-
Notifications
You must be signed in to change notification settings - Fork 85
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
cf34716
commit 7a447e6
Showing
42 changed files
with
65 additions
and
2,912 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 |
---|---|---|
|
@@ -22,4 +22,7 @@ revdep* | |
README.Rmd | ||
^altdoc$ | ||
^docs$ | ||
^docs/$ | ||
^vignettes/ | ||
Makefile | ||
^_quarto$ |
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 |
---|---|---|
|
@@ -5,3 +5,6 @@ | |
*.DS_Store | ||
README.html | ||
altdoc/freeze.rds | ||
_quarto/ | ||
!_quarto/_freeze/ | ||
docs/ |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.PHONY: help website | ||
|
||
BOOK_DIR := book | ||
|
||
help: ## Display this help screen | ||
@echo -e "\033[1mAvailable commands:\033[0m\n" | ||
@grep -E '^[a-z.A-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-18s\033[0m %s\n", $$1, $$2}' | sort | ||
|
||
document: ## document | ||
Rscript -e "devtools::document()" | ||
|
||
check: document ## check | ||
Rscript -e "devtools::check()" | ||
|
||
install: document ## install | ||
Rscript -e "devtools::install(dependencies = TRUE)" | ||
|
||
test: install ## test | ||
Rscript -e "library(countrycode);devtools::test()" | ||
|
||
website: install ## render vignettes and website | ||
Rscript -e "altdoc::render_docs(verbose = TRUE)" | ||
rm -rf _quarto | ||
rm -rf ~/Downloads/countrycode_website && cp -r docs ~/Downloads/countrycode_website |
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
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,18 +1,9 @@ | ||
* [Home](/) | ||
* Vignettes: | ||
- [Country codes](vignettes/countrycode.md) | ||
- [Country names](vignettes/countryname.md) | ||
- [Custom conversion functions](vignettes/custom.md) | ||
- [Contributions](vignettes/contributions.md) | ||
* Functions and dictionaries: | ||
- [countrycode](man/countrycode) | ||
- [countryname](man/countryname) | ||
- [get_dictionary](man/get_dictionary) | ||
- [guess_field](man/guess_field) | ||
- [cldr_examples](man/cldr_examples) | ||
- [codelist_panel](man/codelist_panel) | ||
- [codelist](man/codelist) | ||
- [countryname_dict](man/countryname_dict) | ||
* [News](NEWS.md) | ||
* [License](LICENSE.md) | ||
* [Citation](CITATION.md) | ||
* Articles: $ALTDOC_VIGNETTE_BLOCK | ||
* Reference: $ALTDOC_MAN_BLOCK | ||
* [News]($ALTDOC_NEWS) | ||
* [Changelog]($ALTDOC_CHANGELOG) | ||
* [Code of Conduct]($ALTDOC_CODE_OF_CONDUCT) | ||
* [License]($ALTDOC_LICENSE) | ||
* [Licence]($ALTDOC_LICENCE) | ||
* [Citation]($ALTDOC_CITATION) |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
format: | ||
md: | ||
prefer-html: true | ||
--- | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
format: | ||
md: | ||
prefer_html: true | ||
default-image-extension: "" | ||
--- |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
always_allow_html: yes | ||
--- | ||
|
Empty file.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.