-
Notifications
You must be signed in to change notification settings - Fork 758
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
Build fails when creating vignettes #2407
Comments
Is the source of the affected package available on GitHub so I could see if I can replicate this on Windows? |
I'm afraid it is whatever the package. Even with a simple package just created with |
I can So I'm afraid that suggests it something odd about your machine / setup. It still could be an infelicity in devtools, but that makes it kind of tricky and (sorry) low priority for attention. If you can dig in more, that might be your best hope.
|
Thank you for trying. Yes, of course, there is probably something wrong with my machine. Sad that I cannot figure it out! |
Is there anything interesting about your user name or home directory path? In terms of interpreting
I would contemplate that the problem is non-existence of said DESCRIPTION file. And if that were the case, why is the DESCRIPTION not getting written. I'm just thinking out loud about how I would start to debug it. |
Sounds similar to this which has never been answered: https://stackoverflow.com/questions/36621414/adding-a-vignette-stops-devtoolscheck-from-working And some common elements with these too: https://stackoverflow.com/questions/48235401/error-building-vignettes-for-r-package https://stackoverflow.com/questions/36067120/build-r-vignette-using-devtoolsbuild Note to self: interesting differences in some of the temp parts of file paths 👆. I have no idea if those are to be expected, so could be a red herring. |
What happens if you use |
So probably little to do with devtools indeed, and directly with R itself I guess. |
Yes, I suspect you are experiencing some sort of infelicity in R, but you happen to have experienced it first through devtools. |
I have also problems when using |
Hi @FelicienLL , |
Nope. There is probably something wrong with administrator rights in my institution, although it appears I have no restriction in folders where R is installed. Sorry not to be more helpful. |
Thanks for the response. |
I encountered the same problem and your solution worked. I wondered if it is not related to special TeX installs, as I had some problems related to this before ? |
Hello,
devtools::build()
anddevtools::check()
fail if the package contains vignettes. Probably not related to the vignette itself though, because I can generate it with a manual knittering or withdevtools::build_vignettes()
.Looks like it has something to do with the temporary file where the package is installed.
It is not due to the format of the DESCRIPTION file I think, because I use the one generated by
usethis::use_description
, and the check/build is ok when there are no vignettes. Also, I do not understand why it is said that permission is denied since there are no administrator rights for the folder, and it seems like it can be written:Do you have any idea of where I could keep on my investigation ?
Many thanks in advance
Félicien
The text was updated successfully, but these errors were encountered: