Running 'testthat.R' [26s/28s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(dplyr)
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > 
  > test_check("dplyr")
  -- 1. Error: group_by_(at,all) handle utf-8 names (#3829) (@test-colwise-mutate.
  unable to translate '<U+4E2D>' to native encoding
  1: withr::with_locale(c(LC_CTYPE = "C"), {
         name <- "<U+4E2D>"
         tbl <- tibble(a = 1) %>% setNames(name)
         res <- group_by_all(tbl) %>% groups()
         expect_equal(res[[1]], sym(name))
         res <- group_by_at(tbl, name) %>% groups()
         expect_equal(res[[1]], sym(name))
     }) at testthat/test-colwise-mutate.R:247
  2: force(code)
  3: group_by_all(tbl) %>% groups() at testthat/test-colwise-mutate.R:252
  4: eval(lhs, parent, parent)
  5: eval(lhs, parent, parent)
  6: group_by_all(tbl)
  7: manip_all(.tbl, .funs, enquo(.funs), caller_env(), ...)
  8: syms(tbl_nongroup_vars(.tbl))
  9: map(x, sym)
  10: lapply(.x, .f, ...)
  11: FUN(X[[i]], ...)
  
  -- 2. Error: *_(all,at) handle utf-8 names (#2967) (@test-colwise-mutate.R#263) 
  unable to translate '<U+4E2D>' to native encoding
  1: withr::with_locale(c(LC_CTYPE = "C"), {
         name <- "<U+4E2D>"
         tbl <- tibble(a = 1) %>% setNames(name)
         res <- tbl %>% mutate_all(funs(as.character)) %>% names()
         expect_equal(res, name)
         res <- tbl %>% mutate_at(name, funs(as.character)) %>% names()
         expect_equal(res, name)
         res <- tbl %>% summarise_all(funs(as.character)) %>% names()
         expect_equal(res, name)
         res <- tbl %>% summarise_at(name, funs(as.character)) %>% names()
         expect_equal(res, name)
         res <- tbl %>% mutate_all(list(as.character)) %>% names()
         expect_equal(res, name)
         res <- tbl %>% mutate_at(name, list(as.character)) %>% names()
         expect_equal(res, name)
         res <- tbl %>% summarise_all(list(as.character)) %>% names()
         expect_equal(res, name)
         res <- tbl %>% summarise_at(name, list(as.character)) %>% names()
         expect_equal(res, name)
         res <- select_at(tbl, name) %>% names()
         expect_equal(res, name)
     }) at testthat/test-colwise-mutate.R:263
  2: force(code)
  3: tbl %>% mutate_all(funs(as.character)) %>% names() at testthat/test-colwise-mutate.R:268
  4: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
  5: eval(quote(`_fseq`(`_lhs`)), env, env)
  6: eval(quote(`_fseq`(`_lhs`)), env, env)
  7: `_fseq`(`_lhs`)
  8: freduce(value, `_function_list`)
  9: function_list[[i]](value)
  10: mutate_all(., funs(as.character))
  11: manip_all(.tbl, .funs, enquo(.funs), caller_env(), ...)
  12: syms(tbl_nongroup_vars(.tbl))
  13: map(x, sym)
  14: lapply(.x, .f, ...)
  15: FUN(X[[i]], ...)
  
  == testthat results  ===========================================================
  [ OK: 3608 | SKIPPED: 11 | WARNINGS: 0 | FAILED: 2 ]
  1. Error: group_by_(at,all) handle utf-8 names (#3829) (@test-colwise-mutate.R#247) 
  2. Error: *_(all,at) handle utf-8 names (#2967) (@test-colwise-mutate.R#263) 
  
  Error: testthat unit tests failed
  In addition: Warning message:
  call dbDisconnect() when finished working with a connection 
  Execution halted