It shouldn't be touching .GlobalEnv
> require(data.table) # 1.14.4 and before
> DT
Error: object 'DT' not found # correct error
> test.data.table()
All 10039 tests (last 2163) in tests/tests.Rraw.bz2 completed ok in 36.8s elapsed (48.6s cpu)
> DT
a
1: 1
Tests are already run in their own environment to isolate from .GobalEnv. That works well. But test 2036 uses source() which needs a local=TRUE adding.