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\RtmpCu9Ygc\add.flat.template10f7854d46f44 . 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\RtmpCu9Ygc\add.flat.template10f7854d46f44
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\dev.history.template10f78774f6a8e . Please start a new R session in the new project directory.
  v Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/dev.history.template10f78774f6a8e'
  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\RtmpCu9Ygc\dev.history.template.uu10f783ba43d9 . Please start a new R session in the new project directory.
  v Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/dev.history.template.uu10f783ba43d9'
  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\RtmpCu9Ygc\all.templates.knit10f78563e333d . Please start a new R session in the new project directory.
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/all.templates.knit10f78563e333d'
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\all.templates.knit10f784d5f27c4 . Please start a new R session in the new project directory.
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/all.templates.knit10f784d5f27c4'
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\all.templates.knit10f786b1d20a1 . Please start a new R session in the new project directory.
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/all.templates.knit10f786b1d20a1'
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\all.templates.knit10f785b243876 . Please start a new R session in the new project directory.
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/all.templates.knit10f785b243876'
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\other.names10f7837e52317 . Please start a new R session in the new project directory.
  File .here already exists in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\other.names10f7837e52317
  v Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/other.names10f7837e52317'
  Loading required namespace: rstudioapi
  First time using roxygen2. Upgrading automatically...
  i Loading other.names10f7837e52317
  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.names10f7837e52317 documentation
  i Loading other.names10f7837e52317
  Writing NAMESPACE
  Writing hello.Rd
  [+] 2 package(s) added: rmarkdown, testthat.
  v Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/all.templates.knit10f785b243876'
  -- Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\chun
  v Creating 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/chunk.export.10f787270756a/foosen/'
  v Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/chunk.export.10f787270756a/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/RtmpCu9Ygc/all.templates.knit10f785b243876'
  v New directory created: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\chunk.export.10f787270756a\foosen
  -- Adding dev/flat_minimal.Rmd -------------------------------------------------
  File .here already exists in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\chunk.export.10f787270756a\foosen
  v Added C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\chunk.export.10f787270756a\foosen/dev/flat_minimal.Rmd, C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\chunk.export.10f787270756a\foosen/dev/0-dev_history.Rmd
  [1] "test without interactive"
  -- Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\chun
  v Creating 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/chunk.noRd.10f78506a5b52/foosen/'
  v Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/chunk.noRd.10f78506a5b52/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/RtmpCu9Ygc/all.templates.knit10f785b243876'
  v New directory created: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\chunk.noRd.10f78506a5b52\foosen
  -- Adding dev/flat_minimal.Rmd -------------------------------------------------
  File .here already exists in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\chunk.noRd.10f78506a5b52\foosen
  v Added C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\chunk.noRd.10f78506a5b52\foosen/dev/flat_minimal.Rmd, C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\chunk.noRd.10f78506a5b52\foosen/dev/0-dev_history.Rmd
  [1] "test without interactive"
  -- Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\dumm
  -- Adding dev/flat_full.Rmd ----------------------------------------------------
  ! The path: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\dummy10f784bdf1a41\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\RtmpCu9Ygc\dummy10f784bdf1a41\foosen already exists.
  -- Adding dev/flat_full.Rmd ----------------------------------------------------
  File .here already exists in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\dummy10f784bdf1a41\foosen
  v Added C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\dummy10f784bdf1a41\foosen/dev/flat_full.Rmd, C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\dummy10f784bdf1a41\foosen/dev/0-dev_history.Rmd
  -- Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\subd
  -- Adding dev/flat_full.Rmd ----------------------------------------------------
  -- Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\dumm
  -- Adding dev/flat_teaching.Rmd ------------------------------------------------
  -- Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\dumm
  -- Initializing git repository -------------------------------------------------
  -- Adding dev/flat_full.Rmd ----------------------------------------------------
  -- Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\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/RtmpCu9Ygc/inflate.tests10f787775a3'
  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/RtmpCu9Ygc/all.templates.knit10f785b243876'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/inflate.tests10f787775a3'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/all.templates.knit10f785b243876'
  File .here already exists in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\inflate.tests10f787775a3
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/inflate.tests10f787775a3'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/all.templates.knit10f785b243876'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/inflate.tests10f787775a3'
  Writing NAMESPACE
  Writing my_median.Rd
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/all.templates.knit10f785b243876'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/inflate.tests10f787775a3'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/all.templates.knit10f785b243876'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/inflate.tests10f787775a3'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/all.templates.knit10f785b243876'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/inflate.tests10f787775a3'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/all.templates.knit10f785b243876'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/inflate.tests10f787775a3'
  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/RtmpCu9Ygc/all.templates.knit10f785b243876'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/clean.vignette10f7832865a29'
  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/RtmpCu9Ygc/all.templates.knit10f785b243876'
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\descpackage10f7863741cc . Please start a new R session in the new project directory.
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/descpackage10f7863741cc'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/all.templates.knit10f785b243876'
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\nordpackage10f7876dc3913 . Please start a new R session in the new project directory.
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/nordpackage10f7876dc3913'
  Writing NAMESPACE
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/all.templates.knit10f785b243876'
  ── Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\all.
  ✔ Creating 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/all.templates.inflate10f787d751b74/full/'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/all.templates.inflate10f787d751b74/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/RtmpCu9Ygc/all.templates.knit10f785b243876'
  ✔ New directory created: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\all.templates.inflate10f787d751b74\full
  ── Adding dev/flat_full.Rmd ────────────────────────────────────────────────────
  File .here already exists in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\all.templates.inflate10f787d751b74\full
  ✔ Added C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\all.templates.inflate10f787d751b74\full/dev/flat_full.Rmd, C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpCu9Ygc\all.templates.inflate10f787d751b74\full/dev/0-dev_history.Rmd
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/all.templates.inflate10f787d751b74/full'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/all.templates.knit10f785b243876'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpCu9Ygc/isrproj.pkg10f786c871106'
  ✔ Adding '^isrproj\\.pkg10f786c871106\\.Rproj$' to '.Rbuildignore'
  ✔ Adding '^\\.Rproj\\.user$' to '.Rbuildignore'
  First time using roxygen2. Upgrading automatically...
  ℹ Loading isrproj.pkg10f786c871106
  Writing NAMESPACE
  ✔ Adding 'knitr' to Suggests field in DESCRIPTION
  ✔ Setting VignetteBuilder field in DESCRIPTION to 'knitr'
  ✔ Adding 'inst/doc' to '.gitignore'
  Updating isrproj.pkg10f786c871106 documentation
  ℹ Loading isrproj.pkg10f786c871106
  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/RtmpCu9Ygc/all.templates.knit10f785b243876'
  [ 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