This is an automated email from the ASF dual-hosted git repository.

thisisnic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 52f4fe1157 GH-32512: [Docs][R] Update conda install command (#34298)
52f4fe1157 is described below

commit 52f4fe1157b11818d4c21ffbbbaf0e4d3e921835
Author: Jacob Wujciak-Jens <[email protected]>
AuthorDate: Mon Feb 27 11:02:11 2023 +0100

    GH-32512: [Docs][R] Update conda install command (#34298)
    
    As shown in #34297 using the cli flag is not enough to avoid influence of 
the default channel causing extremely long solve times or conflicts.
    * Closes: #32512
    
    Authored-by: Jacob Wujciak-Jens <[email protected]>
    Signed-off-by: Nic Crane <[email protected]>
---
 r/vignettes/install.Rmd | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/r/vignettes/install.Rmd b/r/vignettes/install.Rmd
index 73ac8f632d..8051debc84 100644
--- a/r/vignettes/install.Rmd
+++ b/r/vignettes/install.Rmd
@@ -105,7 +105,10 @@ Similarly, if you use `conda` to manage your R 
environment, you can get the
 latest official release of the R package including libarrow via:
 
 ```shell
-conda install -c conda-forge --strict-channel-priority r-arrow
+# Using the --strict-channel-priority flag on `conda install` causes very long
+# solve times, so we add it directly to the config
+conda config --set channel_priority strict
+conda install -c conda-forge r-arrow
 ```
 
 ### R source package with libarrow binary

Reply via email to