R/site_models_to_xml_operators.R

Defines functions site_models_to_xml_operators

#' @inheritParams default_params_doc
#' @return lines of XML text
#' @author Richèl J.C. Bilderbeek
#' @noRd
site_models_to_xml_operators <- function(
  site_models
) {
  testit::assert(are_site_models(site_models)) # nolint beautier function

  text <- NULL
  for (site_model in site_models) {
    text <- c(text, site_model_to_xml_operators(site_model)) # nolint beautier function
  }
  text
}
ropensci/beautier documentation built on March 12, 2019, 8:27 p.m.