'ReporteRs' 不可用

TCS*_*TCS 2 r package

我正在尝试安装一个名为“ReporteRs”的包,但它给了我这样的错误:“install.packages 中的警告:包 'ReporteRs' 不可用(对于 R 版本 3.4.4)”

我的 R 版本是 3.4.4。这是我的安装代码;

cran_dir_url <- "https://cran.r-project.org/src/contrib/Archive/ReporteRs/ReporteRs_0.8.9.tar.gz"

install.packages("ReporteRs", contriburl=cran_dir_url,
                 repos = cran_dir_url, 
                 type = 'source',
                 INSTALL_opts = "--no-multiarch")
Run Code Online (Sandbox Code Playgroud)

JBG*_*ber 5

该软件包已重新启动officer(请参阅https://github.com/davidgohel/ReporteRs)。所以通过安装:

install.packages("officer")
Run Code Online (Sandbox Code Playgroud)

或开发版本通过

devtools::install_github("davidgohel/officer")
Run Code Online (Sandbox Code Playgroud)