search for: function_c

Displaying 2 results from an estimated 2 matches for "function_c".

Did you mean: function_b
2020 Jan 24
3
R package builder silently continues after unclosed brace
...ne file but don't close it, the package will still build if you manage to close it in a later file. Like so: a.R b.R c.R a.R: function_a <- function(){ print("this is function_a") } b.R: function_b <- function(){ print("unclosed function_b") # no closing } c.R: function_c <- function(){ print("function_c will be part of function_b") } #extra closing } to close function_b } -------- The package builder will import `a.R` and `b.R`. And because function_b was never closed, `c.R` gets subsumed into function_b. It's pretty hard to debug, and it means...
2020 Jan 25
0
R package builder silently continues after unclosed brace
...se it in a later file. Like so: > > a.R > b.R > c.R > > a.R: > function_a <- function(){ > print("this is function_a") > } > > b.R: > function_b <- function(){ > print("unclosed function_b") > # no closing } > > c.R: > function_c <- function(){ > print("function_c will be part of function_b") > } > #extra closing } to close function_b > } > > -------- > > The package builder will import `a.R` and `b.R`. And because > function_b was never closed, `c.R` gets subsumed into function_b....