lockedata / starters

R Package 📦 for initializing projects for various R activities :nut_and_bolt:
https://itsalocke.com/starters/
GNU General Public License v3.0
124 stars 16 forks source link

What is checkpoint supposed to do? #125

Closed maelle closed 4 years ago

maelle commented 5 years ago

Here's what we have now https://github.com/lockedata/starters/blob/4a3dd9f3720bb220a7c23abd3cffe82bae3871b4/R/utils.R#L27

@stephlocke you're a checkpoint user I think?

I thought it did nothing but it seems it prevents further code from being run.

maelle commented 5 years ago

Now I run the setup for checkpoint/packrat at the very end so it doesn't prevent other things from happening but I'm not sure how to check the setup was correct.

stephlocke commented 5 years ago

It's doing some intiial setup of package caching by running checkpoint::checkpoint but it doesn't have to - we can create an R file somewhere that contains the checkpoint start and a link to the relevant vignette

maelle commented 5 years ago

Not sure I understand what that R file would be?

maelle commented 4 years ago

nowadays shouldn't one ditch packrat (and maybe even checkpoint) in favor of renv?

stephlocke commented 4 years ago

I haven't evaluated it yet, but I imagine so Note that checkpoint enables installing packages from a fixed point in time

maelle commented 4 years ago

Ok but deprecating "packrat" as an option is probably an excellent idea to save time. I'll see what I'll do reg checkpoint that I never really got.

maelle commented 4 years ago

checkpoint is no longer supported by starters.