Dear Berend,

thanks for your input. It got me onto the right track - sort of.
First, I repeated what you suggested: build an existing version. This caused a problem with LaTeX fonts (which then lead to a whole new line of trouble because my BasixTeX wrongly claims to be a 2010 release and hence TeX Live Manager wouldn't install the missing packages.)

Having fixed that, the old version built properly, but the new one still generated the tar.gz with empty directories. Eventually I found that a (hidden) .Rbuildignore was still in the package folder.

As I said, I am new to Mac and learned a lot about UNIX-style rights management, hidden files, finder relaunches, ...

Eventually, all seems to work smoothly now.

Thanks again,

Carsten


On 19.05.10 16:54, Berend Hasselman wrote:

On 19-05-2010, at 16:19, Carsten Dormann wrote:


My problem: although "R CMD build bipartite" works, it produces a nicely packed 
set of EMPTY directories:

cle09:~ dormann$ R CMD build bipartite
* checking for file 'bipartite/DESCRIPTION' ... OK
* preparing 'bipartite':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* removing junk files
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
WARNING: directory 'bipartite/data' is empty
WARNING: directory 'bipartite/inst/doc' is empty
WARNING: directory 'bipartite/man' is empty
WARNING: directory 'bipartite/R' is empty
WARNING: directory 'bipartite/src' is empty
* building 'bipartite_1.12.tar.gz'


I have just downloaded the source of bipartite.
I ran R CMD build bipartite in the directory containing bipartite.
No error message.
It generated a perfectly correct .tar.gz with no error messages.

By the way, R CMD build<...>  does not produce directories; it produces 
a<...>.tar.gz

So it would seem that your bipartite directory is empty.
Try downloading the source package from CRAN and then run R CMD check.

Berend Hasselman


--
Dr. Carsten F. Dormann
Department of Computational Landscape Ecology
Helmholtz Centre for Environmental Research-UFZ
Permoserstr. 15
04318 Leipzig
Germany

Tel: ++49(0)341 2351946
Fax: ++49(0)341 2351939
Email: carsten.dorm...@ufz.de
internet: http://www.ufz.de/index.php?de=4205

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to