You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Mauricio 'Pachá' Vargas Sepúlveda (Jira)" <ji...@apache.org> on 2021/03/24 18:04:00 UTC
[jira] [Comment Edited] (ARROW-11965) [R][Docs] Fix
install.packages command in R dev docs
[ https://issues.apache.org/jira/browse/ARROW-11965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308078#comment-17308078 ]
Mauricio 'Pachá' Vargas Sepúlveda edited comment on ARROW-11965 at 3/24/21, 6:03 PM:
-------------------------------------------------------------------------------------
I have created a PR: https://github.com/apache/arrow/pull/9797
This is the detail:
_I have used the same setup that I used when I worked in finance, this is to call R --vanilla from the terminal, and use the global CRAN repository, so that this fix applies to Windows/Mac/Linux.
The changes made solve the following problems:
* Packages not installing because the default mirror is not found
* The lack of packages bit64 and tidyselect_
was (Author: pachamaltese):
I have created a PR: https://github.com/apache/arrow/pull/9797
This is the detail:
_I have used the same setup that I used when I worked in finance, this is to call R --vanilla from the terminal, and use the global CRAN repository, so that this fix applies to Windows/Mac/Linux.
The changes made solve the following problems:
* Packages not installing because the default mirror is not found
* The lack of packages bit64 and tidyselect
> [R][Docs] Fix install.packages command in R dev docs
> ----------------------------------------------------
>
> Key: ARROW-11965
> URL: https://issues.apache.org/jira/browse/ARROW-11965
> Project: Apache Arrow
> Issue Type: Bug
> Components: Documentation, R
> Reporter: Diana Clarke
> Assignee: Mauricio 'Pachá' Vargas Sepúlveda
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Fix the following R command.
> {code:java}
> R -e 'install.packages(c("devtools", "roxygen2", "pkgdown", "covr")); devtools::install_dev_deps()'
> {code}
> Found in the following section of these docs: [https://arrow.apache.org/docs/r/]
> {code:java}
> cd ../../r
> R -e 'install.packages(c("devtools", "roxygen2", "pkgdown", "covr")); devtools::install_dev_deps()'
> R CMD INSTALL .
> {code}
> Here are the errors I got:
> {code:java}
> Error in contrib.url(repos, type) :
> trying to use CRAN without setting a mirror
> {code}
> So instead I did that from an R prompt (and picked a mirror). Which mostly worked, except for this error:
> {code:java}
> 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’
> {code}
> Which I ignored and just tried "{{R CMD INSTALL .}}" again, but then I got this error:
> {code:java}
> ERROR: dependencies 'bit64', 'tidyselect' are not available for package 'arrow'
> {code}
> So then I also did this from an R prompt:
> {code:java}
> install.packages(c("bit64", "tidyselect"))
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)