[education/rkward/releases/0.8.3] rkward/rbackend: Fix compilation with R < 4.6, now

Thomas Friedrichsmeier null at kde.org
Fri Apr 17 16:43:41 BST 2026


Git commit 6cc8ac06fcb498f13c9819e9f7294a97874f123e by Thomas Friedrichsmeier.
Committed on 17/04/2026 at 15:43.
Pushed by tfry into branch 'releases/0.8.3'.

Fix compilation with R < 4.6, now

M  +1    -1    rkward/rbackend/rkrapi.h

https://invent.kde.org/education/rkward/-/commit/6cc8ac06fcb498f13c9819e9f7294a97874f123e

diff --git a/rkward/rbackend/rkrapi.h b/rkward/rbackend/rkrapi.h
index 8e7ba33fe..06c9ca365 100644
--- a/rkward/rbackend/rkrapi.h
+++ b/rkward/rbackend/rkrapi.h
@@ -186,7 +186,6 @@ class RFn : public QObject {
 	IMPORT_R_API(R_DelayedBindingExpression);
 	IMPORT_R_API(R_DelayedBindingEnvironment);
 	//IMPORT_R_API(R_ForcedBindingExpression);
-	IMPORT_R_API(R_getVar);
 	// these were removed in R 4.6, but we still need them
 	// if using a lower R at runtime
 	static inline SEXP (*PRCODE)(SEXP) = nullptr;
@@ -276,6 +275,7 @@ class RFn : public QObject {
 	IMPORT_R_API(Rf_findVarInFrame);
 	IMPORT_R_API(Rf_getAttrib);
 	IMPORT_R_API(Rf_getCharCE);
+	IMPORT_R_API(R_getVar);
 	IMPORT_R_API(Rf_initialize_R);
 	IMPORT_R_API(Rf_install);
 	IMPORT_R_API(Rf_installChar);


More information about the rkward-tracker mailing list