You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dev version of ggplot2 uses on_load()/run_on_load() from rlang, but these functions are not exported for rlang versions < 1.0.0. I think the ggplot2 DESCRIPTION dependency needs to be upgraded to rlang >= 1.0.0.
I noticed this after getting the following error when trying to install the dev version of ggplot2 while only having rlang version 0.4.10:
* installing *source* package 'ggplot2' ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Error in on_load({ : could not find function "on_load"
Error: unable to load R code in package 'ggplot2'
Execution halted
ERROR: lazy loading failed for package 'ggplot2'
Warning in install.packages :
installation of package 'ggplot2' had non-zero exit status
Not sure what the reprex would be here other than installing specific versions of these packages with devtools::install_version(); can provide if needed.
The dev version of
ggplot2
useson_load()
/run_on_load()
fromrlang
, but these functions are not exported forrlang
versions < 1.0.0. I think theggplot2
DESCRIPTION dependency needs to be upgraded torlang
>= 1.0.0.I noticed this after getting the following error when trying to install the dev version of
ggplot2
while only havingrlang
version 0.4.10:Not sure what the reprex would be here other than installing specific versions of these packages with
devtools::install_version()
; can provide if needed.Crosspost from stackoverflow.
The text was updated successfully, but these errors were encountered: