Closed isabelizimm closed 1 year ago
in parity with https://github.com/rstudio/vetiver-r/issues/84 and https://github.com/rstudio/vetiver-r/pull/166
This PR deprecates the ptype_data argument in favor of prototype_data.
ptype_data
prototype_data
VetiverModel(model, "my_model", ptype_data = X_train)
Will result in: Deprecation warning: argument for saving input data prototype has changed to save_prototype, from save_ptype
Deprecation warning: argument for saving input data prototype has changed to save_prototype, from save_ptype
The argument name change is not reflected in functions such as vetiver_create_ptype that are almost exclusively used in programmatic model creation.
vetiver_create_ptype
in parity with https://github.com/rstudio/vetiver-r/issues/84 and https://github.com/rstudio/vetiver-r/pull/166
This PR deprecates the
ptype_data
argument in favor ofprototype_data
.Will result in:
Deprecation warning: argument for saving input data prototype has changed to save_prototype, from save_ptype
The argument name change is not reflected in functions such as
vetiver_create_ptype
that are almost exclusively used in programmatic model creation.