On Thu, 16 Oct 2008, Kenneth Knoblauch wrote:
Must packages in the Depends field of the DESCRIPTION file have
NAMESPACES? I haven't seen this explicitly indicated anywhere.
No such requirememt.
I am writing a small package and find that when I add the abind
package to the list of the Depends field, I get an error in
R CMD check of the build.
* checking package name space information ... OK
* checking package dependencies ... ERROR
Packages required but not available:
abind
I expect it is in a non-default library tree. From 'Writing R Extensions'
Note: R CMD check and R CMD build run R with --vanilla, so none of the
user's startup files are read. If you need R_LIBS set (to find
packages in a non-standard library) you will need to set it in the
environment.
See the information on DESCRIPTION files in the chapter 'Creating R
packages' of the 'Writing R Extensions' manual.
The abind package is installed, my package installs, builds and loads
correctly and, in general, works, even the function that uses abind.
I haven't been able to spot an error from reading the 'Writing R Extensions'
manual, yet. About the only thing that I have noticed that is different
in this package from the others in the Depends list is that it doesn't
have a NAMESPACE.
Here is my sessionInfo:
R version 2.7.2 Patched (2008-09-02 r46491)
i386-apple-darwin8.11.1
locale:
en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] grid stats graphics grDevices utils datasets methods
[8] base
other attached packages:
[1] CorticalGraph_0.1-2 abind_1.1-0 geometry_0.1-4
[4] rgl_0.81 scatterplot3d_0.3-27 gridBase_0.4-3
loaded via a namespace (and not attached):
[1] tools_2.7.2
Any suggestions would be appreciated. Thank you.
Ken
--
Ken Knoblauch
Inserm U846
Institut Cellule Souche et Cerveau
Département Neurosciences Intégratives
18 avenue du Doyen Lépine
69500 Bron
France
tel: +33 (0)4 72 91 34 77
fax: +33 (0)4 72 91 34 61
portable: +33 (0)6 84 10 64 10
http://www.sbri.fr
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
--
Brian D. Ripley, [EMAIL PROTECTED]
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel