We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
dev_packages()
I am trying to build a function to preview help (not necessarily dev) on the pkgdown site.
I need to know whether a certain package is loaded via devtools.
The only function I found was the internal dev_packages() in pkgload?
Any chance it could be exported?
otherwise, I can always use a wrapper around pkgload::is_dev_package(), but it is a bit uglier
pkgload::is_dev_package()
dev_packages <- function() { loadedNamespaces() |> rlang::set_names() |> lapply(pkgload::is_dev_package) |> unlist() |> which() |> names() }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am trying to build a function to preview help (not necessarily dev) on the pkgdown site.
I need to know whether a certain package is loaded via devtools.
The only function I found was the internal
dev_packages()
in pkgload?Any chance it could be exported?
otherwise, I can always use a wrapper around
pkgload::is_dev_package()
, but it is a bit uglierThe text was updated successfully, but these errors were encountered: