I have a program with many functions and function calls. So, I edit a function, and want the function definitions to be updated in R environment, but they are not actually called.
I defined a variable Update and when it is TRUE, I want to stop the program just after function definitions.
ReadInput <- function(...) ...
Analyze <- function(...) ...
WriteOutput <- function(...) ...
# main body
x <- ReadInput()
y <- Analyze(x)
I ran the stop() function, but it always returns an error message.
Is there any other way to stop this?