Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
Description
Fix the following R command.
R -e 'install.packages(c("devtools", "roxygen2", "pkgdown", "covr")); devtools::install_dev_deps()'
Found in the following section of these docs: https://arrow.apache.org/docs/r/
cd ../../r
R -e 'install.packages(c("devtools", "roxygen2", "pkgdown", "covr")); devtools::install_dev_deps()'
R CMD INSTALL .
Here are the errors I got:
Error in contrib.url(repos, type) : trying to use CRAN without setting a mirror
So instead I did that from an R prompt (and picked a mirror). Which mostly worked, except for this error:
Error in loadNamespace(name) : there is no package called 'devtools' ERROR: dependency ‘systemfonts’ is not available for package ‘textshaping’ * removing ‘/usr/local/Cellar/r/4.0.4/lib/R/library/textshaping’ ERROR: dependency ‘gert’ is not available for package ‘usethis’ * removing ‘/usr/local/Cellar/r/4.0.4/lib/R/library/usethis’ ERROR: dependencies ‘systemfonts’, ‘textshaping’ are not available for package ‘ragg’ * removing ‘/usr/local/Cellar/r/4.0.4/lib/R/library/ragg’ ERROR: dependency ‘usethis’ is not available for package ‘devtools’ * removing ‘/usr/local/Cellar/r/4.0.4/lib/R/library/devtools’ ERROR: dependency ‘ragg’ is not available for package ‘pkgdown’ * removing ‘/usr/local/Cellar/r/4.0.4/lib/R/library/pkgdown’
Which I ignored and just tried "R CMD INSTALL ." again, but then I got this error:
ERROR: dependencies 'bit64', 'tidyselect' are not available for package 'arrow'
So then I also did this from an R prompt:
install.packages(c("bit64", "tidyselect"))
Attachments
Issue Links
- links to