Skip to content

Print for translated spec fails for null_model() #752

Description

@hfrick
library(parsnip)

null_model() %>% 
  set_engine("parsnip") %>% 
  set_mode("regression") 
#> Null Model Specification (regression)
#> 
#> Computational engine: parsnip

null_model() %>% 
  set_engine("parsnip") %>% 
  set_mode("regression") %>% 
  translate()
#> Null Model Specification (regression)
#> 
#> Computational engine: parsnip 
#> 
#> Model fit template:
#> Error in `call2()` at parsnip/R/misc.R:111:2:
#> ! `ns` must be a string

Created on 2022-06-12 by the reprex package (v2.0.1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions