rstudio / pins-r

Pin, discover, and share resources
https://pins.rstudio.com
Other
312 stars 63 forks source link

Backward compatibility layer for board_local() #428

Closed hadley closed 3 years ago

hadley commented 3 years ago

Which will also form the basics for board_datatxt().

Will need to create directory with CRAN pin and then test that it can be read from.

hadley commented 3 years ago

Better to create board_local_legacy() or similar, and create a clean break between old and new syntax. The only exception is board_rsconnect() since the old code is so clearly bad, and the shimming to work either way is minimal.

Each board needs to document which version of the API it supports.

Need to add default methods for old API and new API to ensure that you get a clear error message if you call a board with the wrong API.

Need to start work on "updating to v1" vignette

hadley commented 3 years ago

Now resolved via legacy_local() and friends

github-actions[bot] commented 2 years ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.