r - R package CMD check
问题描述
I have written some codes in R for my personal use. The package successfully installed on my personal laptop (where I have written those commands) and working correctly. But when I distributed it to my other colleagues, this package is not installing and returned these errors.
In R CMD INSTALL
Warning in install.packages : running command
"C:/PROGRA~1/R/R-34~1.3/bin/x64/R" CMD INSTALL -l "C:\Program
Files\R\R-3.4.3\library" "E:/test/Gene_1.0.tar.gz"' had status 1
Warning in install.packages : installation of package
E:/test/Gene_1.0.tar.gz had non-zero exit status
Secondly, I ran "CHECK PACKAGE" command in R-studio. Those results expressed two errors and two notes.
> checking DESCRIPTION meta-information ... WARNING
Dependence on R version '3.5.1' not with patchlevel 0
> checking for unstated dependencies in examples ... OK
WARNING
'qpdf' is needed for checks on size reduction of PDFs
0 errors v | 2 warnings x | 2 notes x
Error: R CMD check found WARNINGs
Execution halted
Exited with status 1.
解决方案
推荐阅读
- c++ - c++ 字符串文字的静态分配是否适用于任何 const char *
- jenkins - 寻找真正有效的詹金斯管道构建作业语法
- postgresql - 无法连接到在 docker 中运行的 postgres
- django - Django - 查询:使用相关模型字段注释查询集
- windows-10 - “shmop_open():无法附加或创建共享内存段'无错误':”?
- python-3.x - 将 [] 字符串从 Go 转换为 python 列表
- python - 获取 Matplotlib 等高线图中特定点的值
- visual-studio-code - 即使侧边栏打开,有没有办法让 VSCode 中的终端占据应用程序的整个宽度?
- c++ - 删除其中包含对象的结构
- rust - 预期特征“Foo”,发现特征“MyFoo”