R/conversion-meta-nm.R

#' @include meta.R
#' @include model.R
#' @include nm_model.R


setMethod(
  f = "convert",
  signature = c(target = "NmModel", source = "Model", component = "Metadata"),
  definition = function(target, source, component, options) {
    if (component@name == "dataset") {
      target <- target + nm_data(path = component@value)
    }
    target
  }
)

Try the assemblerr package in your browser

Any scripts or data that you put into this service are public.

assemblerr documentation built on Jan. 13, 2022, 1:07 a.m.