From fabio.ufla at yahoo.com.br  Wed Dec 15 21:34:50 2010
From: fabio.ufla at yahoo.com.br (=?utf-8?B?RmFiaW8gTWF0aGlhcyBDb3Jyw6ph?=)
Date: Wed, 15 Dec 2010 12:34:50 -0800 (PST)
Subject: [Rd]  Namespace File
In-Reply-To: <2BCFE4FC-C71E-4912-A71A-2F894684F5D8@r-project.org>
References: <362962.42310.qm@web59712.mail.ac4.yahoo.com>
	<80693E0D-7A0C-4678-B714-314421FFEC32@r-project.org>
	<970548.83885.qm@web59712.mail.ac4.yahoo.com>
	<FBEFE8CB-40B0-4AAC-B9ED-D7837297C975@r-project.org>
	<55476.99277.qm@web59712.mail.ac4.yahoo.com>
	<2BCFE4FC-C71E-4912-A71A-2F894684F5D8@r-project.org>
Message-ID: <386784.94946.qm@web59704.mail.ac4.yahoo.com>

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
> 
> 
> 
> 
> 






[Rd] Namespace File
=?utf-8?B?RmFiaW8gTWF0aGlhcyBDb3Jyw6ph?=