jonkeane commented on code in PR #45507:
URL: https://github.com/apache/arrow/pull/45507#discussion_r1955416016


##########
dev/tasks/r/github.linux.arrow.version.back.compat.yml:
##########
@@ -89,7 +89,7 @@ jobs:
         - { old_arrow_version: '1.0.1', r: '4.0' }
     env:
       ARROW_R_DEV: "TRUE"
-      RSPM: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest";
+      RSPM: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest";

Review Comment:
   What if we moved this later and did something like:
   
   ```
     - name: Set RSPM
           if: ${{ matrix.config.use_rspm  }}
           run: echo "RSPM 
=https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"; >> $GITHUB_ENV
   ```
   
   And then set `use_rspm` in the matrix:
   
   ```
           - { old_arrow_version: '14.0.2.1', r: '4.3', use_rspm = true }
           - { old_arrow_version: '13.0.0.1', r: '4.3', use_rspm = true }
           - { old_arrow_version: '12.0.1.1', r: '4.3', use_rspm = true }
           - { old_arrow_version: '11.0.0.3', r: '4.2', use_rspm = true }
           - { old_arrow_version: '10.0.1', r: '4.2', use_rspm = true }
           - { old_arrow_version: '9.0.0', r: '4.2', use_rspm = true }
           - { old_arrow_version: '8.0.0', r: '4.2', use_rspm = true }
           - { old_arrow_version: '7.0.0', r: '4.1', use_rspm = true }
           - { old_arrow_version: '6.0.1', r: '4.1', use_rspm = true }
           - { old_arrow_version: '5.0.0', r: '4.1', use_rspm = false }
           - { old_arrow_version: '4.0.0', r: '4.0', use_rspm = false }
           - { old_arrow_version: '3.0.0', r: '4.0', use_rspm = false }
           - { old_arrow_version: '2.0.0', r: '4.0', use_rspm = false }
           - { old_arrow_version: '1.0.1', r: '4.0', use_rspm = false }
   ```
   
   That should prevent setting RSPM and then it will use source installs when 
that's not set. This might not work / have other issues, but it's worth trying 
IMHO



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to