Full_Name: Arne Henningsen Version: >= 2.3.0 OS: Linux (SuSE 10.0) Submission from: (NULL) (134.245.18.1) Since R version 2.3.0 "R CMD check" and "R CMD INSTALL" work for packages whose package name is different from the directory name in which it is located (see http://cran.r-project.org/src/base/NEWS). While "R CMD check" and "R CMD INSTALL" determine the correct package name from the DESCRIPTION file, "R CMD build" uses the directory name (and not the package name) for the file name of the source package and for the base directory inside this .tar.gz archive (see also http://tolstoy.newcastle.edu.au/R/e2/devel/06/09/0406.html). Please let "R CMD build" determine the correct package name from the DESCRIPTION file. Thanks, Arne
WISH: "R CMD build" should use the (correct) package name (PR#9266)
2 messages · Arne Henningsen, Duncan Temple Lang
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I happened to be looking at that myself yesterday. It is relatively easy to get the package name from the DESCRIPTION file and not the directory name. But there are other issues. I'll look into this further in a week or two. D.
ahenningsen at agric-econ.uni-kiel.de wrote:
Full_Name: Arne Henningsen Version: >= 2.3.0 OS: Linux (SuSE 10.0) Submission from: (NULL) (134.245.18.1) Since R version 2.3.0 "R CMD check" and "R CMD INSTALL" work for packages whose package name is different from the directory name in which it is located (see http://cran.r-project.org/src/base/NEWS). While "R CMD check" and "R CMD INSTALL" determine the correct package name from the DESCRIPTION file, "R CMD build" uses the directory name (and not the package name) for the file name of the source package and for the base directory inside this .tar.gz archive (see also http://tolstoy.newcastle.edu.au/R/e2/devel/06/09/0406.html). Please let "R CMD build" determine the correct package name from the DESCRIPTION file. Thanks, Arne
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
- -- Duncan Temple Lang duncan at wald.ucdavis.edu Department of Statistics work: (530) 752-4782 4210 Mathematical Sciences Building fax: (530) 752-7099 One Shields Ave. University of California at Davis Davis, CA 95616, USA -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFFH9WU9p/Jzwa2QP4RAjWHAJ0bJYcFY/hxKSwXKNbC0r1RxnSB+ACffdCo z9vr7teuozTLiEoKOOTjab8= =ALqL -----END PGP SIGNATURE-----