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



kje...@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@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to