Skip to content

fit.model_spec() and fit_xy.model_spec() signature #217

@DavisVaughan

Description

@DavisVaughan

Why are we using the following signatures?

args(parsnip::fit.model_spec)
#> function (object, formula = NULL, data = NULL, control = fit_control(), 
#>     ...) 
#> NULL

args(parsnip::fit_xy.model_spec)
#> function (object, x = NULL, y = NULL, control = fit_control(), 
#>     ...) 
#> NULL

From what I can tell, these are required arguments, not optional, so they should not be given default values.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions