From edd at debian.org  Wed Jan 11 19:12:37 2012
From: edd at debian.org (Dirk Eddelbuettel)
Date: Wed, 11 Jan 2012 12:12:37 -0600
Subject: [Rd] Command completion of the R binary / Ubuntu
In-Reply-To: <CADfFDC5qZU3Wuz7uA3H4CvzhOTns=cxDrYevCC-w0WND90rZeg@mail.gmail.com>
References: <4F0D6883.8010309@ipht-jena.de>
	<CADfFDC5qZU3Wuz7uA3H4CvzhOTns=cxDrYevCC-w0WND90rZeg@mail.gmail.com>
Message-ID: <20237.53525.534664.107631@max.nulle.part>


On 11 January 2012 at 17:33, Deepayan Sarkar wrote:
| On Wed, Jan 11, 2012 at 4:16 PM, Claudia Beleites
| <claudia.beleites at ipht-jena.de> wrote:
| > Dear Deepayan and dear list,
| >
| > I notice a small inconsistency with the command completion of the R CMD
| > check. --no-latex is deprecated sincs R 2.12.0 and defunct since 2.13.0
| > but the command line completion still suggests it:
| >
| > cb at cbdesktop:~/r-devel$ bin/R CMD check --no-<here I hit tab>
| > --no-clean ? ? ?--no-examples ? --no-latex ? ? ?--no-vignettes
| > --no-codoc ? ? ?--no-install ? ?--no-tests
| > cb at cbdesktop:~/r-devel$ bin/R CMD check --no-latex
| > Fehler: '--no-latex' is defunct: use '--no-manual' instead
| >
| > I gather the command line options could be updated to current R CMD
| > check in file /etc/bash_completion.d/R:
| >
| > cb at cbdesktop:~/tmp$ diff R /etc/bash_completion.d/R
| > 244,247c244,245
| > < ? ? ? ? ? ? ? ? ? --no-install --no-tests --no-vignettes --no-manual \
| > < ? ? ? ? ? --no-rebuild-vignettes --install-args ?--check-subdirs \
| > < ? ? ? ? ? --extra-arch --multiarch --no-multiarch --force-multiarch \
| > < ? ? ? ? ? ? ? ? ? --timings ?--use-gct --use-valgrind --rcfile"
| > ---
| >> ? ? ? ? ? ? ? ? ? --no-install --no-tests --no-vignettes --no-latex \
| >> ? ? ? ? ? ? ? ? ? --use-gct --use-valgrind --rcfile"
| >
| > I gather from the mailing list archives, that the original is available at
| > http://code.google.com/p/rcompletion/source/browse/trunk/bash_completion/R
| >
| > Should I suggest the patch there? Will changes propagate to the packaged
| > linux distributions from there or should the updated file be brought to
| > the attention somewhere else?
| 
| Thanks for the patch.
| 
| I believe only Debian/Ubuntu package it (and this would have been more
| appropriate for r-sig-debian). I'll coordinate with Dirk et al to
| update the relevant files.

That is indeed almost entirely a Deepayan (juicy code) and Dirk (mere
packaging) issue as the rest (Ubuntun etc) just follows from there.  And
r-sig-debian would indeed have been a good venue too.  But posting here makes
it a nice reminder to everybody not using the .deb package about what they
are missing :)

Dirk
 
| -Deepayan
| 
| ______________________________________________
| R-devel at r-project.org mailing list
| https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
"Outside of a dog, a book is a man's best friend. Inside of a dog, it is too
dark to read." -- Groucho Marx



[Rd] Command completion of the R binary / Ubuntu
Dirk Eddelbuettel