Running examples in ‘fusen-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: inflate_all
> ### Title: Inflate all your flat files
> ### Aliases: inflate_all inflate_all_no_check
> 
> ### ** Examples
> 
> ## Not run: 
> ##D # Usually, in the current package run inflate_all() directly
> ##D # These functions change the current user workspace
> ##D inflate_all()
> ##D # Or inflate_all_no_check() to prevent checks to run
> ##D inflate_all_no_check()
> ##D # Or inflate with the styler you want
> ##D inflate_all(stylers = styler::style_pkg)
> ## End(Not run)
> 
> # You can also inflate_all flats of another package as follows
> # Example with a dummy package with a flat file
> dummypackage <- tempfile("inflateall.otherpkg")
> dir.create(dummypackage)
> fill_description(pkg = dummypackage, fields = list(Title = "Dummy Package"))
> flat_files <- add_minimal_package(
+   pkg = dummypackage,
+   overwrite = TRUE,
+   open = FALSE
+ )
Created file .here in /tmp/RtmpgNbHNW/inflateall.otherpkg10f6ba1e906c9c . Please start a new R session in the new project directory.
> flat_file <- flat_files[grep("flat", basename(flat_files))]
> # Inflate the flat file once
> usethis::with_project(dummypackage, {
+   # if you are starting from a brand new package, inflate_all() will crash
+   # it's because of the absence of a fusen config file
+   #
+   # inflate_all() # will crash
+ 
+   # Add licence
+   usethis::use_mit_license("John Doe")
+ 
+   # you need to inflate manually your flat file first
+   inflate(
+     pkg = dummypackage,
+     flat_file = flat_file,
+     vignette_name = "Get started",
+     check = FALSE,
+     open_vignette = FALSE,
+     document = TRUE,
+     overwrite = "yes"
+   )
+ 
+   # your config file has been created
+   config_yml_ref <-
+     yaml::read_yaml(getOption("fusen.config_file", default = "dev/config_fusen.yaml"))
+ })
✔ Setting active project to
  "/tmp/RtmpgNbHNW/inflateall.otherpkg10f6ba1e906c9c".
✔ Adding "MIT + file LICENSE" to 'License'.
✔ Writing 'LICENSE'.
✔ Writing 'LICENSE.md'.
✔ Adding "^LICENSE\\.md$" to '.Rbuildignore'.
ℹ Loading inflateall.otherpkg10f6ba1e906c9c
Writing 'NAMESPACE'
✔ Adding knitr to 'Suggests' field in DESCRIPTION.
☐ Use `requireNamespace("knitr", quietly = TRUE)` to test if knitr is
  installed.
☐ Then directly refer to functions with `knitr::fun()`.
✔ Adding "inst/doc" to '.gitignore'.
── config file for dev/flat_minimal.Rmd ────────────────────────────────────────
✔ R: R/my_fun.R was added to the config file
✔ tests: tests/testthat/test-my_fun.R was added to the config file
✔ vignettes: vignettes/get-started.Rmd was added to the config file
Saving attachment parameters to yaml config file
Updating inflateall.otherpkg10f6ba1e906c9c documentation
ℹ Loading inflateall.otherpkg10f6ba1e906c9c
Writing 'NAMESPACE'
Writing 'my_fun.Rd'
ℹ Loading inflateall.otherpkg10f6ba1e906c9c
[+] 2 package(s) added: rmarkdown, testthat.
✔ Setting active project to "/tmp/RtmpgNbHNW/dummy.package10f6ba69627313".
> 
> # Next time, you can run inflate_all() directly
> usethis::with_project(dummypackage, {
+   # now you can run inflate_all()
+   inflate_all(check = FALSE, document = TRUE)
+ })
✔ Setting active project to
  "/tmp/RtmpgNbHNW/inflateall.otherpkg10f6ba1e906c9c".
✔ The flat file flat_minimal.Rmd is going to be inflated
── config file for dev/flat_minimal.Rmd ────────────────────────────────────────
── check not registered files ──────────────────────────────────────────────────
✔ There are no unregistered files.
Documentation parameters were restored from attachment config file.
Updating inflateall.otherpkg10f6ba1e906c9c documentation
ℹ Loading inflateall.otherpkg10f6ba1e906c9c
Writing 'NAMESPACE'
ℹ Loading inflateall.otherpkg10f6ba1e906c9c
✔ Setting active project to "/tmp/RtmpgNbHNW/dummy.package10f6ba69627313".
> 
> # If you wish, the code coverage can be computed
> usethis::with_project(dummypackage, {
+   # now you can run inflate_all()
+   inflate_all(check = FALSE, document = TRUE, codecov = TRUE)
+ })
✔ Setting active project to
  "/tmp/RtmpgNbHNW/inflateall.otherpkg10f6ba1e906c9c".
✔ The flat file flat_minimal.Rmd is going to be inflated
── config file for dev/flat_minimal.Rmd ────────────────────────────────────────
── check not registered files ──────────────────────────────────────────────────
✔ There are no unregistered files.
Documentation parameters were restored from attachment config file.
Updating inflateall.otherpkg10f6ba1e906c9c documentation
ℹ Loading inflateall.otherpkg10f6ba1e906c9c
Writing 'NAMESPACE'
ℹ Loading inflateall.otherpkg10f6ba1e906c9c
ℹ Computing code coverage - it might take some time
Error in covr::package_coverage() : Package installation did not succeed.
Calls: <Anonymous> ... inflate_all -> compute_codecov -> print -> <Anonymous>
✔ Setting active project to "/tmp/RtmpgNbHNW/dummy.package10f6ba69627313".
Execution halted