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? Best regards, Claudia> sessionInfo ()R version 2.14.1 (2011-12-22) Platform: x86_64-pc-linux-gnu (64-bit) locale: [1] LC_CTYPE=de_DE.UTF-8 LC_NUMERIC=C [3] LC_TIME=de_DE.UTF-8 LC_COLLATE=de_DE.UTF-8 [5] LC_MONETARY=de_DE.UTF-8 LC_MESSAGES=de_DE.UTF-8 [7] LC_PAPER=C LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base -- Claudia Beleites Spectroscopy/Imaging Institute of Photonic Technology Albert-Einstein-Str. 9 07745 Jena Germany email: claudia.beleites at ipht-jena.de phone: +49 3641 206-133 fax: +49 2641 206-399 -------------- next part -------------- A non-text attachment was scrubbed... Name: bash_completion.diff Type: text/x-patch Size: 379 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20120111/49bdef24/attachment.bin>
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. -Deepayan
Claudia Beleites
2012-Jan-11 15:02 UTC
[Rd] Command completion of the R binary / Ubuntu: result
Dear list, for the benefit of people searching for this in the future (and as r-devel archives are searched by RSiteSearch, but r-sig-debian isn't): - command line completion of the R command doesn't have anything to do with R - Deepayan told me that as far as he knows, only Debian (and Ubuntu) have it, so R-sig-debian is the appropriate mailing list. Deepayan moved the discussion there. Thanks. Have a nice day, Claudia -- Claudia Beleites Spectroscopy/Imaging Institute of Photonic Technology Albert-Einstein-Str. 9 07745 Jena Germany email: claudia.beleites at ipht-jena.de phone: +49 3641 206-133 fax: +49 2641 206-399
Deepayan Sarkar-3 wrote> > 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. > > -Deepayan >The bash completion script is also used by the Homebrew package manager on OS X. -Charlie ----- Charlie Sharpsteen Undergraduate-- Environmental Resources Engineering Humboldt State University -- View this message in context: http://r.789695.n4.nabble.com/Command-completion-of-the-R-binary-Ubuntu-tp4285040p4286476.html Sent from the R devel mailing list archive at Nabble.com.