-
Notifications
You must be signed in to change notification settings - Fork 12
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
Optimal workflows for package vignettes - R-hub blog #127
Comments
Hello and thank you for the great article, I am building vignettes for my package. After looking around the internet and your blogpost, I am still confused about the differences and relationship between Error in if (dir_exists(path %||% "") && is_in_proj(path)) { :
missing value where TRUE/FALSE needed Though I have no idea where it is coming from (Upon some more search, the error seems to come from the |
👋 @lc5415 Why do you run |
I am asking because I never run it and https://r-pkgs.org/vignettes.html#vignette-workflow-2 also recommends building the whole package instead. |
Hello @maelle thanks, for your message. I guess I run build vignettes to isolate the process and check whether my vignettes could be built on their own. Thanks for pointing me to the book, I was struggling to find the right resources regarding vignettes. The trouble I pointed at in the previous comment seemed to disappear, on its own though. If |
RStudio Community thread https://community.rstudio.com/t/difference-between-inst-doc-and-doc/83836/3 |
hi @maelle ! I really like this post! I was wondering if you know of any way to make files of the type |
No, that'd be nice indeed. Wouldn't this be a good feature request for the RStudio IDE ( no idea how this would work with other editors)? If you open one please tag me and I'll go 👍 it 😀 |
It was suggested (thanks @jeroen) that instead, one should tweak the workflow to call the original vignette .Rmd but in another path. This way it's actually an Rmd. |
it'd probably be wise to have their filenames start with an underscore cf https://pkgdown.r-lib.org/reference/build_articles.html so that pkgdown will ignore them |
Thank you so much Maëlle, I could't find how to limit the computation time in my vignettes! |
Optimal workflows for package vignettes - R-hub blog
https://blog.r-hub.io/2020/06/03/vignettes/
The text was updated successfully, but these errors were encountered: