Skip to content

Commit

Permalink
Moved data.table to imports per: Rdatatable/data.table#3076
Browse files Browse the repository at this point in the history
And updated files to pass devtools::check()
  • Loading branch information
brown-jason committed Feb 27, 2019
1 parent b67dc9f commit 501017f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Description: A set of tools for processing and modeling high-throughput and
can be used for diverse chemical screening efforts.
URL: https://github.com/USEPA/CompTox-ToxCast-tcpl
Depends:
R (>= 3.2.0),
data.table (>= 1.9.4)
R (>= 3.2.0)
Imports:
data.table (>= 1.9.4),
DBI,
RMySQL,
numDeriv,
Expand Down
3 changes: 2 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
tcpl v2.0.2
==============
Updated tcplLoadChem to return dsstox substance ids
* Updated tcplLoadChem to return dsstox substance ids
* Moved data.table to imports instead of depends

tcpl v2.0.1
==============
Expand Down
2 changes: 1 addition & 1 deletion R/tcplLoadChem.R
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ tcplLoadChem <- function(field = NULL, val = NULL, exact = TRUE,
include.spid = TRUE) {
tbl <- c("chemical", "sample")
## Variable-binding to pass R CMD Check
code <- casn <- chid <- chnm <- NULL
code <- casn <- chid <- chnm <- dsstox_substance_id <- NULL

if (!is.null(field)) {
vfield <- c("chid", "spid", "chnm", "casn", "code", "chem.only","dsstox_substance_id")
Expand Down
1 change: 1 addition & 0 deletions vignettes/Data_processing.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ $(document).ready(function() {
```{r eval = TRUE, echo = FALSE, message = FALSE}
library(htmlTable)
library(tcpl)
library(data.table)
```
```{r eval = TRUE, echo = FALSE, message = FALSE, results = "hide"}
Expand Down

0 comments on commit 501017f

Please sign in to comment.