-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Track snapshot use and remove unused snapshots #209
Comments
Very nice suggestion! Thank you. |
andrie
changed the title
[feature request] Remove unused snapshots
Track snapshot use and remove unused snapshots
Mar 16, 2017
andrie
added a commit
that referenced
this issue
Mar 16, 2017
andrie
added a commit
that referenced
this issue
Mar 16, 2017
I have implemented as follows: checkpointRemove(snapshotDate, checkpointLocation = "~/",
allSinceSnapshot = FALSE, allUntilSnapshot = FALSE,
notUsedSince = FALSE, days) Right now this is only in the @stefanfritsch Can you please test and provide feedback? |
andrie
added a commit
that referenced
this issue
Mar 30, 2017
* dev: Use package caching on Travis Create folder recursively Try once more #233 Explicitly save manifest.R #233 Try writing to getwd() Use dirname(tempdir()) to persist .checkpoint folder #233 Rebuild vignettes #233 Add vignette on using checkpoint inside a markdown file #216 Add argument documentation Add experimental unCheckpoint() function #124 Skip all online checks if `scanForPackages = FALSE` #234 Expand help for mranUrl() #237 Documentation improvements and fixes Track snapshot use and remove unused snapshots #209
This feature is now available in the master branch on github. |
Sorry, I was unavailable for a while. I'm now on a project where we do work with checkpoint and I'll report any issues I might encounter. Thanks a lot for the features, they're great. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I don't think there is a FR for something like this atm. The .checkpoint folder can grow quite large and has to be cleaned up by hand currently (afaik?).
If checkpoint put a simple
.lastaccessed
file in each snapshot and updated that every time checkpoint was set to the respective snapshot then it would be trivial to write a function that removed all snapshots that are older than a certain date:That is also something e.g. RRO could put in .Rprofile.
Thx
Stefan
The text was updated successfully, but these errors were encountered: