安装软件包时出现问题(JLutils软件包)

时间:2020-03-19 18:04:50

标签: r

我正在尝试暂停此软件包:JLutils 使用以下代码

    install.packages("usethis")
library(usethis)
install.packages("Rcpp")
library(Rcpp)
install.packages("devtools")
library(devtools)

devtools::install_github("larmarange/JLutils")
library(JLutils)

但是我收到此错误消息:

Downloading GitHub repo larmarange/JLutils@master
√  checking for file 'C:\Users\josem\AppData\Local\Temp\RtmpQFTMAZ\remotes1df0e4930ad\larmarange-JLutils-20eb88f/DESCRIPTION' ...
-  preparing 'JLutils': (422ms)
√  checking DESCRIPTION meta-information ... 
-  checking for LF line-endings in source and make files and shell scripts
-  checking for empty or unneeded directories
-  building 'JLutils_1.18.0.tar.gz'

Installing package into ‘C:/Users/josem/OneDrive/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
* installing *source* package 'JLutils' ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
Error: (converted from warning) package 'ggplot2' was built under R version 3.6.3
Execution halted
ERROR: lazy loading failed for package 'JLutils'
* removing 'C:/Users/josem/OneDrive/Documents/R/win-library/3.6/JLutils'
**Error: Failed to install 'JLutils' from GitHub:
  (converted from warning) installation of package ‘C:/Users/josem/AppData/Local/Temp/RtmpQFTMAZ/file1df01db867a3/JLutils_1.18.0.tar.gz’ had non-zero exit status**

请帮助我,我不知道包裹有什么问题

0 个答案:

没有答案