[rkward] rkward/rbackend/rpackages/rkward/R: Fix(?) evaluation environmen of .rk.with.window.hints().

Thomas Friedrichsmeier null at kde.org
Tue Apr 3 09:33:13 UTC 2018


Git commit ca5529a1c844a87697fb7faa06ac6f52cbcc332b by Thomas Friedrichsmeier.
Committed on 03/04/2018 at 09:31.
Pushed by tfry into branch 'master'.

Fix(?) evaluation environmen of .rk.with.window.hints().

This should allow plugin previews to prompt for installing missing packages, again.

M  +1    -1    rkward/rbackend/rpackages/rkward/R/rk.workspace-functions.R

https://commits.kde.org/rkward/ca5529a1c844a87697fb7faa06ac6f52cbcc332b

diff --git a/rkward/rbackend/rpackages/rkward/R/rk.workspace-functions.R b/rkward/rbackend/rpackages/rkward/R/rk.workspace-functions.R
index 31f42785..bb9556e0 100644
--- a/rkward/rbackend/rpackages/rkward/R/rk.workspace-functions.R
+++ b/rkward/rbackend/rpackages/rkward/R/rk.workspace-functions.R
@@ -108,6 +108,6 @@
 ".rk.with.window.hints" <- function (expr, placement="", name="", style="") {
 	.rk.do.plain.call ("set.window.placement.hint", as.character (c (placement, name, style)), FALSE)
 	on.exit (.rk.do.plain.call ("set.window.placement.hint", c ("", "", ""), FALSE))
-	eval.parent (substitute (eval (quote (expr), parent.frame ())))
+	eval.parent (expr)
 	invisible (NULL)
 }



More information about the rkward-tracker mailing list