diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2023-04-16 17:47:10 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2023-04-16 17:47:10 +0200 |
commit | 4140236154f35ccd99b22551947269348dc748db (patch) | |
tree | e5e993d0c6e8151c867e212c625220a87fdbefee | |
parent | 2ad43c6f186d582c0f608b0c656267b5d5a0b450 (diff) |
Suppress a warning about a path "(embedding)"
-rw-r--r-- | R/mkinmod.R | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/R/mkinmod.R b/R/mkinmod.R index 2f930adb..b3a1a87b 100644 --- a/R/mkinmod.R +++ b/R/mkinmod.R @@ -466,8 +466,10 @@ mkinmod <- function(..., use_of_ff = "max", name = NULL, if (!inherits(model$cf, "try-error")) { if (!quiet) message("Temporary DLL for differentials generated and loaded") if (!is.null(dll_dir)) { - model$dll_info <- inline::moveDLL(model$cf, name, dll_dir, - unload = unload, overwrite = overwrite, verbose = !quiet) + # We suppress warnings, as we get a warning about a path "(embedding)" + # under Windows, at least when using RStudio + suppressWarnings(inline::moveDLL(model$cf, name, dll_dir, + unload = unload, overwrite = overwrite, verbose = !quiet)) } model$dll_info <- inline::getDynLib(model$cf) } |