Skip to content

Commit 87f189b

Browse files
Quirks of test.data.table...
1 parent 5ad0080 commit 87f189b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

inst/tests/tests.Rraw

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20656,10 +20656,10 @@ test(2295.3, is.data.table(d2))
2065620656
# Ensure against regression noted in #6725
2065720657
x = data.frame(a=1)
2065820658
e = environment()
20659-
foo = function() {
20660-
setDT(get('x', envir=e))
20659+
foo = function(nm, env) {
20660+
setDT(get(nm, envir=env))
2066120661
}
20662-
foo()
20662+
foo('x', e)
2066320663
test(2295.4, is.data.table(x))
2066420664

2066520665
# #6588: .checkTypos used to give arbitrary strings to stopf as the first argument

0 commit comments

Comments
 (0)