Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wow, that's a lot of pessimism for a fairly elegant solution to the fact that almost no R code has package versioning defined.

I think the major sales point here is:

> A nice feature of groundhog is that it makes 'retrofitting' existing code quite easy. If you come across a script that no longer works, you can change its library() statements for groundhog.library() ones, using as the groundhog.day the date the code was probably written (say when it was posted on the internet), and it may work again.

I don't know how good ratpack is now a days. I've never met an R application that uses it, but at my old work, we would take a dated snapshot of CRAN at the beginning of every new project. If we needed to update a package we could then "update CRAN" for that project. When productionising a project it would be frozen to a date in CRAN.



>Wow, that's a lot of pessimism for a fairly elegant solution to the fact that almost no R code has package versioning defined.

This isn't true.

https://mran.microsoft.com/documents/rro/reproducibility

https://rstudio.github.io/packrat/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: