From dtenenba at fhcrc.org  Mon Apr  7 05:52:07 2014
From: dtenenba at fhcrc.org (Dan Tenenbaum)
Date: Sun, 6 Apr 2014 20:52:07 -0700 (PDT)
Subject: [Rd] minor issue with R CMD INSTALL --build
In-Reply-To: <1867252237.1388059.1396842585514.JavaMail.root@fhcrc.org>
Message-ID: <1444172336.1388061.1396842727876.JavaMail.root@fhcrc.org>

Hello,

I created a trivial package like this:

R --vanilla
a = 1
package.skeleton("apkg")

Then at the command prompt I removed apkg/man/* to avoid installation errors since those man pages are incomplete.

Then:

R CMD build apkg
R CMD INSTALL --build apkg_1.0.tar.gz 

says:
[...]
packaged installation of 'apkg' as 'apkg_1.0.tgz.gz'

I would have expected it to say:
packaged installation of 'apkg' as 'apkg_1.0.tgz'

Because indeed it did create apkg_1.0.tgz, not apkg_1.0.tgz.gz.

> sessionInfo()
R version 3.1.0 RC (2014-04-05 r65382)
Platform: x86_64-apple-darwin10.8.0 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base 

Thanks,
Dan



[Rd] minor issue with R CMD INSTALL --build
Dan Tenenbaum