Skip to content

Commit

Permalink
Prepare for unit change
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoch94 committed Sep 5, 2024
1 parent 0cf81eb commit 74b33b7
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: mrdrivers
Type: Package
Title: Create GDP and Population Scenarios
Version: 2.0.3
Version: 2.0.3.9001
Authors@R: c(person(given = "Johannes",
family = "Koch",
email = "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion R/calcGDP.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#' }
#'
calcGDP <- function(scenario = c("SSPs", "SDPs", "SSP2EU"),
unit = "constant 2005 Int$PPP",
unit = "constant 2017 Int$PPP",
average2020 = TRUE,
...) {
# Check user input
Expand Down
2 changes: 1 addition & 1 deletion R/calcGDPPast.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#' @inheritParams calcGDP
#' @inheritSection calcScenarioConstructor Combining data sources with "-"
#' @keywords internal
calcGDPPast <- function(GDPPast = "WDI-MI", unit = "constant 2005 Int$PPP") { # nolint
calcGDPPast <- function(GDPPast = "WDI-MI", unit = "constant 2017 Int$PPP") { # nolint
# Check user input
toolCheckUserInput("GDPPast", as.list(environment()))
# Call calcInternalGDPPast function the appropriate number of times (map) and combine (reduce)
Expand Down
2 changes: 1 addition & 1 deletion R/calcGDPpc.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#' }
#'
calcGDPpc <- function(scenario = c("SSPs", "SDPs", "SSP2EU"),
unit = "constant 2005 Int$PPP",
unit = "constant 2017 Int$PPP",
average2020 = TRUE,
...) {
# Check user input
Expand Down
4 changes: 2 additions & 2 deletions man/calcGDP.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/calcGDPPast.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/toolGetUnitDollar.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 74b33b7

Please sign in to comment.