Running 'spelling.R'
  Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(fusen)
  > 
  > test_check("fusen")
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\add.flat.templatee5646fc3bb6 . Please start a new R session in the new project directory.
  '0-dev_history.Rmd' already exists. It was not overwritten. Set `add_flat_template(overwrite = TRUE)` if you want to do so.
  File .here already exists in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\add.flat.templatee5646fc3bb6
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\dev.history.templatee564208657f6 . Please start a new R session in the new project directory.
  v Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/dev.history.templatee564208657f6'
  v Setting License field in DESCRIPTION to 'MIT + file LICENSE'
  v Writing 'LICENSE'
  v Writing 'LICENSE.md'
  v Adding '^LICENSE\\.md$' to '.Rbuildignore'
  v Setting active project to '<no active project>'
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\dev.history.template.uue5644e77759e . Please start a new R session in the new project directory.
  v Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/dev.history.template.uue5644e77759e'
  v Writing 'LICENSE.md'
  v Adding '^LICENSE\\.md$' to '.Rbuildignore'
  v Setting active project to '<no active project>'
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\all.templates.knite5647fe13dd6 . Please start a new R session in the new project directory.
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.knite5647fe13dd6'
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\all.templates.knite5645c9444d7 . Please start a new R session in the new project directory.
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.knite5645c9444d7'
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\all.templates.knite5645f353e4d . Please start a new R session in the new project directory.
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.knite5645f353e4d'
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\all.templates.knite56433491a71 . Please start a new R session in the new project directory.
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.knite56433491a71'
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\other.namese5642d8666c1 . Please start a new R session in the new project directory.
  File .here already exists in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\other.namese5642d8666c1
  v Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/other.namese5642d8666c1'
  Loading required namespace: rstudioapi
  First time using roxygen2. Upgrading automatically...
  i Loading other.namese5642d8666c1
  Writing NAMESPACE
  v Adding 'knitr' to Suggests field in DESCRIPTION
  v Setting VignetteBuilder field in DESCRIPTION to 'knitr'
  v Adding 'inst/doc' to '.gitignore'
  Updating other.namese5642d8666c1 documentation
  i Loading other.namese5642d8666c1
  Writing NAMESPACE
  Writing hello.Rd
  [+] 2 package(s) added: rmarkdown, testthat.
  v Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.knite56433491a71'
  -- Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\chun
  v Creating 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/chunk.export.e5643e3267b5/foosen/'
  v Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/chunk.export.e5643e3267b5/foosen'
  v Creating 'R/'
  v Writing a sentinel file '.here'
  * Build robust paths within your project via `here::here()`
  * Learn more at <https://here.r-lib.org>
  v Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.knite56433491a71'
  v New directory created: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\chunk.export.e5643e3267b5\foosen
  -- Adding dev/flat_minimal.Rmd -------------------------------------------------
  File .here already exists in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\chunk.export.e5643e3267b5\foosen
  v Added C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\chunk.export.e5643e3267b5\foosen/dev/flat_minimal.Rmd, C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\chunk.export.e5643e3267b5\foosen/dev/0-dev_history.Rmd
  [1] "test without interactive"
  -- Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\chun
  v Creating 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/chunk.noRd.e56446e31392/foosen/'
  v Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/chunk.noRd.e56446e31392/foosen'
  v Creating 'R/'
  v Writing a sentinel file '.here'
  * Build robust paths within your project via `here::here()`
  * Learn more at <https://here.r-lib.org>
  v Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.knite56433491a71'
  v New directory created: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\chunk.noRd.e56446e31392\foosen
  -- Adding dev/flat_minimal.Rmd -------------------------------------------------
  File .here already exists in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\chunk.noRd.e56446e31392\foosen
  v Added C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\chunk.noRd.e56446e31392\foosen/dev/flat_minimal.Rmd, C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\chunk.noRd.e56446e31392\foosen/dev/0-dev_history.Rmd
  [1] "test without interactive"
  -- Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\dumm
  -- Adding dev/flat_full.Rmd ----------------------------------------------------
  ! The path: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\dummye56412045fbe\foosen already exists.
  x Aborting fusen project creation. Set `create_fusen(overwrite = TRUE)` to avoid a stop.
  ! The path: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\dummye56412045fbe\foosen already exists.
  -- Adding dev/flat_full.Rmd ----------------------------------------------------
  File .here already exists in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\dummye56412045fbe\foosen
  v Added C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\dummye56412045fbe\foosen/dev/flat_full.Rmd, C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\dummye56412045fbe\foosen/dev/0-dev_history.Rmd
  -- Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\subd
  -- Adding dev/flat_full.Rmd ----------------------------------------------------
  -- Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\dumm
  -- Adding dev/flat_teaching.Rmd ------------------------------------------------
  -- Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\dumm
  -- Initializing git repository -------------------------------------------------
  -- Adding dev/flat_full.Rmd ----------------------------------------------------
  -- Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\dumm
  -- Initializing git repository -------------------------------------------------
  -- Adding dev/flat_teaching.Rmd ------------------------------------------------
  ! Title was modified to 'Title Case'.
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/inflate.testse5644f5958ea'
  Writing NAMESPACE
  Writing NAMESPACE
  Writing my.sixth.median_function.Rd
  Writing my_fifth_median.Rd
  Writing my_fourth_median.Rd
  Writing my_median.Rd
  Writing my_other_median.Rd
  Writing sub_median.Rd
  Writing my_space.Rd
  Writing my_third_median.Rd
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.knite56433491a71'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/inflate.testse5644f5958ea'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.knite56433491a71'
  File .here already exists in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\inflate.testse5644f5958ea
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/inflate.testse5644f5958ea'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.knite56433491a71'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/inflate.testse5644f5958ea'
  Writing NAMESPACE
  Writing my_median.Rd
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.knite56433491a71'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/inflate.testse5644f5958ea'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.knite56433491a71'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/inflate.testse5644f5958ea'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.knite56433491a71'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/inflate.testse5644f5958ea'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.knite56433491a71'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/inflate.testse5644f5958ea'
  Writing NAMESPACE
  Writing my_median.Rd
  Writing my_other_median.Rd
  Writing sub_median.Rd
  ── RStudio restart needed ──────────────────────────────────────────────────────
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.knite56433491a71'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/clean.vignettee56430dd4f93'
  Writing NAMESPACE
  Writing NAMESPACE
  Writing my_median.Rd
  Writing my_other_median.Rd
  Writing sub_median.Rd
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.knite56433491a71'
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\descpackagee56472002f8f . Please start a new R session in the new project directory.
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/descpackagee56472002f8f'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.knite56433491a71'
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\nordpackagee5644c973aa0 . Please start a new R session in the new project directory.
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/nordpackagee5644c973aa0'
  Writing NAMESPACE
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.knite56433491a71'
  ── Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\all.
  ✔ Creating 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.inflatee56440a749af/full/'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.inflatee56440a749af/full'
  ✔ Creating 'R/'
  ✔ Writing a sentinel file '.here'
  • Build robust paths within your project via `here::here()`
  • Learn more at <https://here.r-lib.org>
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.knite56433491a71'
  ✔ New directory created: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\all.templates.inflatee56440a749af\full
  ── Adding dev/flat_full.Rmd ────────────────────────────────────────────────────
  File .here already exists in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\all.templates.inflatee56440a749af\full
  ✔ Added C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\all.templates.inflatee56440a749af\full/dev/flat_full.Rmd, C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpIF0GrZ\all.templates.inflatee56440a749af\full/dev/0-dev_history.Rmd
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.inflatee56440a749af/full'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.knite56433491a71'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/isrproj.pkge56412a614f2'
  ✔ Adding '^isrproj\\.pkge56412a614f2\\.Rproj$' to '.Rbuildignore'
  ✔ Adding '^\\.Rproj\\.user$' to '.Rbuildignore'
  First time using roxygen2. Upgrading automatically...
  ℹ Loading isrproj.pkge56412a614f2
  Writing NAMESPACE
  ✔ Adding 'knitr' to Suggests field in DESCRIPTION
  ✔ Setting VignetteBuilder field in DESCRIPTION to 'knitr'
  ✔ Adding 'inst/doc' to '.gitignore'
  Updating isrproj.pkge56412a614f2 documentation
  ℹ Loading isrproj.pkge56412a614f2
  Writing NAMESPACE
  Writing my_median.Rd
  Writing my_other_median.Rd
  Writing sub_median.Rd
  [+] 3 package(s) added: stats, rmarkdown, testthat.
  ── RStudio restart needed ──────────────────────────────────────────────────────
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpIF0GrZ/all.templates.knite56433491a71'
  [ FAIL 2 | WARN 0 | SKIP 3 | PASS 207 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (1)
  • On Windows (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-create_fusen_rsproject.R:106:5): Create a fusen project with git at the cli ──
  dir.exists(file.path(path_gigit, ".git")) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test-create_fusen_rsproject.R:124:5): Create a fusen project with git using Rstudio GUI ──
  dir.exists(file.path(dummygui$path, ".git/")) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 2 | WARN 0 | SKIP 3 | PASS 207 ]
  Error: Test failures
  Execution halted