[ 
https://issues.apache.org/jira/browse/ARROW-11965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308062#comment-17308062
 ] 

Mauricio 'Pachá' Vargas Sepúlveda commented on ARROW-11965:
-----------------------------------------------------------

Hi
This is closely related to the problems I saw today when building on Linux.
I have no idea about brew, but there' s a way to make this system-wide. I shall 
send a PR now with a long comment.

> [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
>
> 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)

Reply via email to