rstudio / pins-r

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

Ensure R and python pins have compatible api_version behavior #612

Closed machow closed 1 year ago

machow commented 2 years ago

Currently, it seems like R and python pins treat api_version differently:

Options

It seems like if we want to preserve compatibility with the current R pins, we have two safe options for api_version:

And then one crazy option--three parts, allowing the string "x.y.z"-- since in R:

(Also I can't remember exactly how these comparisons work, so could be missing some bad behavior; but it should be okay as long as "2.0.0" etc > 1?)

github-actions[bot] commented 1 year 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.