Skip to content
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

devtools check new behavior with folder and archive not cleaned? #1908

Closed
BenoitLondon opened this issue Oct 29, 2018 · 3 comments
Closed

devtools check new behavior with folder and archive not cleaned? #1908

BenoitLondon opened this issue Oct 29, 2018 · 3 comments

Comments

@BenoitLondon
Copy link

Whenn running ctrl+shift+e (check package) in rstudio using devtools::check it creates a folder pkgname.Rcheck and pkgname_version.tar.gz in the upper directory.
If I change some code to alter the check it looks like it uses the old code inside the folder or the archive.

How do I disable this folder creation or at least clean it on fail and success?
There is a Rstudio option in tools/global options/Packages cleanup output after successful R CMD check but it looks like it does not work and it definitely does not clean on failure...

So my workflow used to be 1)run check 2)fix problems and loop but now I have to manually delete this folder and archive to make it work otherwsie it uses old code

Any solution please?

@jimhester
Copy link
Member

This is fixed by r-lib/rcmdcheck#84, you can install the development version of rcmdcheck to fix this or wait until a new version is released on CRAN (which should be soon).

cc @gaborcsardi

@BenoitLondon
Copy link
Author

thanks!

@lock
Copy link

lock bot commented Apr 27, 2019

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock bot locked and limited conversation to collaborators Apr 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants