From 430c70e1effaff4ca783d166ee900c7596f13e56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Todor=20Kondi=C4=87?= <todor.kondic@uni.lu> Date: Tue, 12 May 2020 08:36:10 +0200 Subject: [PATCH] api: Update run * R/api.R(run): Update. --- R/api.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/api.R b/R/api.R index 901fd8f..ae7cdce 100644 --- a/R/api.R +++ b/R/api.R @@ -22,8 +22,8 @@ run <- function(fn_conf) { m <- new_state(conf=conf, GUI=F) - withr::with_dir(new=conf$project,code = run_in_dir(m)) - return() + m <- withr::with_dir(new=conf$project,code = run_in_dir(m)) + return(invisible(m)) } -- GitLab