Skip to content

Commit

Permalink
Fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoch94 committed Feb 21, 2025
1 parent cd9f241 commit 35d3593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/calcCapTarget.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#'
calcCapTarget <- function(sources) {

if (! sources %in% c("REN21", "UNFCCC_NDC", "UNFCCC_NDC+REN21+CHN_NUC")) {
if (! sources %in% c("REN21", "UNFCCC_NDC", "UNFCCC_NDC+REN21+CHN_NUC", "NewClimate")) {
stop("Unknown 'sources' argument.")
}

Expand Down

0 comments on commit 35d3593

Please sign in to comment.