Skip to content

Commit

Permalink
bug fix for reporting names
Browse files Browse the repository at this point in the history
  • Loading branch information
mppalves committed Feb 28, 2022
1 parent cd3fc1f commit 4552b12
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .buildlibrary
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ValidationKey: '45069934'
ValidationKey: '45093717'
AutocreateReadme: yes
AcceptedWarnings:
- 'Warning: package ''.*'' was built under R version'
Expand Down
2 changes: 1 addition & 1 deletion .zenodo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "mrvalidation: madrat data preparation for validation purposes",
"version": "2.36.6",
"version": "2.36.7",
"description": "<p>Package contains routines to prepare data for validation exercises.<\/p>",
"creators": [
{
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: mrvalidation
Type: Package
Title: madrat data preparation for validation purposes
Version: 2.36.6
Date: 2022-02-26
Version: 2.36.7
Date: 2022-02-28
Authors@R: c(person("Benjamin Leon", "Bodirsky", email = "[email protected]", role = c("aut","cre")),
person("Stephen", "Wirth", role = "aut"),
person("Kristine", "Karstens", role = "aut"),
Expand Down
2 changes: 1 addition & 1 deletion R/calcValidLand.R
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ calcValidLand <- function(datasource="MAgPIEown"){
main <- mbind(main,setNames(dimSums(main,dim=3),"Resources|Land Cover (million ha)"))

grassland <- setNames(calcOutput("LanduseInitialisation", nclasses="nine", fao_corr=TRUE,aggregate = FALSE)[,,c("past", "range")], c("pastr", "range"))
grassland <- setNames(grassland, paste0("Resources|Land Cover|+|",reportingnames(getNames(grassland,dim=1))," (million ha)"))
grassland <- setNames(grassland, paste0("Resources|Land Cover|",reportingnames(getNames(grassland,dim=1))," (million ha)"))

forest <- c("primforest","secdforest","forestry")
forest <- x[,,forest]
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# madrat data preparation for validation purposes

R package **mrvalidation**, version **2.36.6**
R package **mrvalidation**, version **2.36.7**

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

Expand Down Expand Up @@ -38,7 +38,7 @@ In case of questions / problems please contact Benjamin Leon Bodirsky <bodirsky@

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

Bodirsky B, Wirth S, Karstens K, Humpenoeder F, Stevanovic M, Mishra A, Biewald A, Weindl I, Beier F, Chen D, Crawford M, Molina Bacca E, Kreidenweis U, W. Yalew A, Humpenoeder F, von Jeetze P, Wang X, Dietrich J, Alves M (2022). _mrvalidation: madrat data preparation for validation purposes_. doi: 10.5281/zenodo.4317826 (URL: https://doi.org/10.5281/zenodo.4317826), R package version 2.36.6, <URL: https://github.com/pik-piam/mrvalidation>.
Bodirsky B, Wirth S, Karstens K, Humpenoeder F, Stevanovic M, Mishra A, Biewald A, Weindl I, Beier F, Chen D, Crawford M, Molina Bacca E, Kreidenweis U, W. Yalew A, Humpenoeder F, von Jeetze P, Wang X, Dietrich J, Alves M (2022). _mrvalidation: madrat data preparation for validation purposes_. doi: 10.5281/zenodo.4317826 (URL: https://doi.org/10.5281/zenodo.4317826), R package version 2.36.7, <URL: https://github.com/pik-piam/mrvalidation>.

A BibTeX entry for LaTeX users is

Expand All @@ -47,7 +47,7 @@ A BibTeX entry for LaTeX users is
title = {mrvalidation: madrat data preparation for validation purposes},
author = {Benjamin Leon Bodirsky and Stephen Wirth and Kristine Karstens and Florian Humpenoeder and Mishko Stevanovic and Abhijeet Mishra and Anne Biewald and Isabelle Weindl and Felicitas Beier and David Chen and Michael Crawford and Edna {Molina Bacca} and Ulrich Kreidenweis and Amsalu {W. Yalew} and Florian {Humpenoeder } and Patrick {von Jeetze } and Xiaoxi Wang and Jan Philipp Dietrich and Marcos Alves},
year = {2022},
note = {R package version 2.36.6},
note = {R package version 2.36.7},
doi = {10.5281/zenodo.4317826},
url = {https://github.com/pik-piam/mrvalidation},
}
Expand Down

0 comments on commit 4552b12

Please sign in to comment.