Hi,
On 10/18/2017 09:19 AM, Pariksheet Nanda wrote:
Hi Anusha
On Wed, Oct 18, 2017 at 12:04 PM, Anusha Nagari
<anusha.nag...@utsouthwestern.edu> wrote:
Depends: includes the non-default packages:
‘MASS’ ‘parallel’ ‘S4Vectors’ ‘IRanges’ ‘GenomeInfoDb’
‘GenomicRanges’ ‘GenomicAlignments’ ‘rtracklayer’
Adding so many packages to the search path is excessive and importing
selectively is preferable.
Move those to the "Imports" section in your package DESCRIPTION file.
It's important to realize that this will remove all the functionalities
provided by these packages from the search path e.g. your users will
need to explicitly library(MASS) or library(parallel) etc... before
they can access things defined in these packages. The code in your
examples (man page and vignettes) and possibly in your unit tests will
also need to be modified to reflect this.
In other words putting everything in Imports can hurt
usability/friendliness. The approach should be more nuanced. It's
good that the 'R CMD check' NOTE reminds us about the Depends vs
Imports trade-off but for Bioconductor packages the choices made
by the developers will not always please 'R CMD check'.
Cheers,
H.
* checking re-building of vignette outputs ... NOTE
Warnings in re-building vignettes:
Warning: file stem ‘/fig2’ is not portable
Warning: file stem ‘/fig3’ is not portable
Hmm... I think we'll have to look at the exact vignette to see what's
going on. Presumably that's a LaTeX vignette. Can you advise the
package name you are working on and/or link to the the source code?
Anusha
Pariksheet
---
Pariksheet Nanda
PhD Candidate in Genetics and Genomics
System Administrator, Storrs HPC Cluster
University of Connecticut
_______________________________________________
Bioc-devel@r-project.org mailing list
https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_bioc-2Ddevel&d=DwIGaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA&m=Tp7__PT8O8GbCyA7ow-1b8zjttyPnT9vHws3TnbUfSg&s=1ZMs6jKap0uCLdg5FhFAHuKSRe3HF6McPYWj7RWzFAQ&e=
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail: hpa...@fredhutch.org
Phone: (206) 667-5791
Fax: (206) 667-1319
_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel