Namespace File
See the complete log
fmc at raquel-laptop ~ $ R CMD check Bayesthres
* using log directory ?/home/fmc/Bayesthres.Rcheck?
* using R version 2.12.0 (2010-10-15)
* using platform: i486-pc-linux-gnu (32-bit)
* using session charset: UTF-8
* checking for file ?Bayesthres/DESCRIPTION? ... OK
* this is package ?Bayesthres? version ?0.1-0?
* checking package dependencies ... OK
* checking if this is a source package ... WARNING
Subdirectory ?Bayesthres/src? contains object files.
* checking for executable files ... OK
* checking whether package ?Bayesthres? can be installed ... ERROR
Installation failed.
See ?/home/fmc/Bayesthres.Rcheck/00install.out? for details.
File 00install.out
Error in dyn.load("Bayesthres.so") :
unable to load shared object '/home/fmc/Bayesthres/Bayesthres.so':
/home/fmc/Bayesthres/Bayesthres.so: cannot open shared object file: No such
file or directory
ERROR: lazy loading failed for package ?Bayesthres?
* removing ?/home/fmc/Bayesthres.Rcheck/Bayesthres?
Best wishes
F?bio Mathias Corr?a
Departamento de Estat?stica
Universidade Estadual de Santa Cruz
----- Mensagem original ----
De: Simon Urbanek <simon.urbanek at r-project.org>
Para: Fabio Mathias Corr?a <fabio.ufla at yahoo.com.br>
Cc: R-devel <r-devel at r-project.org>
Enviadas: Quarta-feira, 15 de Dezembro de 2010 17:10:21
Assunto: Re: [Rd] Namespace File
On Dec 15, 2010, at 1:56 PM, Fabio Mathias Corr?a wrote:
Dear, I am using Ubuntu linux and R2.12.0 The trial version is in my home. \home\Bayesthres~$ To perform the R CMD check \home~$ R CMD check Bayesthres
That is in general not a good idea, especially if you ever run things inside by hand for testing (because that will pollute the build). Make sure you clean your tree and use R CMD build followed by R CMD check on the resulting tar ball. Does the issue persist?
Within the directory Bayesthres, have: Directories: inst, man, R and src
What is in inst? Make sure you have no binaries there. Cheers, Simon
... but that's an entirely wrong place - I suspect you have some real issues in
the way your package is constructed. Are you sure you have the correct layout
and are using the *packaged* sources and not your working tree? (You didn't
tell
us anything about the package so there are many things that may be wrong - also
you omitted the most basic details such as R version and platform...)
Cheers,
Simon
F?bio Mathias Corr?a
Departamento de Estat?stica
Universidade Estadual de Santa Cruz