You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I generally run examples listed in help documentation using the example command with the argument local=TRUE because I don't like polluting my workspace with variables/functions defined from running examples! So, I tried calling this: example(":=", package="data.table", local=TRUE) which yields an incomprenehsible error! However, calling example(":=", package="data.table") works correctly but then creates three variables (DT, sq_col_idx, and sq_cols) in my workspace. Thinking that this was just a unique case with := I tried example("CJ", package="data.table", local=TRUE) which tells me that it cannot find functionJ.
It appears that these issues are because of the NSE evaluation that data.table uses. If it is too much work to make example work with local=TRUE argument can you please ensure that example(":=", package="data.table") removes all the variables it created from the workspace?
The text was updated successfully, but these errors were encountered:
I generally run examples listed in help documentation using the
example
command with the argumentlocal=TRUE
because I don't like polluting my workspace with variables/functions defined from running examples! So, I tried calling this:example(":=", package="data.table", local=TRUE)
which yields an incomprenehsible error! However, callingexample(":=", package="data.table")
works correctly but then creates three variables (DT
,sq_col_idx
, andsq_cols
) in my workspace. Thinking that this was just a unique case with:=
I triedexample("CJ", package="data.table", local=TRUE)
which tells me that it cannot find functionJ
.It appears that these issues are because of the NSE evaluation that data.table uses. If it is too much work to make
example
work withlocal=TRUE
argument can you please ensure thatexample(":=", package="data.table")
removes all the variables it created from the workspace?The text was updated successfully, but these errors were encountered: