install.package() for the source packages [🇷 for BE/BA]
Dear Yung-jin,
let me comment
From the man:
So 'TRUE' is closer to NA. That's really a bit confusing and I don't know the history of that function argument. If set to 'FALSE', R still stop and warn you so you can decide what you would like to do
By the way if you install locally that's another story, since
So it is not possible to install dependent packages for a locally installed package within install.package()
There are solutions available:
- use devtools::install_local; there's an option to install dependencies from CRAN
- create and use your own repo
let me comment
❝ Right and thank you very much for your info. But this depend option within install.packages(...)
has two choices, one is 'NA' and the other is 'TRUE'. And you're correct, when it is 'NA'(default), means c("Depends", "Imports", "LinkingTo")
. Does here 'NA' mean or imply 'FALSE' or what? If yes, why not using 'FALSE' instead of 'NA'? So I guess 'NA' is not 'FALSE' for depend option. NA is... NA.
From the man:
The default, NA, means c("Depends", "Imports", "LinkingTo").
TRUE means to use c("Depends", "Imports", "LinkingTo", "Suggests") for pkgs and c("Depends", "Imports", "LinkingTo") for added dependencies
So 'TRUE' is closer to NA. That's really a bit confusing and I don't know the history of that function argument. If set to 'FALSE', R still stop and warn you so you can decide what you would like to do
By the way if you install locally that's another story, since
Not used if repos = NULL...
So it is not possible to install dependent packages for a locally installed package within install.package()
There are solutions available:
- use devtools::install_local; there's an option to install dependencies from CRAN
- create and use your own repo
—
Kind regards,
Mittyri
Kind regards,
Mittyri
Complete thread:
- updates of installation bear with macOS (Mojave) yjlee168 2019-07-08 10:15 [🇷 for BE/BA]
- 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 packagesmittyri 2020-07-18 23:17
- install.package() for the source packages yjlee168 2020-07-20 00:53
- desription Suggests section mittyri 2020-07-20 13:27
- install.package() for the source packages yjlee168 2020-07-20 00:53
- install.package() for the source packagesmittyri 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