Displaying 2 results from an estimated 2 matches for "function_a".
Did you mean:
function_b
2020 Jan 24
3
R package builder silently continues after unclosed brace
If you start a function in one 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
}
--------
Th...
2020 Jan 25
0
R package builder silently continues after unclosed brace
...bor
On Sat, Jan 25, 2020 at 4:59 PM Andy Manka <andy.manka at gmail.com> wrote:
>
>
> If you start a function in one 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")
&...