Diana Clarke created ARROW-11965:
------------------------------------

             Summary: [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


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}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to