diff --git a/DESCRIPTION b/DESCRIPTION index 65fe637..657f5e9 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -47,3 +47,4 @@ Collate: 'connection_viewer.R' RoxygenNote: 7.3.2 VignetteBuilder: knitr +SystemRequirements: NUMA (deb) or numactl-devel (rpm) diff --git a/R/helper.R b/R/helper.R index f3903ca..654eb14 100644 --- a/R/helper.R +++ b/R/helper.R @@ -292,7 +292,8 @@ download_sas_binaries <- function(libpath = .libPaths()){ installed_lib_paths = paste0("R-swat-", pkg_ver, "/inst/libs") untar(tempfile, files = installed_lib_paths, exdir = temp) - file.rename(file.path(temp, installed_lib_paths), file.path(libpath, "libs")) + dir.create(file.path(libpath, "libs"),recursive = TRUE) + file.copy(file.path(temp, installed_lib_paths), file.path(libpath), recursive = TRUE) message("Restart your R session and reload swat to enable binary connection") }