thomasp85 / tidygraph

A tidy API for graph manipulation
https://tidygraph.data-imaginist.com
Other
543 stars 61 forks source link

Error: unable to load R code in package ‘tidygraph’ #167

Closed amirfeizi closed 8 months ago

amirfeizi commented 1 year ago

Hi,

I am trying to install tidygraph on Rstudio server (on Centos 7.0) and I am failing either using CRAN or devtools. The error message is below.

Thanks in advance,

Amir


** R
** byte-compile and prepare package for lazy loading
Error : 'on_load' is not an exported object from 'namespace:rlang'
Error: unable to load R code in package ‘tidygraph’
Execution halted
ERROR: lazy loading failed for package ‘tidygraph’
* removing ‘/home/user.name/R/x86_64-redhat-linux-gnu-library/3.6/tidygraph’
Warning in install.packages :
  installation of package ‘tidygraph’ had non-zero exit status

The downloaded source packages are in
    ‘/tmp/Rtmp8HpTFH/downloaded_packages’
lupin90 commented 1 year ago

Try to update the "rlang" package.