Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(purrrlyr)
  > 
  > test_check("purrrlyr")
  -- 1. Error: dmap() works with sliced data frames (@test-dmap.R#9)  ------------
  results are all NULL and can't be cols/rows collated
  1: dmap(df, mean) at testthat/test-dmap.R:9
  2: sliced_dmap(.d, .f, ...)
  
  -- 2. Error: dmap() works with no columns to map (@test-dmap.R#15)  ------------
  results are all NULL and can't be cols/rows collated
  1: mtcars["cyl"] %>% slice_rows("cyl") %>% dmap(mean) at testthat/test-dmap.R:15
  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: dmap(., mean)
  10: sliced_dmap(.d, .f, ...)
  
  -- 3. Error: conditional sliced mapping recycles within groups (@test-dmap.R#26)
  results are all NULL and can't be cols/rows collated
  1: by_slice(df, dmap, mean, .collate = "rows") at testthat/test-dmap.R:26
  
  -- 4. Error: empty data frames (@test-rows.R#154)  -----------------------------
  results are all NULL and can't be cols/rows collated
  1: by_slice(grouped, empty_dataframes, .collate = "rows") at testthat/test-rows.R:154
  
  -- 5. Error: some empty data frames (@test-rows.R#166)  ------------------------
  results are all NULL and can't be cols/rows collated
  1: by_slice(grouped, some_empty_dataframes, .collate = "rows") at testthat/test-rows.R:166
  
  -- 6. Failure: by_slice() works with slicers of different types (@test-rows.R#20
  typeof(out1$cyl) not equal to "double".
  1/1 mismatches
  x[1]: "NULL"
  y[1]: "double"
  
  -- 7. Failure: by_slice() works with slicers of different types (@test-rows.R#20
  typeof(out2$cyl) not equal to "character".
  1/1 mismatches
  x[1]: "NULL"
  y[1]: "character"
  
  -- 8. Error: by_slice() does not create .row column (@test-rows.R#214)  --------
  results are all NULL and can't be cols/rows collated
  1: by_slice(data, function(x) 1:3, .collate = "rows") at testthat/test-rows.R:214
  
  -- 9. Failure: error is thrown when no columns to map (@test-rows.R#233)  ------
  `mtcars["cyl"] %>% slice_rows("cyl") %>% by_slice(list)` did not throw an error.
  
  == testthat results  ===========================================================
  OK: 66 SKIPPED: 0 FAILED: 9
  1. Error: dmap() works with sliced data frames (@test-dmap.R#9) 
  2. Error: dmap() works with no columns to map (@test-dmap.R#15) 
  3. Error: conditional sliced mapping recycles within groups (@test-dmap.R#26) 
  4. Error: empty data frames (@test-rows.R#154) 
  5. Error: some empty data frames (@test-rows.R#166) 
  6. Failure: by_slice() works with slicers of different types (@test-rows.R#207) 
  7. Failure: by_slice() works with slicers of different types (@test-rows.R#208) 
  8. Error: by_slice() does not create .row column (@test-rows.R#214) 
  9. Failure: error is thrown when no columns to map (@test-rows.R#233) 
  
  Error: testthat unit tests failed
  Execution halted