2

Trying to install pmml package using R Studio on Red Hat. I get the following output:

================================================
downloaded 136 KB

* installing *source* package 'pmml' ...
** package 'pmml' successfully unpacked and MD5 sums checked
** R
** data
** inst
** preparing package for lazy loading
Error : object 'str_interp' is not exported by 'namespace:stringr'
ERROR: lazy loading failed for package ?pmml?
* removing '/usr/lib64/R/library/pmml'
Warning in install.packages :
  installation of package 'pmml' had non-zero exit status
EvanMPW
  • 351
  • 1
  • 6
  • 15

1 Answers1

2

You have outdated stringr package. Install the new stringr package from CRAN with:

install.packages(c("stringr"))
m0nhawk
  • 22,980
  • 9
  • 45
  • 73