Skip to content

Commit 7b8884d

Browse files
committed
Move data.table from Depends to Imports (see Rdatatable/data.table#3076)
1 parent fae02a9 commit 7b8884d

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

DESCRIPTION

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ Authors@R: c(
77
person("Elzo", "de Wit", email = "[email protected]", role = "aut"))
88
Description: GENOVA consist of a set of analysis- and visualisation-functions. These will help to discover valuable information buried deep in your HiC-matrices.
99
Depends:
10-
R (>= 3.5.0),
11-
data.table
10+
R (>= 3.5.0)
1211
License: MIT + file LICENSE
1312
Encoding: UTF-8
1413
LazyData: true
1514
Imports:
1615
ggplot2 (>= 3.3.0),
17-
scales (>= 1.1.1)
16+
scales (>= 1.1.1),
17+
data.table
1818
RoxygenNote: 7.1.1
1919
Suggests:
2020
knitr,

R/GENOVA.R

+14
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@
44
#' @import utils graphics stats grDevices
55
NULL
66

7+
# data.table is generally careful to minimize the scope for namespace
8+
# conflicts (i.e., functions with the same name as in other packages);
9+
# a more conservative approach using @importFrom should be careful to
10+
# import any needed data.table special symbols as well, e.g., if you
11+
# run DT[ , .N, by='grp'] in your package, you'll need to add
12+
# @importFrom data.table .N to prevent the NOTE from R CMD check.
13+
# See ?data.table::`special-symbols` for the list of such symbols
14+
# data.table defines; see the 'Importing data.table' vignette for more
15+
# advice (vignette('datatable-importing', 'data.table')).
16+
#
17+
#' @import data.table
18+
NULL
19+
20+
721
utils::globalVariables(c('.',
822
LETTERS[1:5],
923
'colour',

0 commit comments

Comments
 (0)