Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error message formatting #303

Merged
merged 1 commit into from Jun 4, 2018
Merged

Improve error message formatting #303

merged 1 commit into from Jun 4, 2018

Commits on Apr 20, 2018

  1. Improve error message formatting

    For objects with multiple S3 classes, only
    print the first in errors/warnings thrown
    by the default methods of tidy, augment, & glance
    
    Previous behavior:
    
    # my_fit is the output of glmnet(X, y)
    > augment(my_fit)
    Error: augment doesn't know how to deal with data of class elnetglmnet
    
    New behavior:
    > augment(my_fit)
    Error: augment doesn't know how to deal with data of class elnet
    michaelweylandt committed Apr 20, 2018
    Configuration menu
    Copy the full SHA
    fb6cf17 View commit details
    Browse the repository at this point in the history