Skip to content

Commit 501017f

Browse files
committed
Moved data.table to imports per: Rdatatable/data.table#3076
And updated files to pass devtools::check()
1 parent b67dc9f commit 501017f

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

DESCRIPTION

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ Description: A set of tools for processing and modeling high-throughput and
1616
can be used for diverse chemical screening efforts.
1717
URL: https://github.com/USEPA/CompTox-ToxCast-tcpl
1818
Depends:
19-
R (>= 3.2.0),
20-
data.table (>= 1.9.4)
19+
R (>= 3.2.0)
2120
Imports:
21+
data.table (>= 1.9.4),
2222
DBI,
2323
RMySQL,
2424
numDeriv,

NEWS

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
tcpl v2.0.2
22
==============
3-
Updated tcplLoadChem to return dsstox substance ids
3+
* Updated tcplLoadChem to return dsstox substance ids
4+
* Moved data.table to imports instead of depends
45

56
tcpl v2.0.1
67
==============

R/tcplLoadChem.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ tcplLoadChem <- function(field = NULL, val = NULL, exact = TRUE,
5656
include.spid = TRUE) {
5757
tbl <- c("chemical", "sample")
5858
## Variable-binding to pass R CMD Check
59-
code <- casn <- chid <- chnm <- NULL
59+
code <- casn <- chid <- chnm <- dsstox_substance_id <- NULL
6060

6161
if (!is.null(field)) {
6262
vfield <- c("chid", "spid", "chnm", "casn", "code", "chem.only","dsstox_substance_id")

vignettes/Data_processing.Rmd

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ $(document).ready(function() {
3232
```{r eval = TRUE, echo = FALSE, message = FALSE}
3333
library(htmlTable)
3434
library(tcpl)
35+
library(data.table)
3536
3637
```
3738
```{r eval = TRUE, echo = FALSE, message = FALSE, results = "hide"}

0 commit comments

Comments
 (0)