desription Suggests section [🇷 for BE/BA]
❝ Exactly. Recently I just wondered: I used to do install.packages("foo")
for all dependent or required packages before installing bear. That meant I used install.packages("foo",depend=NA)
as default. And it was OK. Now I use install.packages("foo",depend=TRUE)
and it is OK too. So I was wondering if we really need to set depend=TRUE. I also found if I set depend=TRUE R will install much more packages in that case. For example, I need to install package A. Package A depends on 3 packages (package B, C and D). Should I also install simultaneously package B, C and D? Furthermore, if package B depends on another 3 packages (package E, F & G), then will the option of depend=TRUE for package A also enable R to install package E, F & G? Therefore, I do not think we need to set depend=TRUE. I think R will check all required packages first for the package that we want to install. Then R will install these required packages first and leave the package that we need to install at last. Am I correct?
the difference between
NA
and TRUE
is that the latter installs the packages from 'Suggests' section. They are not necessary for the essential package functions work (in theory).You don't need to resolve the tree of dependencies of the packages, R will do that for you and installs all the tree (
dependencies=TRUE
just installs a little bit more). So just add an 'A' package inside imports section of description.And yes, you don't need
dependenices=TRUE
, keep it with default value.Kind regards,
Mittyri
Complete thread:
- updates of installation bear with macOS (Mojave) yjlee168 2019-07-08 10:15
- upgrade R with macOS (Mojave) yjlee168 2019-07-08 10:40
- an old itch when running RGtk2 (GUI) with macOS yjlee168 2019-07-08 11:14
- upgrade/re-install cairoDevice package from source (macOS) yjlee168 2019-08-11 20:29
- updates of installation bear with macOS (Mojave) mahmoud-teaima 2020-04-09 13:01
- bear with Catalina OS yjlee168 2020-04-09 15:46
- Installing R v4.0.0 & bear on Catalina (macOS 10.15.3) yjlee168 2020-04-29 10:19
- updates of installing bear/R v4.0.0 with macOS (Catalina) mahmoud-teaima 2020-04-29 15:09
- tricks of R v4.0.0 yjlee168 2020-04-29 16:13
- tricks of R v4.0.0 mahmoud-teaima 2020-04-29 23:00
- tricks of R v4.0.0 yjlee168 2020-04-30 01:19
- tricks of R v4.0.0 mahmoud-teaima 2020-05-01 01:38
- errors of bear in R v4.0.0 yjlee168 2020-05-01 23:42
- errors of bear in R v4.0.0 yjlee168 2020-05-05 01:53
- tricks of R v4.0.0 mahmoud-teaima 2020-05-01 01:38
- tricks of R v4.0.0 yjlee168 2020-04-30 01:19
- speed? Helmut 2020-04-30 12:38
- OT: What a relief :-) ElMaestro 2020-04-30 13:04
- OT: What a relief :-) Helmut 2020-04-30 15:21
- speed? yjlee168 2020-04-30 15:53
- speed? Helmut 2020-04-30 17:30
- speed? yjlee168 2020-04-30 18:40
- speed? Helmut 2020-04-30 23:40
- Xeon CPU yjlee168 2020-05-02 00:02
- Xeon (workstation, server) ↔ Core iX (desktop) Helmut 2020-05-02 01:22
- Xeon CPU yjlee168 2020-05-02 00:02
- speed? Helmut 2020-04-30 23:40
- speed? yjlee168 2020-04-30 18:40
- speed? Helmut 2020-04-30 17:30
- OT: What a relief :-) ElMaestro 2020-04-30 13:04
- tricks of R v4.0.0 mahmoud-teaima 2020-04-29 23:00
- tricks of R v4.0.0 yjlee168 2020-04-29 16:13
- updates of installing bear/R v4.0.0 with macOS (Catalina) mahmoud-teaima 2020-04-29 15:09
- updates of installation bear with macOS (Mojave) jabriges 2020-05-10 04:42
- errors of installation bear with Catalina yjlee168 2020-05-10 22:30
- errors of installation bear with Catalina jabriges 2020-05-10 23:42
- errors of installation bear with Catalina yjlee168 2020-05-11 00:40
- errors of installation bear with Catalina jabriges 2020-05-11 05:05
- bear v2.8.8 pre-release built under R v4.0.0 for macOS yjlee168 2020-05-11 11:15
- still having problems w/ bear v2.8.8 for R v4.0.0 for macOS jabriges 2020-05-11 18:06
- still having problems w/ bear v2.8.8 for R v4.0.0 for macOS yjlee168 2020-05-11 20:23
- still having problems w/ bear v2.8.8 for R v4.0.0 for macOS jabriges 2020-05-11 21:00
- still having problems w/ bear v2.8.8 for R v4.0.0 for macOS yjlee168 2020-05-11 21:21
- utils::install.packages() Helmut 2020-05-12 14:10
- depend = NA means ... yjlee168 2020-05-12 19:53
- install.package() for the source packages mittyri 2020-07-18 23:17
- install.package() for the source packages yjlee168 2020-07-20 00:53
- desription Suggests sectionmittyri 2020-07-20 13:27
- install.package() for the source packages yjlee168 2020-07-20 00:53
- install.package() for the source packages mittyri 2020-07-18 23:17
- depend = NA means ... yjlee168 2020-05-12 19:53
- utils::install.packages() Helmut 2020-05-12 14:10
- still having problems w/ bear v2.8.8 for R v4.0.0 for macOS yjlee168 2020-05-11 21:21
- still having problems w/ bear v2.8.8 for R v4.0.0 for macOS jabriges 2020-05-11 21:00
- still having problems w/ bear v2.8.8 for R v4.0.0 for macOS yjlee168 2020-05-11 20:23
- still having problems w/ bear v2.8.8 for R v4.0.0 for macOS jabriges 2020-05-11 18:06
- errors of installation bear on Windows Andrew S 2020-05-17 08:09
- errors of installation bear (R v4.0.0) on Windows yjlee168 2020-05-17 20:43
- errors of installation bear (R v4.0.0) on Windows Andrew S 2020-05-18 04:20
- errors of installation bear (R v4.0.0) on Windows elba.romero 2020-07-17 07:12
- errors of installation bear (R v4.0.0) on Windows Helmut 2020-07-17 10:46
- errors of installation bear (R v4.0.0) on Windows elba.romero 2020-07-18 17:43
- errors of installation bear (R v4.0.0) on Windows yjlee168 2020-07-20 01:00
- errors of installation bear (R v4.0.0) on Windows elba.romero 2020-07-28 03:18
- Accidentally perfect? yjlee168 2020-07-28 11:44
- Accidentally perfect? elba.romero 2020-07-28 18:58
- Accidentally perfect? yjlee168 2020-07-28 11:44
- errors of installation bear (R v4.0.0) on Windows elba.romero 2020-07-28 03:18
- errors of installation bear (R v4.0.0) on Windows yjlee168 2020-07-20 01:00
- errors of installation bear (R v4.0.0) on Windows elba.romero 2020-07-18 17:43
- errors of installation bear (R v4.0.0) on Windows Helmut 2020-07-17 10:46
- errors of installation bear (R v4.0.0) on Windows yjlee168 2020-05-17 20:43
- bear v2.8.8 pre-release built under R v4.0.0 for macOS yjlee168 2020-05-11 11:15
- errors of installation bear with Catalina jabriges 2020-05-11 05:05
- errors of installation bear with Catalina yjlee168 2020-05-11 00:40
- errors of installation bear with Catalina jabriges 2020-05-10 23:42
- errors of installation bear with Catalina yjlee168 2020-05-10 22:30
- upgrade R with macOS (Mojave) yjlee168 2019-07-08 10:40