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\RtmpUjV0pz\add.flat.template22dc8f731a5d . 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\RtmpUjV0pz\add.flat.template22dc8f731a5d
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\dev.history.template22dc860531209 . Please start a new R session in the new project directory.
  v Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/dev.history.template22dc860531209'
  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\RtmpUjV0pz\dev.history.template.uu22dc8e513c37 . Please start a new R session in the new project directory.
  v Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/dev.history.template.uu22dc8e513c37'
  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\RtmpUjV0pz\all.templates.knit22dc868971219 . Please start a new R session in the new project directory.
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/all.templates.knit22dc868971219'
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\all.templates.knit22dc839e720fd . Please start a new R session in the new project directory.
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/all.templates.knit22dc839e720fd'
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\all.templates.knit22dc83d2919 . Please start a new R session in the new project directory.
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/all.templates.knit22dc83d2919'
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\all.templates.knit22dc81ccac75 . Please start a new R session in the new project directory.
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/all.templates.knit22dc81ccac75'
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\other.names22dc873ff59fb . Please start a new R session in the new project directory.
  File .here already exists in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\other.names22dc873ff59fb
  v Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/other.names22dc873ff59fb'
  Loading required namespace: rstudioapi
  First time using roxygen2. Upgrading automatically...
  i Loading other.names22dc873ff59fb
  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.names22dc873ff59fb documentation
  i Loading other.names22dc873ff59fb
  Writing NAMESPACE
  Writing hello.Rd
  [+] 2 package(s) added: rmarkdown, testthat.
  v Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/all.templates.knit22dc81ccac75'
  -- Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\chun
  v Creating 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/chunk.export.22dc864015101/foosen/'
  v Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/chunk.export.22dc864015101/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/RtmpUjV0pz/all.templates.knit22dc81ccac75'
  v New directory created: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\chunk.export.22dc864015101\foosen
  -- Adding dev/flat_minimal.Rmd -------------------------------------------------
  File .here already exists in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\chunk.export.22dc864015101\foosen
  v Added C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\chunk.export.22dc864015101\foosen/dev/flat_minimal.Rmd, C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\chunk.export.22dc864015101\foosen/dev/0-dev_history.Rmd
  [1] "test without interactive"
  -- Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\chun
  v Creating 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/chunk.noRd.22dc8197b8df/foosen/'
  v Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/chunk.noRd.22dc8197b8df/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/RtmpUjV0pz/all.templates.knit22dc81ccac75'
  v New directory created: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\chunk.noRd.22dc8197b8df\foosen
  -- Adding dev/flat_minimal.Rmd -------------------------------------------------
  File .here already exists in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\chunk.noRd.22dc8197b8df\foosen
  v Added C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\chunk.noRd.22dc8197b8df\foosen/dev/flat_minimal.Rmd, C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\chunk.noRd.22dc8197b8df\foosen/dev/0-dev_history.Rmd
  [1] "test without interactive"
  -- Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\dumm
  -- Adding dev/flat_full.Rmd ----------------------------------------------------
  ! The path: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\dummy22dc8e1118df\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\RtmpUjV0pz\dummy22dc8e1118df\foosen already exists.
  -- Adding dev/flat_full.Rmd ----------------------------------------------------
  File .here already exists in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\dummy22dc8e1118df\foosen
  v Added C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\dummy22dc8e1118df\foosen/dev/flat_full.Rmd, C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\dummy22dc8e1118df\foosen/dev/0-dev_history.Rmd
  -- Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\subd
  -- Adding dev/flat_full.Rmd ----------------------------------------------------
  -- Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\dumm
  -- Adding dev/flat_teaching.Rmd ------------------------------------------------
  -- Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\dumm
  -- Initializing git repository -------------------------------------------------
  -- Adding dev/flat_full.Rmd ----------------------------------------------------
  -- Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\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/RtmpUjV0pz/inflate.tests22dc81e32aa2'
  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/RtmpUjV0pz/all.templates.knit22dc81ccac75'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/inflate.tests22dc81e32aa2'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/all.templates.knit22dc81ccac75'
  File .here already exists in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\inflate.tests22dc81e32aa2
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/inflate.tests22dc81e32aa2'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/all.templates.knit22dc81ccac75'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/inflate.tests22dc81e32aa2'
  Writing NAMESPACE
  Writing my_median.Rd
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/all.templates.knit22dc81ccac75'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/inflate.tests22dc81e32aa2'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/all.templates.knit22dc81ccac75'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/inflate.tests22dc81e32aa2'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/all.templates.knit22dc81ccac75'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/inflate.tests22dc81e32aa2'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/all.templates.knit22dc81ccac75'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/inflate.tests22dc81e32aa2'
  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/RtmpUjV0pz/all.templates.knit22dc81ccac75'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/clean.vignette22dc864675e90'
  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/RtmpUjV0pz/all.templates.knit22dc81ccac75'
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\descpackage22dc835bc4672 . Please start a new R session in the new project directory.
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/descpackage22dc835bc4672'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/all.templates.knit22dc81ccac75'
  Created file .here in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\nordpackage22dc837d37b49 . Please start a new R session in the new project directory.
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/nordpackage22dc837d37b49'
  Writing NAMESPACE
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/all.templates.knit22dc81ccac75'
  ── Creating new directory: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\all.
  ✔ Creating 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/all.templates.inflate22dc816d58cc/full/'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/all.templates.inflate22dc816d58cc/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/RtmpUjV0pz/all.templates.knit22dc81ccac75'
  ✔ New directory created: C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\all.templates.inflate22dc816d58cc\full
  ── Adding dev/flat_full.Rmd ────────────────────────────────────────────────────
  File .here already exists in C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\all.templates.inflate22dc816d58cc\full
  ✔ Added C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\all.templates.inflate22dc816d58cc\full/dev/flat_full.Rmd, C:\r_packages\pkgcheck\CRAN\fusen\tmp\RtmpUjV0pz\all.templates.inflate22dc816d58cc\full/dev/0-dev_history.Rmd
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/all.templates.inflate22dc816d58cc/full'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/all.templates.knit22dc81ccac75'
  ✔ Setting active project to 'C:/r_packages/pkgcheck/CRAN/fusen/tmp/RtmpUjV0pz/isrproj.pkg22dc86079c6d'
  ✔ Adding '^isrproj\\.pkg22dc86079c6d\\.Rproj$' to '.Rbuildignore'
  ✔ Adding '^\\.Rproj\\.user$' to '.Rbuildignore'
  First time using roxygen2. Upgrading automatically...
  ℹ Loading isrproj.pkg22dc86079c6d
  Writing NAMESPACE
  ✔ Adding 'knitr' to Suggests field in DESCRIPTION
  ✔ Setting VignetteBuilder field in DESCRIPTION to 'knitr'
  ✔ Adding 'inst/doc' to '.gitignore'
  Updating isrproj.pkg22dc86079c6d documentation
  ℹ Loading isrproj.pkg22dc86079c6d
  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/RtmpUjV0pz/all.templates.knit22dc81ccac75'
  ══ 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