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

Provide packages to load before build reference #1602

Closed
hadley opened this issue Mar 29, 2021 · 2 comments · Fixed by #1784
Closed

Provide packages to load before build reference #1602

hadley opened this issue Mar 29, 2021 · 2 comments · Fixed by #1784
Labels
feature a feature request or enhancement reference 📚

Comments

@hadley
Copy link
Member

hadley commented Mar 29, 2021

So that packages with dynamic documentation (e.g. dplyr) could automatically attached a couple of other packages (e.g. dbplyr and dtplyr).

@dmurdoch
Copy link
Contributor

The rgl package doesn't need to load packages, but it would be nice if it could set some environment variables and/or options. So maybe this should be generalized to "run some code before building references"?

@hadley hadley added feature a feature request or enhancement reference 📚 labels Sep 21, 2021
@hadley
Copy link
Member Author

hadley commented Sep 23, 2021

Maybe if pkgdown/pre-reference.R exists, it should be evaluated? Could add post-reference.R too, just in case you need to do any cleanup.

hadley added a commit that referenced this issue Sep 23, 2021
hadley added a commit that referenced this issue Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement reference 📚
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants