Running ‘testthat.R’ [9s/28s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > #Workaround for https://github.com/hadley/testthat/issues/144
  > Sys.setenv ("R_TESTS" = "")
  > 
  > library(testthat)
  > library(multiplyr)
  Loading required package: magrittr
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  
  Attaching package: 'multiplyr'
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  > 
  > test_check("multiplyr")
  1. Error: Multiplyr[x, y] subsets rows and columns appropriately (@test-class.R#177) 
  attempt to apply non-function
  1: expect_equal(dat[, "x"], dat.df$x) at testthat/test-class.R:177
  2: compare(object, expected, ...)
  3: dat[, "x"]
  4: (function (classes, fdef, mtable) 
     {
         methods <- .findInheritedMethods(classes, fdef, mtable)
         if (length(methods) == 1L) 
             return(methods[[1L]])
         else if (length(methods) == 0L) {
             cnames <- paste0("\"", vapply(classes, as.character, ""), "\"", collapse = ", ")
             stop(gettextf("unable to find an inherited method for function %s for signature %s", 
                 sQuote(fdef@generic), sQuote(cnames)), domain = NA)
         }
         else stop("Internal error in finding inherited methods; didn't return a unique method", 
             domain = NA)
     })(list(structure("Multiplyr", package = "multiplyr"), structure("missing", package = "methods"), 
         "character", structure("missing", package = "methods")), structure(function (x, 
         i, j, ..., drop = TRUE) 
     standardGeneric("[", .Primitive("[")), generic = structure("[", package = "base"), package = "base", group = list(), valueClass = character(0), signature = c("x", 
     "i", "j", "drop"), default = .Primitive("["), skeleton = .Primitive("[")(x, i, j, 
         ..., drop = drop), class = structure("standardGeneric", package = "methods")), 
         <environment>)
  5: .findInheritedMethods(classes, fdef, mtable)
  6: `@<-`(`*tmp*`, "target", value = .newSignature(classes, fdef@signature))
  7: (function (x) 
     x$.self$finalize())(<environment>)
  
  Error in signalCondition(e) : 
    no function to return from, jumping to top level
  Calls: <Anonymous> -> .handleSimpleError -> h -> signalCondition
  2. Error: Multiplyr[x, y] subsets rows and columns appropriately (@test-class.R#177) 
  attempt to apply non-function
  1: expect_equal(dat[, "x"], dat.df$x) at testthat/test-class.R:177
  2: compare(object, expected, ...)
  3: dat[, "x"]
  4: (function (classes, fdef, mtable) 
     {
         methods <- .findInheritedMethods(classes, fdef, mtable)
         if (length(methods) == 1L) 
             return(methods[[1L]])
         else if (length(methods) == 0L) {
             cnames <- paste0("\"", vapply(classes, as.character, ""), "\"", collapse = ", ")
             stop(gettextf("unable to find an inherited method for function %s for signature %s", 
                 sQuote(fdef@generic), sQuote(cnames)), domain = NA)
         }
         else stop("Internal error in finding inherited methods; didn't return a unique method", 
             domain = NA)
     })(list(structure("Multiplyr", package = "multiplyr"), structure("missing", package = "methods"), 
         "character", structure("missing", package = "methods")), structure(function (x, 
         i, j, ..., drop = TRUE) 
     standardGeneric("[", .Primitive("[")), generic = structure("[", package = "base"), package = "base", group = list(), valueClass = character(0), signature = c("x", 
     "i", "j", "drop"), default = .Primitive("["), skeleton = .Primitive("[")(x, i, j, 
         ..., drop = drop), class = structure("standardGeneric", package = "methods")), 
         <environment>)
  5: .findInheritedMethods(classes, fdef, mtable)
  6: `@<-`(`*tmp*`, "target", value = .newSignature(classes, fdef@signature))
  7: (function (x) 
     x$.self$finalize())(<environment>)
  
  Error in signalCondition(e) : 
    no function to return from, jumping to top level
  Calls: <Anonymous> -> .handleSimpleError -> h -> signalCondition
  testthat results ================================================================
  OK: 957 SKIPPED: 0 FAILED: 2
  1. Error: Multiplyr[x, y] subsets rows and columns appropriately (@test-class.R#177) 
  2. Error: Multiplyr[x, y] subsets rows and columns appropriately (@test-class.R#177) 
  
  Error: testthat unit tests failed
  Execution halted