BiocCheck()用于Bioconductor软件包提交,未显示带有错误/警告/注释的行

问题描述 投票:0回答:1

我正在运行BiocCheck(“ myPackage”),结果将对存在问题的位置进行注释,但不对问题的位置进行注释。有什么办法可以解决?

BiocCheck("myPackage")

$error
character(0)

$warning
[1] "The following files are over 5MB in size: '.git/objects/pack/pack-3eae63a6b24d5861178a09b58eb0ec4d893242b0.pack'"

$note
[1] " Avoid sapply(); use vapply()"                                                                                                                                                     
[2] "Recommended function length <= 50 lines."                                                                                                                                          
[3] "Consider shorter lines; 103 lines (3%) are > 80 characters long."                                                                                                                  
[4] "Consider multiples of 4 spaces for line indents, 1258 lines(32%) are not."                                                                                                         
[5] "Cannot determine whether maintainer is subscribed to the bioc-devel\nmailing list (requires admin credentials).  Subscribe here:\nhttps://stat.ethz.ch/mailman/listinfo/bioc-devel"
r package bioconductor
1个回答
0
投票

找到答案:

BiocCheck:::checkFormatting("myPackage", nlines=Inf)

完美地显示了所有有问题的行。

© www.soinside.com 2019 - 2024. All rights reserved.