Hi Michael, Thanks for reporting. This has been fixed in the latest version of BiocCheck (1.41.9).
Best regards, Marcel On 7/26/24 5:29 AM, Michael Shapiro wrote: > We are currently working through the submission of a new package, CatsCradle > (issue #3452). We get a build error from the Coding Practices section of the > BiocCheck tests, namely > > > Error in seq.default(which(cond) - length(notLookback), which(cond)) : > 'from' must be of length 1 > > For whatever reason, we do not get this error when running BiocCheck locally. > > We have consulted > https://bioconductor.org/packages/devel/bioc/vignettes/BiocCheck/inst/doc/BiocCheck.html#coding-practices-checks > and the closest we can find is the recommendation to use seq_len(N) in place > of things like 1:N. We are now consistently using seq_len for sequences > that begin with 1 and seq(from=a,to=b) for sequences beginning at other > values but this has not resolved the error. > > Any assistance with this would be very much appreciated. > > The Francis Crick Institute Limited is a registered charity in England and > Wales no. 1140062 and a company registered in England and Wales no. 06885462, > with its registered office at 1 Midland Road London NW1 1AT > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioc-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/bioc-devel -- Marcel Ramos Pérez Roswell Park Comprehensive Cancer Center Dept. of Biostatistics and Bioinformatics Elm & Carlton Streets Buffalo, New York, 14263 This email message may contain legally privileged and/or confidential information. If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited. If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you. _______________________________________________ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel