-
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
80da682
commit 84eaf89
Showing
7 changed files
with
44 additions
and
10 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 |
---|---|---|
|
@@ -20,3 +20,4 @@ | |
^tests/.lintr$ | ||
^vignettes/.lintr$ | ||
^CRAN-SUBMISSION$ | ||
^Makefile$ |
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,7 +1,7 @@ | ||
Package: GDPuc | ||
Title: Easily Convert GDP Data | ||
Version: 0.9.2 | ||
Date: 2022-09-19 | ||
Version: 0.10.0 | ||
Date: 2023-01-03 | ||
Authors@R: | ||
person("Johannes", "Koch", , "[email protected]", role = c("aut", "cre")) | ||
Description: A function to convert GDP time series from one unit to | ||
|
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,28 @@ | ||
.PHONY: help build check test lint format | ||
.DEFAULT_GOAL = help | ||
|
||
# extracts the help text and formats it nicely | ||
HELP_PARSING = 'm <- readLines("Makefile");\ | ||
m <- grep("\#\#", m, value=TRUE);\ | ||
command <- sub("^([^ ]*) *\#\#(.*)", "\\1", m);\ | ||
help <- sub("^([^ ]*) *\#\#(.*)", "\\2", m);\ | ||
cat(sprintf("%-8s%s", command, help), sep="\n")' | ||
|
||
help: ## Show this help. | ||
@Rscript -e $(HELP_PARSING) | ||
|
||
build: ## Build the package using lucode2::buildLibrary() | ||
Rscript -e 'lucode2::buildLibrary()' | ||
|
||
check: ## Build documentation and vignettes, run testthat tests, | ||
## and check if code etiquette is followed using lucode2::check() | ||
Rscript -e 'lucode2::check()' | ||
|
||
test: ## Run testthat tests | ||
Rscript -e 'devtools::test(show_report = TRUE)' | ||
|
||
lint: ## Check if code etiquette is followed using lucode2::lint() | ||
Rscript -e 'lucode2::lint()' | ||
|
||
format: ## Apply auto-formatting to changed files and lint afterwards | ||
Rscript -e 'lucode2::autoFormat()' |