Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [11s/16s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(googledrive)
  > 
  > test_check("googledrive")
  Test file naming scheme:
  • foo-TEST-drive_something
  • foo-TEST-drive_something-hornik-7f9b6636
  Saving _problems/test-utils-paths-58.R
  [ FAIL 1 | WARN 0 | SKIP 126 | PASS 274 ]
  
  ══ Skipped tests (126) ═════════════════════════════════════════════════════════
  • No Drive token (82): 'test-drive_cp.R:29:3', 'test-drive_cp.R:59:3',
    'test-drive_cp.R:87:3', 'test-drive_cp.R:100:3', 'test-drive_cp.R:110:3',
    'test-drive_cp.R:157:3', 'test-drive_create.R:26:3',
    'test-drive_create.R:32:3', 'test-drive_create.R:44:3',
    'test-drive_create.R:79:3', 'test-drive_create.R:94:3',
    'test-drive_create.R:106:3', 'test-drive_create.R:117:3',
    'test-drive_create.R:127:3', 'test-drive_create.R:143:3',
    'test-drive_create.R:161:3', 'test-drive_download.R:47:3',
    'test-drive_download.R:75:3', 'test-drive_download.R:81:3',
    'test-drive_download.R:108:3', 'test-drive_download.R:135:3',
    'test-drive_download.R:162:3', 'test-drive_find.R:25:3',
    'test-drive_find.R:36:3', 'test-drive_find.R:47:3', 'test-drive_find.R:67:3',
    'test-drive_find.R:77:3', 'test-drive_find.R:86:3',
    'test-drive_find.R:115:3', 'test-drive_get.R:34:3', 'test-drive_get.R:52:3',
    'test-drive_get.R:64:3', 'test-drive_get.R:77:3', 'test-drive_get.R:83:3',
    'test-drive_get.R:120:3', 'test-drive_get.R:133:3', 'test-drive_get.R:142:3',
    'test-drive_get.R:152:3', 'test-drive_get.R:166:3', 'test-drive_ls.R:56:3',
    'test-drive_ls.R:63:3', 'test-drive_ls.R:82:3', 'test-drive_ls.R:107:3',
    'test-drive_ls.R:131:3', 'test-drive_mv.R:26:3', 'test-drive_mv.R:53:3',
    'test-drive_mv.R:84:3', 'test-drive_mv.R:111:3', 'test-drive_mv.R:138:3',
    'test-drive_mv.R:168:3', 'test-drive_publish.R:33:3',
    'test-drive_publish.R:57:3', 'test-drive_publish.R:79:3',
    'test-drive_publish.R:87:3', 'test-drive_put.R:20:3',
    'test-drive_read.R:33:3', 'test-drive_read.R:45:3', 'test-drive_read.R:58:3',
    'test-drive_read.R:72:3', 'test-drive_reveal.R:24:3',
    'test-drive_reveal.R:49:3', 'test-drive_reveal.R:59:3',
    'test-drive_rm.R:7:3', 'test-drive_share.R:26:3', 'test-drive_trash.R:24:3',
    'test-drive_update.R:27:3', 'test-drive_update.R:36:3',
    'test-drive_update.R:45:3', 'test-drive_update.R:56:3',
    'test-drive_update.R:66:3', 'test-drive_upload.R:32:3',
    'test-drive_upload.R:49:3', 'test-drive_upload.R:68:3',
    'test-drive_upload.R:84:3', 'test-drive_upload.R:116:3',
    'test-drive_user.R:2:3', 'test-shortcut.R:35:3', 'test-shortcut.R:64:3',
    'test-shortcut.R:74:3', 'test-utils-paths.R:19:3',
    'test-utils-paths.R:153:3', 'test-utils-paths.R:207:3'
  • On CRAN (44): 'test-deprecated.R:1:1', 'test-deprecated.R:9:1',
    'test-deprecated.R:14:1', 'test-dribble.R:3:1', 'test-dribble.R:19:1',
    'test-dribble.R:28:1', 'test-dribble.R:90:1', 'test-dribble.R:141:1',
    'test-dribble.R:156:1', 'test-dribble.R:171:1', 'test-drive_auth.R:1:1',
    'test-drive_auth.R:39:1', 'test-drive_create.R:20:1',
    'test-drive_download.R:33:1', 'test-drive_examples.R:2:3',
    'test-drive_examples.R:15:3', 'test-drive_examples.R:32:1',
    'test-drive_examples.R:39:1', 'test-drive_fields.R:15:1',
    'test-drive_fields.R:25:1', 'test-drive_find.R:56:1',
    'test-drive_id-class.R:18:1', 'test-drive_id-class.R:88:1',
    'test-drive_id-class.R:93:1', 'test-drive_id-class.R:103:1',
    'test-drive_id-class.R:130:1', 'test-drive_id-class.R:148:1',
    'test-drive_mime_type.R:43:1', 'test-drive_mime_type.R:48:1',
    'test-drive_mime_type.R:76:1', 'test-drive_mime_type.R:81:1',
    'test-drive_share.R:20:1', 'test-drive_update.R:22:1',
    'test-drive_upload.R:24:1', 'test-request_generate.R:12:1',
    'test-shared_drives.R:1:1', 'test-shared_drives.R:14:1',
    'test-shared_drives.R:21:1', 'test-shared_drives.R:25:1',
    'test-utils-paths.R:37:1', 'test-utils-paths.R:85:1',
    'test-utils-paths.R:99:1', 'test-utils-ui.R:5:1', 'test-utils-ui.R:15:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-utils-paths.R:58:3'): file_ext_safe() returns NULL unless there's a usable extension ──
  Error in `basename(x)`: a character vector argument expected
  Backtrace:
      ▆
   1. ├─testthat::expect_null(file_ext_safe(NULL)) at test-utils-paths.R:58:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─googledrive:::file_ext_safe(NULL)
   5.   └─tools::file_ext(x)
   6.     ├─base::ifelse(...)
   7.     ├─base::grepl("^(.*[^.]+.*)[.]([[:alnum:]]+)$", basename(x))
   8.     │ └─base::is.factor(x)
   9.     └─base::basename(x)
  
  [ FAIL 1 | WARN 0 | SKIP 126 | PASS 274 ]
  Error:
  ! Test failures.
  Execution halted