This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> renv::restore() | |
The following package(s) will be updated: | |
# GitHub --------------------------------------------------------------------- | |
- bikeHelpR [* -> sol-eng/bikeHelpR@main] | |
- connectapi [* -> rstudio/connectapi@HEAD] | |
- rsconnect [* -> rstudio/rsconnect@main] | |
# RSPM ----------------------------------------------------------------------- | |
- class [7.3-22 -> 7.3-19] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Also see pin_unique helper function at https://gist.github.com/kmasiello/2d47c88617339fa69c85fa3ed8905e86 to only pin if the data frame is changed from the previous version. | |
library(pins) | |
board <- board_rsconnect() | |
# Get version diffs | |
# Parameters for `pin_compare` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(pins) | |
board <- board_rsconnect() | |
# Start with a reference pin | |
ref_pin <- mtcars | |
pin_write(board, ref_pin, description = "A pin that might change.") | |
# Make a changed data frame | |
mtcars2 <- mtcars %>% dplyr::mutate(cyl = cyl*2) |