Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-11965

[R][Docs] Fix install.packages command in R dev docs

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              pachamaltese Mauricio 'Pachá' Vargas Sepúlveda
              dianaclarke Diana Clarke
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m