Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test.data.table() creates an object in global env #2828

Closed
etienne-s opened this issue May 3, 2018 · 0 comments
Closed

test.data.table() creates an object in global env #2828

etienne-s opened this issue May 3, 2018 · 0 comments
Milestone

Comments

@etienne-s
Copy link

@etienne-s etienne-s commented May 3, 2018

Running test.data.table() creates a data.table x in my global environment. I think this shouldn't happen.

str(x)
# Classes ‘data.table’ and 'data.frame':	4 obs. of  3 variables:
#  $ A: num  17 3 NA 0
#  $ B: num  34 NA 2 0.1
#  $ C: num  2.3 1 NA 0
#  - attr(*, ".internal.selfref")=<externalptr>

It looks like it comes from test id 1904.

Session info
R version 3.5.0 (2018-04-23)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

Matrix products: default

locale:
[1] LC_COLLATE=French_France.1252  LC_CTYPE=French_France.1252    LC_MONETARY=French_France.1252
[4] LC_NUMERIC=C                   LC_TIME=French_France.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] data.table_1.11.0

loaded via a namespace (and not attached):
[1] compiler_3.5.0 tools_3.5.0    yaml_2.1.19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.