Package fail to build
1
0
Entering edit mode
hamedhm • 0
@hamedhm-14039
Last seen 2.7 years ago
United Kingdom

I am the maintainer of the package OpenStats and keep getting emails about the failure to build the package in some environments. The issue seems to be related to the .Rmd guide, however, I really cannot reproduce the error on my side and this is really puzzling me. Could it be a false error?

https://master.bioconductor.org/checkResults/3.15/bioc-LATEST/OpenStats/nebbiolo1-buildsrc.html

From the link above:

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.15-bioc/R/bin/R CMD build --keep-empty-dirs --no-resave-data OpenStats
###
##############################################################################
##############################################################################


* checking for file ‘OpenStats/DESCRIPTION’ ... OK
* preparing ‘OpenStats’:
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... ERROR
--- re-building ‘OpenStats.Rmd’ using rmarkdown
Quitting from lines 255-284 (OpenStats.Rmd) 
Error: processing vignette 'OpenStats.Rmd' failed with diagnostics:
length(class2) == 1L is not TRUE
--- failed re-building ‘OpenStats.Rmd’

SUMMARY: processing the following file failed:
  ‘OpenStats.Rmd’

Error: Vignette re-building failed.
Execution halted
package OpenStats • 1.2k views
ADD COMMENT
2
Entering edit mode
@marcel-ramos-7325
Last seen 25 days ago
United States

Hi Hamedhm,

Have you tried this on R devel? I get the same error.

The offending code is in:

https://code.bioconductor.org/browse/OpenStats/blob/master/R/Auxi.R#L57

and in other places.

It should probably be separated into two tests (one for each class).

Best regards,

Marcel

ADD COMMENT
0
Entering edit mode

Thanks very much. Now I see the issue with the package.

Deeply appreciate your help.

ADD REPLY
1
Entering edit mode

Hi Hamedhm, please make sure to ask questions about the development of your package on the bioc-devel mailing list to which you should be subscribed already. Thanks!

ADD REPLY

Login before adding your answer.

Traffic: 878 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6