[Bioc-devel] Runnable examples

Nitesh Turaga ntur@g@@b|oc @end|ng |rom gm@||@com
Thu Aug 6 14:31:38 CEST 2020


If you are using roxygen, you can include a \donttest{} block. But this will still produce the error if it’s less than 80%.

Once you submit your package for review, your reviewer can give you a better idea of how to resolve this issue. But most likely it needs some sort of example. 

Take a look at the iSEE package which is also a shiny app (https://github.com/iSEE/iSEE/blob/master/R/iSEE-main.R <https://github.com/iSEE/iSEE/blob/master/R/iSEE-main.R>) for some ideas.

But maybe you can do something like,

	  #’ @examples
if (interactive()) {



> On Aug 6, 2020, at 8:06 AM, Octavio Morante Palacios <octaviompa using gmail.com> wrote:
> Hi all,
> I have recently developed a shinyApp useful for DNA methylation analysis. I
> would like to upload it to Bioconductor.
> I have executed BiocCheck and I have an error that I don't know how to
> resolve. "At least 80% of man pages documenting exported objects must have
> runnable examples."
> My package only exports one function, that execute the ShinyApp. I don't
> know how to include runnable examples to that kind of function.
> Best regards,
> Octavio
> 	[[alternative HTML version deleted]]
> _______________________________________________
> Bioc-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel

	[[alternative HTML version deleted]]

More information about the Bioc-devel mailing list