[Rd] Rcmd REMOVE does not allow --library argument (PR#957)

Setzer.Woodrow@epamail.epa.gov Setzer.Woodrow@epamail.epa.gov
Wed, 30 May 2001 18:45:14 +0200 (MET DST)


This is in Windows 98.  The problem exists in both rw1021 and rw1023, using
ActiveState Perl builds 620 and 626:

C:\>Rcmd REMOVE --library=C:/R/Rlibs RBMDS
Unknown option: library
Usage: Rcmd REMOVE [options] pkgs

Remove the add-on packages specified by pkgs from the default library
tree (/library) or the tree specified via `--library'.

Options:
  -l, --library=LIB     remove packages from library tree LIB
  -v, --version         print version info and exit

Report bugs to <r-bugs@r-project.org>.


The fix is to change line 37 in rw1023/bin/Remove:
from
my @knownoptions = ("help|h", "version|v");
to
my @knownoptions = ("help|h", "library|l:s", "version|v");

R. Woodrow Setzer, Jr.                                            Phone:
(919) 541-0128
Experimental Toxicology Division                       Fax:  (919) 541-5394
Pharmacokinetics Branch
NHEERL MD-74; US EPA; RTP, NC 27711


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._