Running ‘testthat.R’ [18s/82s]
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: arrange() can sort with mixed orders (@test-arrange.R#120) -----------
  attempt to apply non-function
  1: dat %>% arrange(desc(x), y, desc(z)) at testthat/test-arrange.R:120
  2: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
  3: eval(quote(`_fseq`(`_lhs`)), env, env)
  4: eval(quote(`_fseq`(`_lhs`)), env, env)
  5: `_fseq`(`_lhs`)
  6: freduce(value, `_function_list`)
  7: withVisible(function_list[[k]](value))
  8: function_list[[k]](value)
  9: arrange(., desc(x), y, desc(z))
  10: arrange_(.self, .dots = .dots)
  11: .self$sort(decreasing = sort.desc, cols = cols)
  12: bm_mpermute(bm, cols = cols, decreasing = decreasing)
  13: bigmemory::mpermute(x, order = bm_morder(x, cols = cols, decreasing = decreasing, 
         ...), allow.duplicates = allow.duplicates)
  14: bm_morder(x, cols = cols, decreasing = decreasing, ...)
  15: rank(x[w, cols[i]], ties.method = "min", na.last = na.last)
  16: x[w, cols[i]]
  17: (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("big.matrix", package = "bigmemory"), "logical", "integer", 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>)
  18: .findInheritedMethods(classes, fdef, mtable)
  19: get(".MTable", envir = environment(fdef))
  20: (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: 1
  1. Error: arrange() can sort with mixed orders (@test-arrange.R#120) 
  
  Error: testthat unit tests failed
  Execution halted