[Bioc-devel] class name collision in cache: igvR and Gviz

Hervé Pagès hpages at fredhutch.org
Fri May 4 20:30:09 CEST 2018


Hi Paul,

Luckily you caught this only 3 days after the release so renaming the
class now is probably ok and shouldn't be disruptive.

Cheers,
H.


On 05/04/2018 10:52 AM, Paul Shannon wrote:
> I just discovered a class name collision - AnnotationTrack, in Gviz and my new package igvR.   wish to get wise counsel before proceeding with a fix.  Here’s the error message:
> 
>     Found more than one class "AnnotationTrack" in cache;
>     using the first, from namespace ‘igvR' Also defined by ‘Gviz’
> 
> AnnotationTrack is an abstract base class in my new package igvR.  The concrete derived classes at present are
> 
>    DataFrameAnnotationTrack
>    GRangesAnnotationTrack
>    UCSCBedAnnotationTrack
> 
> It would be easy for me to rename AnnotationTrack to “GenomeAnnotationTrack” or even “igvAnnotationTrack”, thereby  avoiding the name clash.
> 
> Reasonable?  Fix in both release and devel?
> 
> Thanks -
> 
>   - Paul
> 
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_bioc-2Ddevel&d=DwIFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA&m=LKMPMJT3dPT3MzP89-SrXj7WE68ASStRykpsAASpDJU&s=l2WFtbtf4nCVcoygg5Eob_wu-Q4qfETzWYAA_f9-mKc&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: hpages at fredhutch.org
Phone:  (206) 667-5791
Fax:    (206) 667-1319



More information about the Bioc-devel mailing list