checkLibrary: modelstat

View source: R/checkLibrary.R

checkLibraryR Documentation

modelstat

Description

Function to check if the library functions work with the newest magpie version

Usage

checkLibrary(gdx, level = NULL)

Arguments

gdx

GDX file

level

Level of regional aggregation; "reg" (regional), "glo" (global), "regglo" (regional and global) or any other aggregation level defined in superAggregate

Details

This function simply tries to run all functions in the magpie library on the provided gdx file.

Value

A list with three entries:

  • notest Testing these functions was impossible because there wer missing arguments.

  • error These functions could not be executed properly.

  • fine Everything was fine with these functions.

Author(s)

Markus Bonsch

Examples


  ## Not run: 
    x <- modelstat(gdx)
  
## End(Not run)


pik-piam/magpie4 documentation built on April 22, 2024, 3:34 p.m.