add_model_version.Rd
Add model version
add_model_version(session, model, exact = TRUE, minor = FALSE, ...)
viya_connection object, obtained through session
function
MMmodel
object, project ID or model name. If name, will try to find a single model with exact name match. See exact
parameter
the filter query should use "contains" for partial match or "eq" for exact match
if TRUE
, new minor version is created, by default a major version is created.
additional parameters to be passed to httr::POST
such as httr::add_headers
A data.frame
with the list of projects
if (FALSE) { # \dontrun{
my_model <- get_model(sess, model = "MyModel")
nvmodel <- add_model_version(sess, my_model)
nvmodel
} # }