Skip to content

Commit

Permalink
update mrtutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
David Chen committed Mar 7, 2022
1 parent 12deccc commit 552a5a1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .buildlibrary
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ValidationKey: '533624'
ValidationKey: '552682'
AcceptedWarnings:
- 'Warning: package ''.*'' was built under R version'
- 'Warning: namespace ''.*'' is not available and has been replaced'
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": "mrtutorial: Tutorial Package For Madrat Package Library",
"version": "0.2.8",
"version": "0.2.9",
"description": "<p>Example package of mr- world libraries, in conjunction with MAgPIE MADRat tutorial. For more information please see: https://github.com/magpiemodel/tutorials/tree/master/madrat .<\/p>",
"creators": [
{
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: mrtutorial
Type: Package
Title: Tutorial Package For Madrat Package Library
Date: 2022-03-07
Version: 0.2.8
Version: 0.2.9
Authors@R:
person("David Meng-Chuen", "Chen", email = "[email protected]", role = c("aut","cre"))
Description: Example package of mr- world libraries, in conjunction with MAgPIE MADRat tutorial. For more information please see: https://github.com/magpiemodel/tutorials/tree/master/madrat .
Expand Down
5 changes: 1 addition & 4 deletions R/fullTUTORIALVALIDATION.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,10 @@ fullTUTORIALVALIDATION <- function(rev = 0.1) {
# Please put the validation.mif into your output folder.
# Use retrieveData("VALIDATION") to create a .tgz

file.copy(lucode2::path(paste0(getConfig("mainfolder"), "/output/"), "validation.mif"),
lucode2::path(getConfig("outputfolder"), "validation.mif"))

valfile <- "validation.mif"

# Add your validation scripts here
calcOutput(type = "ValidPopulation", datasource = "WDI", aggregate = "REG+GLO",
file = valfile, append = TRUE, na_warning = FALSE, try = TRUE)
file = valfile, append = TRUE, warnNA = FALSE, try = TRUE)

}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Tutorial Package For Madrat Package Library

R package **mrtutorial**, version **0.2.8**
R package **mrtutorial**, version **0.2.9**

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

Expand Down Expand Up @@ -38,7 +38,7 @@ In case of questions / problems please contact David Meng-Chuen Chen <david.chen

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

Chen D (2022). _mrtutorial: Tutorial Package For Madrat Package Library_. R package version 0.2.8.
Chen D (2022). _mrtutorial: Tutorial Package For Madrat Package Library_. R package version 0.2.9.

A BibTeX entry for LaTeX users is

Expand All @@ -47,6 +47,6 @@ A BibTeX entry for LaTeX users is
title = {mrtutorial: Tutorial Package For Madrat Package Library},
author = {David Meng-Chuen Chen},
year = {2022},
note = {R package version 0.2.8},
note = {R package version 0.2.9},
}
```

0 comments on commit 552a5a1

Please sign in to comment.