diff --git a/R/tasks/main.yml b/R/tasks/main.yml index 9399040d..d86a7258 100644 --- a/R/tasks/main.yml +++ b/R/tasks/main.yml @@ -59,7 +59,7 @@ command: > Rscript --slave --no-save --no-restore-history -e "if (! ('{{ item.plugin_name }}' %in% installed.packages()[,'Package'])) { require(devtools); require(methods) ; options(repos='{{ r_cran_mirror_site }}/') ; install_github('{{ item.plugin_name }}', '{{ item.github_user }}'); print('Added'); } else { print('Already Installed'); }" register: install_github_plugins_result - failed_when: "install_github_plugins_result.rc != 0 or 'had non-zero exit status' in install_s_plugins_result.stderr" + failed_when: "install_github_plugins_result.rc != 0 or 'had non-zero exit status' in install_github_plugins_result.stderr" changed_when: "'Added' in install_github_plugins_result.stdout" with_items: r_plugins_from_github when: r_plugins_from_github is defined