Running 'testthat.R' [127s/137s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # browseURL("https://kbroman.org/pkg_primer/pages/tests.html")
  > # browseURL(file.path("https://walczak.org/2017/06",
  > # 		"how-to-add-code-coverage-codecov-to-your-r-package/"))
  > 
  > library(testthat)
  > library(biblio)
  > 
  > test_check("biblio")
    ordinary text without R code
  
  /usr/bin/pandoc +RTS -K512m -RTS test_refs.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output test_refs.html --lua-filter /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --self-contained --variable bs3=TRUE --standalone --section-divs --template /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable theme=bootstrap --include-in-header /tmp/RtmpAWvl4t/rmarkdown-str1a9155b7b2f9.html --mathjax --variable 'mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --filter /usr/bin/pandoc-citeproc 
  == Failed tests ================================================================
  -- Error (test-reflist.R:15:4): Backups are written ----------------------------
  Error in `file(file, "wb", encoding = encoding, ...)`: cannot open the connection
  Backtrace:
      x
   1. +-biblio::reflist(...) test-reflist.R:15:24
   2. \-biblio::reflist(...)
   3.   \-biblio:::.local(x, ...)
   4.     +-biblio::reflist(...)
   5.     \-biblio::reflist(...)
   6.       \-biblio:::.local(x, ...)
   7.         +-biblio::write_bib(x = x, file = bib_file, encoding = encoding)
   8.         \-biblio:::write_bib.lib_df(x = x, file = bib_file, encoding = encoding)
   9.           \-base::file(file, "wb", encoding = encoding, ...)
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 21 ]
  Error: Test failures
  Execution halted