From 513684e65e3cfd22e2bea29283fb6b1a0d89cb2e Mon Sep 17 00:00:00 2001 From: James Lamb Date: Wed, 13 May 2020 19:01:39 +0100 Subject: [PATCH] Update R-package/src/install.libs.R --- R-package/src/install.libs.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R-package/src/install.libs.R b/R-package/src/install.libs.R index 67dd7554106c..0bc34bf23071 100644 --- a/R-package/src/install.libs.R +++ b/R-package/src/install.libs.R @@ -149,7 +149,7 @@ if (!use_precompile) { } else { visual_studio_succeeded <- .generate_vs_makefiles(cmake_args) if (!isTRUE(visual_studio_succeeded)) { - message("Building with Visual Studio failed. Attempting with MinGW") + warning("Building with Visual Studio failed. Attempting with MinGW") # Must build twice for Windows due sh.exe in Rtools cmake_args <- c(cmake_args, "-G", shQuote("MinGW Makefiles")) .run_shell_command("cmake", c(cmake_args, ".."), strict = FALSE)