[Rd] proposal for new flag to R CMD INSTALL

From: Kjetil Halvorsen <kjetilbrinchmannhalvorsen_at_gmail.com>
Date: Mon, 29 Nov 2010 21:10:13 -0300


For the purpose of helping in installing only parts of a package (in my case, the help system), R CMD INSTALL should accept a flag --no-check-deps

Below is a diff for R-devel, svn revision 53672

kjetil_at_kjetil:~/R/R-devel/src/library/tools/R$ diff install.R.old install.R 116a117
> " --no-check-deps skip test if installed depends/imports",
506c507
< if (length(miss) > 1)

---

> if ((length(miss) > 1) && check_deps)
510c511 < else if (length(miss)) ---
> else if (length(miss) && check_deps)
1025a1027
> check_deps <- TRUE
1133a1136,1137
> } else if (a == "--no-check-deps") {
> check_deps <- FALSE
kjetil ______________________________________________ R-devel_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Tue 30 Nov 2010 - 00:13:22 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 03 Dec 2010 - 12:10:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive