From kjetilbrinchmannhalvorsen at gmail.com  Tue Nov 30 01:10:13 2010
From: kjetilbrinchmannhalvorsen at gmail.com (Kjetil Halvorsen)
Date: Mon, 29 Nov 2010 21:10:13 -0300
Subject: [Rd] proposal for new flag to R CMD INSTALL
Message-ID: <AANLkTiko3NLTyhHDyTaukK65K0qLFffJTnOw08uGrYd7@mail.gmail.com>

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



[Rd] proposal for new flag to R CMD INSTALL
Kjetil Halvorsen