new_model_butcher: New axe functions for a modeling object.

View source: R/new.R

new_model_butcherR Documentation

New axe functions for a modeling object.

Description

new_model_butcher() will instantiate the following to help us develop new axe functions around removing parts of a new modeling object:

  • Add modeling package to Suggests

  • Generate and populate an axe file under R/

  • Generate and populate an test file under testthat/

Usage

new_model_butcher(model_class, package_name, open = interactive())

Arguments

model_class

A string that captures the class name of the new model object.

package_name

A string that captures the package name from which the new model is made.

open

Check if user is in interactive mode, and if so, opens the new files for editing.


tidymodels/butcher documentation built on April 15, 2024, 9:18 p.m.