Skip to content

Commit d571d8a

Browse files
committed
Just disable warn.conflicts for now
1 parent 0467ebe commit d571d8a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/autoprint.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
require(data.table, warn.conflicts=!exists("%notin%", "package:base"))
1+
# TODO(%notin%): re-enable warn.conflicts
2+
require(data.table, warn.conflicts=FALSE)
23
# Tests the suppression of := output
34
# Since this tests autoprinting at the console, it needs to use the .Rout.save mechanism in R CMD check
45
DT = data.table(a=1:2) # Should print at console?

tests/autoprint.Rout.save

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ Type 'demo()' for some demos, 'help()' for on-line help, or
1515
'help.start()' for an HTML browser interface to help.
1616
Type 'q()' to quit R.
1717

18-
> require(data.table, warn.conflicts=!exists("%notin%", "package:base"))
18+
> # TODO(%notin%): re-enable warn.conflicts
19+
> require(data.table, warn.conflicts=FALSE)
1920
> # Tests the suppression of := output
2021
> # Since this tests autoprinting at the console, it needs to use the .Rout.save mechanism in R CMD check
2122
> DT = data.table(a=1:2) # Should print at console?

0 commit comments

Comments
 (0)