File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ copr_install_isolated "iucar/rstudio" "rstudio-desktop" "rstudio-server"
1111jq --arg desktopName " rstudio.desktop" ' .["desktopName"] = ($desktopName)' /usr/libexec/rstudio/package.json | sponge /usr/libexec/rstudio/package.json
1212
1313# Extra CRAN packages using cran2copr repo
14- # - languageserver is needed for VS Code extension
15- mkdir -p /usr/local/lib/R/library/
16- copr_install_isolated " iucar/cran" " R-CRAN-languageserver" \
14+ pdnf copr enable " iucar/cran"
15+ mkdir -p /tmp/crans
16+ pdnf download --arch=$( uname -m) --resolve --destdir=/tmp/crans --from-repo=" copr:copr.fedorainfracloud.org:iucar:cran" \
17+ " R-CRAN-languageserver" \
1718 " R-CRAN-rmarkdown" " R-CRAN-rgbif" " R-CRAN-spocc" " R-CRAN-maps" " R-CRAN-mapproj" " R-CRAN-mapdata" " R-CRAN-dismo" " R-CRAN-raster" " R-CRAN-plotly" \
18- " R-CRAN-RColorBrewer" " R-CRAN-tidyverse" " R-CRAN-readxl"
19-
20- # R-CRAN packages install to wrong dir...
21- rsync -avh --remove-source-files /usr/local/lib/R/library/ /usr/lib64/R/library/
22- rm -rf /usr/local/lib/R/library/
19+ " R-CRAN-RColorBrewer" " R-CRAN-tidyverse" " R-CRAN-readxl" " R-CRAN-leafpop" " R-CRAN-geodata"
20+ rpm install --replacefiles --badreloc --relocate /usr/local/lib/R/library/=/usr/lib64/R/library/ /tmp/crans/* .rpm
21+ pdnf copr disable " iucar/cran"
22+ rm -rf /tmp/crans
2323
2424# copr_install_isolated "@copr/PyPI" "python-radian"
You can’t perform that action at this time.
0 commit comments