R/site_models_to_xml_tracelog.R

Defines functions site_models_to_xml_tracelog

#' Creates the site models' XML for the tracelog section
#' @inheritParams default_params_doc
#' @return lines of XML text
#' @seealso the complete tracelog section is created
#'   by \code{\link{create_beast2_input_tracelog}}
#' @examples
#' # <logger id="tracelog" ...>
#' #'   # Here
#' # </logger>
#' @author Richèl J.C. Bilderbeek
#' @noRd
site_models_to_xml_tracelog <- function(
  site_models
) {
  text <- NULL
  for (site_model in site_models) {
    text <- c(text, site_model_to_xml_tracelog(site_model)) # nolint beautier function
  }
  text
}
ropensci/beautier documentation built on March 12, 2019, 8:27 p.m.