check_site_model: Check if the site model is a valid site model

View source: R/check_site_model.R

check_site_modelR Documentation

Check if the site model is a valid site model

Description

Calls stop if the site models are invalid

Usage

check_site_model(site_model)

Arguments

site_model

a site model, as returned by create_site_model

Value

nothing

Author(s)

Richèl J.C. Bilderbeek

See Also

Use create_site_model to create a valid site model

Examples

check_empty_beautier_folder()

check_site_model(create_jc69_site_model())
check_site_model(create_hky_site_model())
check_site_model(create_tn93_site_model())
check_site_model(create_gtr_site_model())

# Can use list of one site model
check_site_model(list(create_jc69_site_model()))

check_empty_beautier_folder()

ropensci/beautier documentation built on July 9, 2024, 6:14 a.m.