Re: [Bioc-devel] conditions on vectors of length > 1 Warning/ERROR

2018-01-29 Thread Shepherd, Lori
Thank you for your quick response and your contribution to Bioconductor! Lori Shepherd Bioconductor Core Team Roswell Park Cancer Institute Department of Biostatistics & Bioinformatics Elm & Carlton Streets Buffalo, New York 14263 From: Charles Warden Sent:

Re: [Bioc-devel] conditions on vectors of length > 1 Warning/ERROR

2018-01-27 Thread Charles Warden
Hi Lori, Thank you for pointing this out - I've added the any() function to the function with the warning in the development version of COHCAP. Thanks Again, Charles On Thu, Jan 25, 2018 at 9:44 AM, Shepherd, Lori < lori.sheph...@roswellpark.org> wrote: > Hello Bioconductor community, > > In a

[Bioc-devel] conditions on vectors of length > 1 Warning/ERROR

2018-01-25 Thread Shepherd, Lori
Hello Bioconductor community, In a continued effort to better code, there have been efforts to identify problematic existing code in packages. The current issue at hand is identifying a conditional with a length greater than 1. This could either be an over site of not using any() or all() or co