Skip to content
Prev 14696 / 21307 Next

[Bioc-devel] GenVisR Package Failing

Got it, thanks for the tip! I've pushed a fix that should resolve this but I have another question.


The only way I could get check.Renviron to load was to either


1. explicitly load the file in R with readRenviron("~/check.Renviron")

2. manually set the R ENV variable with Sys.setenv("R_CHECK_ENVIRON"="~/check.Renviron")
maybe the easiest thing is to just set these flags in the rstudio config for this project, I see you can do this with --install=value but couldn't find any examples for setting this for a list of parameters and what I tried must have been the wrong syntax


Zach
On 2/26/19 10:28 AM, Shepherd, Lori wrote:
The ERROR your package is experiencing has to do with conditional length greater than 1.  We did send you an email indicating this entitled "Bioconductor Package ERROR"  that had the following information:



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 could potential indicate problematic code with unexpected multiple output.

dummy example:

```
+    FALSE
+ }



It is controlled with the following that are implemented on the build system


_R_CHECK_LENGTH_1_CONDITION_ =package:_R_CHECK_PACKAGE_NAME_
_R_CHECK_LENGTH_1_LOGIC2_=package:_R_CHECK_PACKAGE_NAME_

And there is some documentation here which should help get the environment similar to reproduce the error:

http://bioconductor.org/developers/package-guidelines/#checkingenv




There is a more detailed Test output section at the bottom of the build report page that shows the code that was being run.

http://bioconductor.org/checkResults/3.9/bioc-LATEST/GenVisR/malbec2-checksrc.html








Lori Shepherd

Bioconductor Core Team

Roswell Park Cancer Institute

Department of Biostatistics & Bioinformatics

Elm & Carlton Streets

Buffalo, New York 14263