From 274c02ff18989a9703c67f1f80b7bfd37c8acdb0 Mon Sep 17 00:00:00 2001 From: Apostolos Chalkis Date: Mon, 16 Oct 2023 11:27:58 -0600 Subject: [PATCH] fix R warning in mac test --- cran_gen/genCRANpkg.R | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cran_gen/genCRANpkg.R b/cran_gen/genCRANpkg.R index f12905f06..976d17970 100644 --- a/cran_gen/genCRANpkg.R +++ b/cran_gen/genCRANpkg.R @@ -42,6 +42,9 @@ dir_lp = paste0(path,"/lpSolveAPI/inst/include") h_files = dir(dir_lp, "*.h", ignore.case = TRUE, all.files = TRUE) lp_dist = paste0(path,"/external/LPsolve_src/include") file.copy(file.path(dir_lp, h_files), lp_dist, recursive=TRUE, overwrite=TRUE) + +file.copy(paste0(path,"/external/cmake-files/lp_rlp.h"), lp_dist, recursive=TRUE, overwrite=TRUE) + dir_lp = paste0(path,"/lpSolve/src") h_files = dir(dir_lp, "*.h", ignore.case = TRUE, all.files = TRUE) lp_dist = paste0(path,"/external/LPsolve_src/run_headers")