diff --git a/workflow/qhtcp-workflow b/workflow/qhtcp-workflow index c702e946..164c0bec 100755 --- a/workflow/qhtcp-workflow +++ b/workflow/qhtcp-workflow @@ -574,6 +574,9 @@ install_dependencies() { # Install R packages echo "Installing R packages" + # Make R library directory if it doesn't exist + [[ -d "$R_LIBS_USER" ]] || mkdir -p "$R_LIBS_USER" + depends_r_str="" depends_r_to_string() { for d in "${depends_r[@]}"; do