Skip to content

Commit

Permalink
Merge pull request #28 from johannah-pik/AdjustReporting
Browse files Browse the repository at this point in the history
bugfix load gdx file
  • Loading branch information
johannah-pik authored Nov 4, 2024
2 parents cc2278b + c508d47 commit 5818c91
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .buildlibrary
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ValidationKey: '1201560'
ValidationKey: '1221891'
AutocreateReadme: yes
AcceptedWarnings:
- 'Warning: package ''.*'' was built under R version'
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ cff-version: 1.2.0
message: If you use this software, please cite it using the metadata from this file.
type: software
title: 'reporttransport: Reporting package for edgeTransport'
version: 0.6.0
date-released: '2024-10-30'
version: 0.6.1
date-released: '2024-11-04'
abstract: This package contains edgeTransport-specific routines to report model results.
The main functionality is to generate transport reporting variables in MIF format
from a given edgeTransport model run folder or REMIND input data.
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Type: Package
Package: reporttransport
Title: Reporting package for edgeTransport
Version: 0.6.0
Date: 2024-10-30
Version: 0.6.1
Date: 2024-11-04
Authors@R:
person("Johanna", "Hoppe", , "[email protected]", role = c("aut", "cre"))
Description: This package contains edgeTransport-specific routines to
Expand Down
2 changes: 1 addition & 1 deletion R/reportEdgeTransport.R
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ reportEdgeTransport <- function(folderPath = file.path(".", "EDGE-T"), data = NU
if (is.null(data$scenarioName)) data$scenarioName <- paste0(data$transportPolScen, " ", data$SSPscen)
if (is.null(data$modelName)) data$modelName <- "EDGE-T"

if (is.null(data$gdxPath)) {
if (is.null(data$gdxPath) & isTransportExtendedReported) {
gdxPath <- list.files(path = folderPath, pattern = "\\.gdx$", full.names = TRUE)
# Check if any files were found
if (length(gdxPath) > 1) {
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Reporting package for edgeTransport

R package **reporttransport**, version **0.6.0**
R package **reporttransport**, version **0.6.1**

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

Expand Down Expand Up @@ -41,7 +41,7 @@ In case of questions / problems please contact Johanna Hoppe <johanna.hoppe@pik-

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

Hoppe J (2024). _reporttransport: Reporting package for edgeTransport_. R package version 0.6.0, <https://github.com/pik-piam/reporttransport>.
Hoppe J (2024). _reporttransport: Reporting package for edgeTransport_. R package version 0.6.1, <https://github.com/pik-piam/reporttransport>.

A BibTeX entry for LaTeX users is

Expand All @@ -50,7 +50,7 @@ A BibTeX entry for LaTeX users is
title = {reporttransport: Reporting package for edgeTransport},
author = {Johanna Hoppe},
year = {2024},
note = {R package version 0.6.0},
note = {R package version 0.6.1},
url = {https://github.com/pik-piam/reporttransport},
}
```

0 comments on commit 5818c91

Please sign in to comment.