-
Notifications
You must be signed in to change notification settings - Fork 336
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
override
is ignored in as_pkgdown()
on pkgdown
objects
#2257
Comments
I don't think this is fully fixed in #2406. # _pkgdown.yml
development:
mode: devel
version_label: success
# Code
r$> Sys.setenv("PKGDOWN_DEV_MODE" = "release")
r$> override = list(development = list(mode = "release", version_label = "light"))
r$> pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE, override=override) So a bit more work needs to be done to go through the rest of the |
For a less general solution that targets only |
Reprex
Created on 2022-12-19 with reprex v2.0.2.9000
Use case
I'm trying to override parameters in
build_site_github_pages()
. But thepkg
argument is converted to apkgdown
object before passing it tobuild_site()
, where theoverride
argument should be used. As a result, theoverride
argument is silently ignored.Using
build_site()
directly may be a better choice for this use case but it's still confusing that an argument gets ignored without warning or message.The text was updated successfully, but these errors were encountered: