Skip to content

Commit

Permalink
Merge pull request #166 from orichters/sectoralCO2tax
Browse files Browse the repository at this point in the history
reporting for sector-differentiated CO2 taxes for NGFS project
  • Loading branch information
orichters authored Jan 25, 2022
2 parents d1c3148 + f4e50bd commit 555634c
Show file tree
Hide file tree
Showing 7 changed files with 145 additions and 80 deletions.
3 changes: 2 additions & 1 deletion .buildlibrary
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
ValidationKey: '32728257'
ValidationKey: '32899410'
AcceptedWarnings:
- 'Warning: package ''.*'' was built under R version'
- 'Warning: namespace ''.*'' is not available and has been replaced'
- .*qpdf.* is needed for checks on size reduction of PDFs
AcceptedNotes:
- Imports includes .* non-default packages.
- unable to verify current time
- checking installed package size
AutocreateReadme: yes
allowLinterWarnings: yes
2 changes: 1 addition & 1 deletion .zenodo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "remind2: The REMIND R package (2nd generation)",
"version": "1.72.1",
"version": "1.73.0",
"description": "<p>Contains the REMIND-specific routines for data and model output manipulation.<\/p>",
"creators": [
{
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: remind2
Type: Package
Title: The REMIND R package (2nd generation)
Version: 1.72.1
Version: 1.73.0
Date: 2022-01-25
Authors@R: as.person(c(
"Renato Rodrigues <renato.rodrigues@pik-potsdam.de> [aut,cre]"))
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export(reportTrade)
export(toolRegionSubsets)
export(validationREMIND)
export(validationSummary)
import(magclass)
importFrom(RColorBrewer,brewer.pal)
importFrom(abind,abind)
importFrom(assertr,assert)
Expand Down
2 changes: 1 addition & 1 deletion R/reportFE.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ reportFE <- function(gdx, regionSubsetList = NULL,
vm_demFeSector[is.na(vm_demFeSector)] <- 0

# only retain combinations of SE, FE, sector, and emiMkt which actually exist in the model (see qm_balFe)
vm_demFeSector_new <- vm_demFeSector[demFemapping]
vm_demFeSector <- vm_demFeSector[demFemapping]

# only retain combinations of SE, FE, te which actually exist in the model (qm_balFe)
vm_prodFe <- vm_prodFe[se2fe]
Expand Down
209 changes: 136 additions & 73 deletions R/reportPrices.R

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The REMIND R package (2nd generation)

R package **remind2**, version **1.72.1**
R package **remind2**, version **1.73.0**

[![CRAN status](https://www.r-pkg.org/badges/version/remind2)](https://cran.r-project.org/package=remind2) [![R build status](https://github.com/pik-piam/remind2/workflows/check/badge.svg)](https://github.com/pik-piam/remind2/actions) [![codecov](https://codecov.io/gh/pik-piam/remind2/branch/master/graph/badge.svg)](https://codecov.io/gh/pik-piam/remind2) [![r-universe](https://pik-piam.r-universe.dev/badges/remind2)](https://pik-piam.r-universe.dev/ui#builds)

Expand Down Expand Up @@ -47,7 +47,7 @@ In case of questions / problems please contact Renato Rodrigues <renato.rodrigue

To cite package **remind2** in publications use:

Rodrigues R (2022). _remind2: The REMIND R package (2nd generation)_. R package version 1.72.1, <URL: https://github.com/pik-piam/remind2>.
Rodrigues R (2022). _remind2: The REMIND R package (2nd generation)_. R package version 1.73.0, <URL: https://github.com/pik-piam/remind2>.

A BibTeX entry for LaTeX users is

Expand All @@ -56,7 +56,7 @@ A BibTeX entry for LaTeX users is
title = {remind2: The REMIND R package (2nd generation)},
author = {Renato Rodrigues},
year = {2022},
note = {R package version 1.72.1},
note = {R package version 1.73.0},
url = {https://github.com/pik-piam/remind2},
}
```

0 comments on commit 555634c

Please sign in to comment.