OK - this one does not work:"
Hi
I can't set a breakpoint inside a function defined in another function. For example:
test <- function(x = emeScheme_gd) {
# Calculate max ncol in list recursively ----------------------------------
maxncol <- function(x) {
if (is(x, "list")) {
result <- sapply(
x,
maxncol
) %>% max()
} else {
result <- ncol(x)
}
return(result)
}
# Recursive function to do the splitting ----------------------------------
# Return ------------------------------------------------------------------
return(result)
}
It has no effect when I re-load the package.
Rstudio Version:
Version 1.2.1139
Build 1147 (ab65ba09)
Is this a bug?
Thanks,
Rainer