ggthemes icon indicating copy to clipboard operation
ggthemes copied to clipboard

Installation fails @ R4.2.1 RHEL

Open yhoogstrate opened this issue 1 year ago • 0 comments

Hi all,

We're having difficulties installing the ggthemes package using install.packages().

Recently our RHEL server was upgraded to R 4.2.1. When installing ggthemes, it crashes with the following error:

install.packages('ggthemes')
Installing package into ‘/home/<uid>/R/x86_64-redhat-linux-gnu-library/4.2’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/src/contrib/ggthemes_4.2.4.tar.gz'
Content type 'application/x-gzip' length 444642 bytes (434 KB)
==================================================
downloaded 434 KB

* installing *source* package ‘ggthemes’ ...
** package ‘ggthemes’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
Error : excel_new_pal.Rd:13: 'ggthemes_data' is not an exported object from 'namespace:ggthemes'
ERROR: installing Rd objects failed for package ‘ggthemes’
* removing ‘/home/<uid>/R/x86_64-redhat-linux-gnu-library/4.2/ggthemes’
Warning in install.packages :
  installation of package ‘ggthemes’ had non-zero exit status

The downloaded source packages are in
	‘/tmp/RtmpcvsawO/downloaded_packages’

I presume the problem has to do with this line:

Error : excel_new_pal.Rd:13: 'ggthemes_data' is not an exported object from 'namespace:ggthemes' ERROR: installing Rd objects failed for package ‘ggthemes’

Anyone any thoughts how to resolve this?

yhoogstrate avatar Oct 07 '22 12:10 yhoogstrate