check_site_models: Check if the object is a list of one or more site models.

View source: R/check_site_models.R

check_site_modelsR Documentation

Check if the object is a list of one or more site models.

Description

Will stop if the object is not a list of one or more site models.

Usage

check_site_models(site_models)

Arguments

site_models

the object to be checked if it is a list of one or more valid site models

Value

nothing. Will stop if the object is not a list of one or more site models.

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_models(create_jc69_site_model())
check_site_models(list(create_jc69_site_model()))
check_site_models(
  list(create_jc69_site_model(), create_gtr_site_model())
)

check_empty_beautier_folder()

beautier documentation built on Nov. 2, 2023, 5:08 p.m.