From 4796b53f4cb10abe5057214a3aed18da342e198a Mon Sep 17 00:00:00 2001 From: qinwf Date: Tue, 27 Jun 2023 20:41:28 +0800 Subject: [PATCH] Update build_r.R for linux --- build_r.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build_r.R b/build_r.R index 50d61e550ace..b1d92c4326b4 100644 --- a/build_r.R +++ b/build_r.R @@ -106,9 +106,9 @@ if (length(keyword_args) > 0L) { install_libs_content <- gsub( pattern = paste0("command_line_args <- NULL") , replacement = paste0( - "command_line_args <- c(\'" - , paste(cmake_args_to_add, collapse = "', '") - , "')" + "command_line_args <- c(\"" + , paste(cmake_args_to_add, collapse = "\", \"") + , "\")" ) , x = install_libs_content , fixed = TRUE