最近更新了一个包到 CRAN,得到的回复说未通过自动检查:
Dear maintainer,
package rarestR_1.0.3.tar.gz does not pass the incoming checks automatically, please see the following pre-tests:
Windows: https://win-builder.r-project.org/incoming_pretest/rarestR_1.0.3_20240920_034521/Windows/00check.log
Status: OK
Debian: https://win-builder.r-project.org/incoming_pretest/rarestR_1.0.3_20240920_034521/Debian/00check.log
Status: OK
Last released version's CRAN status: OK: 13
See: https://CRAN.R-project.org/web/checks/check_results_rarestR.html
CRAN Web: https://cran.r-project.org/package=rarestR
Please fix all problems and resubmit a fixed version via the webform.
If you are not sure how to fix the problems shown, please ask for help on the R-package-devel mailing list:
https://stat.ethz.ch/mailman/listinfo/r-package-devel
If you are fairly certain the rejection is a false positive, please reply-all to this message and explain.
More details are given in the directory:
https://win-builder.r-project.org/incoming_pretest/rarestR_1.0.3_20240920_034521/
The files will be removed after roughly 7 days.
No strong reverse dependencies to be checked.
Best regards,
CRAN teams' auto-check service
但我从这几个报告里都没发现问题,特别是所有操作系统上检查报告的总结表都显示OK。
哪位高人能指点一下?
另外附带个小问题:这个包附带了 vignette,从 GitHub 安装时需要设定 build_vignettes = TRUE
才能在安装后本地查看 vignette:
remotes::install_github('pzhaonet/rarestr', build_vignettes = TRUE)
library(rarestR)
vignette('rarestR')
我不记得别的包也这样过,所以我的问题是,如果提交到 CRAN,那么用 install.packages()
能成功安装 vignette 吗?如果不能,那么我应该在哪里修改?
包的repo是:https://github.com/pzhaonet/rarestR
谢谢!
又及:有没有可能上述两个问题其实是同一个bug导致的?因为上一个版本没有 vignette 时一切都好好的,而我又是第一次做 vignette。