Skip to content

Commit

Permalink
extra print in test summary (#4850)
Browse files Browse the repository at this point in the history
  • Loading branch information
jangorecki authored Dec 16, 2020
1 parent 21eec50 commit 7aa22ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/test.data.table.R
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ test.data.table = function(script="tests.Rraw", verbose=FALSE, pkg=".", silent=F
cat("10 longest running tests took ", as.integer(tt<-DT[, sum(time)]), "s (", as.integer(100*tt/(ss<-timings[,sum(time)])), "% of ", as.integer(ss), "s)\n", sep="")
print(DT, class=FALSE)

cat("All ",ntest," tests in ",names(fn)," completed ok in ",timetaken(env$started.at),"\n",sep="")
cat("All ",ntest," tests (last ",env$prevtest,") in ",names(fn)," completed ok in ",timetaken(env$started.at),"\n",sep="")

## this chunk requires to include new suggested deps: graphics, grDevices
#memtest.plot = function(.inittime) {
Expand Down
2 changes: 1 addition & 1 deletion inst/tests/tests.Rraw
Original file line number Diff line number Diff line change
Expand Up @@ -12899,7 +12899,7 @@ for (col in c('b', 'c')) {
#
# tests-S4.R (S4 Compatability)
#
suppressWarnings(setClass("Data.Table", contains="data.table")) # suppress 'Created a package name, 2018-05-26 06:14:43.444, when none found'
suppressWarnings(setClass("Data.Table", contains="data.table")) # suppress "Created a package name, '2018-05-26 06:14:43.444', when none found"
suppressWarnings(setClass("S4Composition", representation(data="data.table")))
# data.table can be a parent class
ids <- sample(letters[1:3], 10, replace=TRUE)
Expand Down

0 comments on commit 7aa22ee

Please sign in to comment.