[Bioc-devel] Usage of donttest{} in examples

Fabricio de Almeida |@br|c|o_@|me|d@@||v@ @end|ng |rom hotm@||@com
Fri Jul 9 17:17:28 CEST 2021


Dear Bioc developers,


I submitted a package 3 days ago and the build report returned TIMEOUT for Windows and macOS.

Then I included donttest{} in the example for a function that was taking too long to run, but now it is returning ERROR (http://bioconductor.org/spb_reports/cageminer_buildreport_20210709105948.html). See below:

    * ERROR: At least 80% of man pages documenting exported objects
      must have runnable examples. The following pages do not:
      mine_candidates.Rd, score_genes.Rd
    * NOTE: Usage of dontrun{} / donttest{} found in man page examples.
      14% of man pages use one of these cases.
      Found in the following files:
        mine_candidates.Rd
        score_genes.Rd


As you can see in the NOTE, these 2 functions represent 14% of the exported functions. Thus, 86% of the functions have runnable examples. Why is the build report saying that <80% have runnable examples?


Best regards,


=========================


Fabr�cio de Almeida Silva

Undergraduate degree in Biological Sciences (UENF)

MSc. candidate in Plant Biotechnology (PGBV/UENF - RJ/Brazil)

Laborat�rio de Qu�mica e Fun��o de Prote�nas e Pept�deos (LQFPP/CBB/UENF - RJ/Brazil)

Lattes CNPq: http://lattes.cnpq.br/3119358824056108

Personal website: https://almeidasilvaf.github.io/home/


	[[alternative HTML version deleted]]



More information about the Bioc-devel mailing list