From 351b26368d3d8a964224336da454fb3a4fa4ce66 Mon Sep 17 00:00:00 2001 From: Jens Sauer Date: Mon, 21 Dec 2020 16:39:24 +0100 Subject: [PATCH] uitils: Remove global data object before reinitializing It seems that just overriding the object may not be enough to pure it. Before loading the data, the variable "secmal" is removed. --- utils.R | 1 + 1 file changed, 1 insertion(+) diff --git a/utils.R b/utils.R index 635dc8e..38582a3 100644 --- a/utils.R +++ b/utils.R @@ -120,5 +120,6 @@ sma_init <- function() { sma_init_force <- function() { print("Reloading secMalASCT data") remove(sma_initialized, pos = ".GlobalEnv") + remove(secmal, pos = ".GlobalEnv") sma_init() }