aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2023-04-16 17:47:10 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2023-04-16 17:47:10 +0200
commit4140236154f35ccd99b22551947269348dc748db (patch)
treee5e993d0c6e8151c867e212c625220a87fdbefee
parent2ad43c6f186d582c0f608b0c656267b5d5a0b450 (diff)
Suppress a warning about a path "(embedding)"
-rw-r--r--R/mkinmod.R6
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)
}

Contact - Imprint