File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 4141DESCRIPTION=" ${PKGDIR} /DESCRIPTION"
4242sed ' /^[[:space:]]*$/d' -i " ${DESCRIPTION} " # deletes empty lines at end of DESCRIPTION
4343
44- # Get system dependencies
45- echo " ::group::Installing system dependencies"
46- Rscript --no-init-file -e " buildtools::install_sysdeps('$PKGDIR ')"
47- echo " ::endgroup::"
48-
4944# Experimental: support pkgs like rJava
5045if test -f " $PKGDIR /bootstrap.R" ; then
5146 echo " Trying to run $PKGDIR /bootstrap.R"
@@ -110,6 +105,12 @@ echo "::group::Installing R dependencies"
110105Rscript --no-init-file -e " buildtools::install_dependencies('$PKGDIR ')"
111106echo " ::endgroup::"
112107
108+ # Get system dependencies
109+ # We do this after installing dependencies to prevent pak from hanging
110+ echo " ::group::Installing system dependencies"
111+ Rscript --no-init-file -e " buildtools::install_sysdeps('$PKGDIR ')"
112+ echo " ::endgroup::"
113+
113114# These are set in install_dependencies() above
114115if [ -f " /NEED_RJAVA" ]; then
115116 echo " NEED_RJAVA=true" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments