Displaying 4 results from an estimated 4 matches for "importmethod".
Did you mean:
importmethods
2010 Nov 27
1
Bug in parseNamespaceFile or switch( , ... ) ?
...t;)
> readLines("NAMESPACE")
[1] "blah( nada )" "blee( nil )" "export( outDS )"
> parseNamespaceFile("",".") # now parse it
$imports
list()
$exports
[1] "outDS"
$exportPatterns
character(0)
$importClasses
list()
$importMethods
list()
$exportClasses
character(0)
$exportMethods
character(0)
$exportClassPatterns
character(0)
$dynlibs
character(0)
$nativeRoutines
list()
$S3methods
[,1] [,2] [,3]
>
So, it picked up 'export' and ignored the other two lines.
Chuck
p.s.
> sessionInfo()
R version...
2020 Nov 22
0
R - translations status and few notes
...version %s cannot be unloaded:\n %s
Paket %s Version %s kann nicht entladen werden\n%s%
po/R-de.po:1271
too few entries
No generic function %s found corresponding to requested imported
methods from package %s when loading %s (malformed exports?)
Keine generische Funktion, die mit der angeforderten Importmethode
f<U+00FC>r\n%s aus Paket %s korrespondiert, gefunden (Fehler in
Exports?)
not installing
2. on all packages for .da (easy to fix):
po/R-da.po:2: warning: header field 'Language-Team' still has the
initial default value
## An easy solution to update/test (R and..) translations
#...
2007 May 01
1
Questions about name space directives
Hi,
I'm hoping to get some clarification of the intent of some of
directives used in NAMESPACE files.
1. Is import(somePkg) also intended to import all classes and methods
that are exported via exportClasses and exportMethods in somePkg?
I think import pulls in classes and methods, but it isn't clear
from the docs whether this is as intended.
2. What is exportMethods intended
2014 Dec 21
0
loadNamespace and versionChecking and the otherpackage::otherfun syntax
...The checking
occurs
inside 3 loops, which all use an appropriate entry from vI as the
versionCheck
argument in a recursive call to loadNamespace, viz.
for (i in nsInfo$imports) {
...etc...
}
for (imp in nsInfo$importClasses) ...etc...
for (imp in nsInfo$importMethods) ...etc...
AN ASIDE ABOUT loadNamespace AND Depends:
=====================================
As an aside it appears that any version dependencies specified in the
Depends
field are overlooked - I suspect that loadNamespace might be more complete
if
there were something like
vD <- pkg...