diff --git a/build_r.R b/build_r.R index e4c54c578680..29a4d3cc382d 100644 --- a/build_r.R +++ b/build_r.R @@ -91,6 +91,6 @@ tarball <- file.path(getwd(), sprintf("lightgbm_%s.tar.gz", version)) cmd <- sprintf("R CMD INSTALL %s --no-multiarch --with-keep.source", tarball) if (INSTALL_AFTER_BUILD) { .run_shell_command(cmd) -} else { +} else { print(sprintf("Skipping installation. Install the package with command '%s'", cmd)) }