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

Use bundle for deployment #145

Merged
merged 7 commits into from
Sep 27, 2022
Merged

Use bundle for deployment #145

merged 7 commits into from
Sep 27, 2022

Conversation

juliasilge
Copy link
Member

This PR adds support for bundle to vetiver, for:

  • tidymodels, plus stacks
  • xgboost
  • caret

Comment on lines +49 to +50
httr,
jsonlite,
Copy link
Member Author

@juliasilge juliasilge Sep 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Run up against the 20 packages in Imports again 😞 so I moved these to Suggests and use them conditionally. These are mostly used only when making a prediction from R so not a terrible option to move to Suggests.

@juliasilge juliasilge marked this pull request as ready for review September 27, 2022 00:03
Copy link
Contributor

@simonpcouch simonpcouch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great to me!

@@ -21,15 +21,13 @@ test_that("can pin an xgboost model", {
b <- board_temp()
vetiver_pin_write(b, v)
pinned <- pin_read(b, "cars2")
## NOT EQUAL because of serialization issues
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome to see this test issue resolved. :)

@juliasilge juliasilge merged commit f52f969 into main Sep 27, 2022
@juliasilge juliasilge deleted the add-bundle branch September 27, 2022 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants