You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Diana Clarke (Jira)" <ji...@apache.org> on 2021/03/14 17:26:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Diana Clarke updated ARROW-11965:
---------------------------------
    Description: 
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'
{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}

  was:
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'
{code}

Which I ignored and just tried {{R CMD INSTALL .}}, 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}


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