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
# "yaml" # for fread's yaml argument (csvy capability)
12
12
# # zoo # In DESCRIPTION:Suggests otherwise R CMD check warning: '::' or ':::' import not declared from: 'zoo'; it is tested in other.Rraw though
13
13
14
-
if (exists("test.data.table",.GlobalEnv,inherits=FALSE) ||
14
+
if (exists("test.data.table",.GlobalEnv,inherits=FALSE) ||
15
15
!"package:data.table" %in% search()) {
16
-
stop("Usage: R CMD INSTALL; require(data.table); test.data.table('other.Rraw')")
16
+
stop(
17
+
"Usage: R CMD INSTALL; require(data.table); test.data.table('other.Rraw')\n",
18
+
" Did you try running it under cc()?"
19
+
)
17
20
# running other.Raw in dev mode (i.e. when data.table is not installed) is not intended to work
18
21
}
19
22
@@ -47,7 +50,7 @@ cat("\n")
47
50
print(sessionInfo())
48
51
cat("\n")
49
52
50
-
if (all(c("package:reshape","package:reshape2") %in% search())) {
53
+
if (all(c("package:reshape","package:reshape2") %in% search())) {
51
54
warning("Packages 'reshape' and 'reshape2' are both loaded. There have been problems before when you don't use the :: namespace prefix to disambiguate. Probably best to either remove.packages('reshape') and use reshape2 instead, or always use :: when packages mask non-generic names.")
52
55
}
53
56
@@ -181,10 +184,14 @@ if (loaded[["knitr"]]) {
181
184
# kable in knitr v1.6 uses DF[...] syntax inside it but the user might have passed a data.table.
@@ -531,6 +538,9 @@ if (loaded[["xts"]]) { # was 1465 in tests.Rraw, #5516
531
538
# was 2108 in tests.Rraw, #5516
532
539
# first and last should no longer load xts namespace, #3857, below commented test for interactive validation when xts present but not loaded or attached
0 commit comments