无法在 Red Hat 上安装 R pmml 包

Unable to install R pmml package on Red Hat

正在尝试在 Red Hat 上使用 R Studio 安装 pmml 包。我得到以下输出:

================================================
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

您的 stringr 软件包已过时。从 CRAN 安装新的 stringr 软件包:

install.packages(c("stringr"))