From ellis at stat.harvard.edu  Tue Apr 27 16:19:13 2004
From: ellis at stat.harvard.edu (ellis@stat.harvard.edu)
Date: Tue Apr 27 16:19:17 2004
Subject: [Rd] 'R CMD build' fails when there are spaces in the path (PR#6830)
Message-ID: <20040427141913.35041EFCF@slim.kubism.ku.dk>

Full_Name: Byron Ellis
Version: R 1.9.0 (and 2.0.0)
OS: Linux (Redhat Fedora Core)
Submission from: (NULL) (140.247.241.197)


It appears that `R CMD build` cannot handle spaces in the path when building
packages for distribution. For instance:

[ellis@net-78815 ~/Bayesian Networks]$ R CMD build bnsl
* checking for file 'bnsl/DESCRIPTION' ... OK
* preparing 'bnsl':
* cleaning src
* removing junk files
* building 'bnsl_0.0.1.tar.gz'
tar: Networks/bnsl_0.0.1.tar: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
tar: Networks/bnsl_0.0.1.tar: Not found in archive
tar: Error exit delayed from previous errors
Error: cannot open file 'bnsl/DESCRIPTION' for reading
[ellis@net-78815 ~/Bayesian Networks]$ 

Results in a file named "Bayesian" (that appears to be the uncompressed tar
file) in ~/. I suspect some missing quotes somewhere.


[Rd] 'R CMD build' fails when there are spaces in the path (PR#6830)
ellis@stat.harvard.edu