From 723fade03871c3541243c509207bef568d60a945 Mon Sep 17 00:00:00 2001 From: Apostolos Chalkis Date: Mon, 16 Oct 2023 14:46:10 -0600 Subject: [PATCH] minor improvements (explanatory comments) --- cran_gen/genCRANpkg.R | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cran_gen/genCRANpkg.R b/cran_gen/genCRANpkg.R index a3661a5c0..e4f6008be 100644 --- a/cran_gen/genCRANpkg.R +++ b/cran_gen/genCRANpkg.R @@ -42,9 +42,8 @@ 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) - +# replace the lpsolve header file that issues a warning in mac's cran test file.copy(paste0(path,"/external/cmake-files/lpsolve_modified_header_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")