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

Cannot build vignettes with devel = TRUE because build_article() runs a new process #2812

Open
renozao opened this issue Nov 8, 2024 · 0 comments

Comments

@renozao
Copy link
Contributor

renozao commented Nov 8, 2024

When running build_site() with argument devel = TRUE, the vignettes are built under a new process instead of using the current process where the package has already been loaded with devtools::load_all() .
This failure is very likely to happen since a vignette would typically call library() early on to load the package itself.

I believe the issue comes from the fact that argument new_process is not passed down to build_article():

Suggestion:

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

No branches or pull requests

1 participant