[Bioc-devel] Should flowCore be importing checkAtAssignment from methods?
Michael Lawrence
lawrence.michael at gene.com
Tue May 12 02:37:27 CEST 2015
All S4-based packages should probably have methods in Depends and imported
in NAMESPACE.
On Mon, May 11, 2015 at 4:29 PM, Josef Spidlen <jspidlen at bccrc.ca> wrote:
> Hi guys,
> I just noticed the following:
>
> Contents of my file x.R:
> library("flowCore")
> x <- read.FCS('test.fcs')
>
> Then running the following from a command line:
> Rscript 'x.R'
>
> Outputs:
> Error in object at description[["ORIGINALGUID"]] <- object at description
> [["GUID"]]
> :
> could not find function "checkAtAssignment"
> Calls: read.FCS -> identifier<- -> identifier<-
> Execution halted
>
> This only happens when executing using Rscript. Adding library("methods")
> to the script resolves this issue. So it looks like flowCore may be
> using checkAtAssignment without declaring so in the NAMESPACE, and this
> issue is normally not noticeable since "methods" are typically loaded
> automatically, but not when using Rscript.
>
> Cheers,
> Josef
>
> --
> Josef Spidlen, Ph.D.
> Staff Scientist, Terry Fox Laboratory, BC Cancer Agency
> 675 West 10th Avenue, Vancouver, BC, V5Z1L3, Canada
> Tel. +1 604-675-8000, ex. 7755
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-devel at 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