Skip to content

Conversation

@lorenzwalthert
Copy link
Owner

@lorenzwalthert lorenzwalthert commented May 11, 2020

Closes #171. Should only be merged after CRAN release.

- some files in R/ are changed but not staged.
- non-staged changes are stashed away.
- hooks run (save Sys.time())
- stashes are restored

If the non-staged changes are in R/ or man/, the cache is invalidated because the restoring makes the modification time later than the hook run time. We avoid this by only checking the modification time of files that were staged
@lorenzwalthert lorenzwalthert merged commit 51e692e into master May 14, 2020
@lorenzwalthert lorenzwalthert deleted the issue-171 branch May 14, 2020 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve roxygen2 hook when not all changed files in R/, man/ are added to the index

2 participants