check_model: A function that takes a modelbuilder model and checks it for...

View source: R/check_model.R

check_modelR Documentation

A function that takes a modelbuilder model and checks it for errors

Description

This function takes a modelbuilder model object, and checks that all specifications and constraints for modelbuilder models are met and it is a valid model

Usage

check_model(mbmodel)

Arguments

mbmodel

A model object or file name and location for the model to be loaded.

Details

This function is a helper function

Value

An error message if the model is not properly formulated. If model is ok, it returns NULL.


andreashandel/modelbuilder documentation built on April 16, 2024, 8:48 a.m.