Skip to content

Commit

Permalink
changes ordering to have r-pkg installation last (given time to compl…
Browse files Browse the repository at this point in the history
…ete ☕)️
  • Loading branch information
francojc committed Nov 2, 2024
1 parent 99a18ea commit fc28f1c
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions install-extras.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,6 @@ else
echo "Skipping git settings configuration"
fi

# Install R packages: run r-pkg-install.R

echo "Install R dependencies (R packages)? ([y]/n)"
read -r install_deps
install_deps=${install_deps:-y}

if [ "$install_deps" == "y" ]; then
Rscript r-pkgs-install.R
else
echo "Skipping R package installation"
fi

# Install RStudio preferences

echo "Install recommended RStudio preferences? ([y]/n)"
Expand All @@ -94,8 +82,17 @@ else
echo "Skipping RStudio preferences installation"
fi

echo "Script completed"
# Install R packages: run r-pkg-install.R

echo "Install R dependencies (R packages)? ([y]/n)"
read -r install_deps
install_deps=${install_deps:-y}

if [ "$install_deps" == "y" ]; then
Rscript r-pkgs-install.R
else
echo "Skipping R package installation"
fi

echo "Script completed"

0 comments on commit fc28f1c

Please sign in to comment.