Displaying 3 results from an estimated 3 matches for "importsfrom".
Did you mean:
importfrom
2013 Mar 13
1
S4 generic not exported correctly / incorrect dispatch?
...and then
> library(PkgA)
Loading required package: intervals
> plot
function (x, y, ...)
UseMethod("plot")
<environment: namespace:graphics>
notice that 'plot' is reported as an S3 generic, but should be an S4 generic.
Removing Depends: intervals or changing to importsFrom(intervals, "plot")
recovers S4 export
> library(PkgA)
Loading required package: intervals
> plot
standardGeneric for "plot" defined from package "graphics"
function (x, y, ...)
standardGeneric("plot")
<environment: 0x60aea90>
Methods may be d...
2008 Dec 15
3
install.packages and dependency version checking
...iobase, methods, RCurl
Imports: XML (>= 1.98-0), IRanges, Biostrings
will never check the version of namespace XML that is loaded, either
already loaded or resulting from loading this package's namespace. For
this to be operational we would need to extend the syntax of the imports()
and importsFrom() directive in a NAMESPACE file to allow version
restrictions. I am not sure this is worth doing, as an alternative is to
put the imported package in Depends.
The version dependence will in a future release cause an update of XML
when rtracklayer is installed, if needed (and available).
(B) T...
2013 Aug 22
1
Confusion about Depends:, Imports:, Enhances:, import(), inportFrom()
In checking my vcdExtra package, the following NOTE newly appeared
(R-Forge, using R version 3.0.1 Patched (2013-08-20 r63635))
Package in Depends field not imported from: ?gnm?
These packages needs to imported from for the case when
this namespace is loaded but not attached.
In the DESCRIPTION file, I have
Depends: R (>= 2.10), vcd, gnm (>= 1.0.3)
In NAMESPACE:
# we are a vcd