Running 'spelling.R' [0s]
  Running 'testthat.R' [379s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(usethis)
  > 
  > test_check("usethis")
  [ FAIL 11 | WARN 27 | SKIP 55 | PASS 609 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • No Git user configured (16)
  • Not on GitHub Actions, Travis, or Appveyor (1)
  • On CRAN (38)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-edit.R:138'): edit_r_profile() ensures .Rprofile exists in project ──
  <usethis_error/error/condition>
  Error: User input required, but session is not interactive.
  Query: Do you want to create anyway?
  Backtrace:
       ▆
    1. └─usethis:::create_local_project() at test-edit.R:138:2
    2.   └─usethis:::create_local_thing(dir, env, rstudio, "project") at D:\RCompile\CRANpkg\local\4.3\usethis.Rcheck\tests\testthat\helper.R:25:2
    3.     ├─usethis::ui_silence(...) at D:\RCompile\CRANpkg\local\4.3\usethis.Rcheck\tests\testthat\helper.R:47:2
    4.     │ └─withr::with_options(list(usethis.quiet = TRUE), code)
    5.     │   └─base::force(code)
    6.     └─usethis::create_project(dir, rstudio = rstudio, open = FALSE) at D:\RCompile\CRANpkg\local\4.3\usethis.Rcheck\tests\testthat\helper.R:47:2
    7.       └─usethis:::challenge_nested_project(path_dir(path), name)
    8.         └─usethis::ui_nope("Do you want to create anyway?")
    9.           └─usethis::ui_yeah(...)
   10.             └─usethis::ui_stop(...)
  ── Error (???): edit_r_profile() ensures .Rprofile exists in project ───────────
  <ENOENT/fs_error/error/condition>
  Error: [ENOENT] Failed to search directory 'D:/temp/RtmpuIhxIi/testproj217147b173000': no such file or directory
  Backtrace:
      ▆
   1. └─withr (local) `<fn>`(`<env>`)
  ── Error ('test-edit.R:148'): edit_r_environ() ensures .Renviron exists in project ──
  <usethis_error/error/condition>
  Error: User input required, but session is not interactive.
  Query: Do you want to create anyway?
  Backtrace:
       ▆
    1. └─usethis:::create_local_project() at test-edit.R:148:2
    2.   └─usethis:::create_local_thing(dir, env, rstudio, "project") at D:\RCompile\CRANpkg\local\4.3\usethis.Rcheck\tests\testthat\helper.R:25:2
    3.     ├─usethis::ui_silence(...) at D:\RCompile\CRANpkg\local\4.3\usethis.Rcheck\tests\testthat\helper.R:47:2
    4.     │ └─withr::with_options(list(usethis.quiet = TRUE), code)
    5.     │   └─base::force(code)
    6.     └─usethis::create_project(dir, rstudio = rstudio, open = FALSE) at D:\RCompile\CRANpkg\local\4.3\usethis.Rcheck\tests\testthat\helper.R:47:2
    7.       └─usethis:::challenge_nested_project(path_dir(path), name)
    8.         └─usethis::ui_nope("Do you want to create anyway?")
    9.           └─usethis::ui_yeah(...)
   10.             └─usethis::ui_stop(...)
  ── Error (???): edit_r_environ() ensures .Renviron exists in project ───────────
  <ENOENT/fs_error/error/condition>
  Error: [ENOENT] Failed to search directory 'D:/temp/RtmpuIhxIi/testproj2171432ef5aa': no such file or directory
  Backtrace:
      ▆
   1. └─withr (local) `<fn>`(`<env>`)
  ── Error ('test-edit.R:164'): edit_git_config() ensures git ignore file exists in project ──
  <usethis_error/error/condition>
  Error: User input required, but session is not interactive.
  Query: Do you want to create anyway?
  Backtrace:
       ▆
    1. └─usethis:::create_local_project() at test-edit.R:164:2
    2.   └─usethis:::create_local_thing(dir, env, rstudio, "project") at D:\RCompile\CRANpkg\local\4.3\usethis.Rcheck\tests\testthat\helper.R:25:2
    3.     ├─usethis::ui_silence(...) at D:\RCompile\CRANpkg\local\4.3\usethis.Rcheck\tests\testthat\helper.R:47:2
    4.     │ └─withr::with_options(list(usethis.quiet = TRUE), code)
    5.     │   └─base::force(code)
    6.     └─usethis::create_project(dir, rstudio = rstudio, open = FALSE) at D:\RCompile\CRANpkg\local\4.3\usethis.Rcheck\tests\testthat\helper.R:47:2
    7.       └─usethis:::challenge_nested_project(path_dir(path), name)
    8.         └─usethis::ui_nope("Do you want to create anyway?")
    9.           └─usethis::ui_yeah(...)
   10.             └─usethis::ui_stop(...)
  ── Error (???): edit_git_config() ensures git ignore file exists in project ────
  <ENOENT/fs_error/error/condition>
  Error: [ENOENT] Failed to search directory 'D:/temp/RtmpuIhxIi/testproj2171420287e': no such file or directory
  Backtrace:
      ▆
   1. └─withr (local) `<fn>`(`<env>`)
  ── Error ('test-edit.R:174'): edit_git_ignore() ensures .gitignore exists in project ──
  <usethis_error/error/condition>
  Error: User input required, but session is not interactive.
  Query: Do you want to create anyway?
  Backtrace:
       ▆
    1. └─usethis:::create_local_project() at test-edit.R:174:2
    2.   └─usethis:::create_local_thing(dir, env, rstudio, "project") at D:\RCompile\CRANpkg\local\4.3\usethis.Rcheck\tests\testthat\helper.R:25:2
    3.     ├─usethis::ui_silence(...) at D:\RCompile\CRANpkg\local\4.3\usethis.Rcheck\tests\testthat\helper.R:47:2
    4.     │ └─withr::with_options(list(usethis.quiet = TRUE), code)
    5.     │   └─base::force(code)
    6.     └─usethis::create_project(dir, rstudio = rstudio, open = FALSE) at D:\RCompile\CRANpkg\local\4.3\usethis.Rcheck\tests\testthat\helper.R:47:2
    7.       └─usethis:::challenge_nested_project(path_dir(path), name)
    8.         └─usethis::ui_nope("Do you want to create anyway?")
    9.           └─usethis::ui_yeah(...)
   10.             └─usethis::ui_stop(...)
  ── Error (???): edit_git_ignore() ensures .gitignore exists in project ─────────
  <ENOENT/fs_error/error/condition>
  Error: [ENOENT] Failed to search directory 'D:/temp/RtmpuIhxIi/testproj217141aa4710a': no such file or directory
  Backtrace:
      ▆
   1. └─withr (local) `<fn>`(`<env>`)
  ── Error ('test-proj.R:28'): is_package() detects package-hood ─────────────────
  <usethis_error/error/condition>
  Error: User input required, but session is not interactive.
  Query: Do you want to create anyway?
  Backtrace:
       ▆
    1. └─usethis:::create_local_project() at test-proj.R:28:2
    2.   └─usethis:::create_local_thing(dir, env, rstudio, "project") at D:\RCompile\CRANpkg\local\4.3\usethis.Rcheck\tests\testthat\helper.R:25:2
    3.     ├─usethis::ui_silence(...) at D:\RCompile\CRANpkg\local\4.3\usethis.Rcheck\tests\testthat\helper.R:47:2
    4.     │ └─withr::with_options(list(usethis.quiet = TRUE), code)
    5.     │   └─base::force(code)
    6.     └─usethis::create_project(dir, rstudio = rstudio, open = FALSE) at D:\RCompile\CRANpkg\local\4.3\usethis.Rcheck\tests\testthat\helper.R:47:2
    7.       └─usethis:::challenge_nested_project(path_dir(path), name)
    8.         └─usethis::ui_nope("Do you want to create anyway?")
    9.           └─usethis::ui_yeah(...)
   10.             └─usethis::ui_stop(...)
  ── Error (???): is_package() detects package-hood ──────────────────────────────
  <ENOENT/fs_error/error/condition>
  Error: [ENOENT] Failed to search directory 'D:/temp/RtmpuIhxIi/testproj217144682ae': no such file or directory
  Backtrace:
      ▆
   1. └─withr (local) `<fn>`(`<env>`)
  ── Failure ('test-write.R:52'): write_utf8(): in an active project, write path outside project ──
  possibly_in_proj(dir) is not FALSE
  
  `actual`:   TRUE 
  `expected`: FALSE
  
  [ FAIL 11 | WARN 27 | SKIP 55 | PASS 609 ]
  Error: Test failures
  Execution halted