Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(coloc)
  > 
  > test_check("coloc")
  PP.H0.abf PP.H1.abf PP.H2.abf PP.H3.abf PP.H4.abf 
   2.55e-03  6.30e-04  4.16e-03  3.37e-05  9.93e-01 
  [1] "PP abf for shared variant: 99.3%"
  PP.H0.abf PP.H1.abf PP.H2.abf PP.H3.abf PP.H4.abf 
   9.05e-04  2.23e-04  4.16e-03  3.13e-05  9.95e-01 
  [1] "PP abf for shared variant: 99.5%"
  PP.H0.abf PP.H1.abf PP.H2.abf PP.H3.abf PP.H4.abf 
   2.62e-03  6.30e-04  4.27e-03  3.44e-05  9.92e-01 
  [1] "PP abf for shared variant: 99.2%"
  PP.H0.abf PP.H1.abf PP.H2.abf PP.H3.abf PP.H4.abf 
   0.000928  0.000223  0.004270  0.000032  0.995000 
  [1] "PP abf for shared variant: 99.5%"
  PP.H0.abf PP.H1.abf PP.H2.abf PP.H3.abf PP.H4.abf 
   2.55e-03  6.30e-04  4.16e-03  3.37e-05  9.93e-01 
  [1] "PP abf for shared variant: 99.3%"
  PP.H0.abf PP.H1.abf PP.H2.abf PP.H3.abf PP.H4.abf 
   2.55e-03  6.30e-04  4.16e-03  3.37e-05  9.93e-01 
  [1] "PP abf for shared variant: 99.3%"
  -- 1. Error: examples (@test-examples.R#2)  ------------------------------------
  cannot open the connection
  1: test_examples(path = "../..") at testthat/test-examples.R:2
  2: test_examples_source(path) %||% test_examples_installed(env_test$package)
  3: test_examples_installed(env_test$package)
  4: lapply(Rd, test_rd)
  5: FUN(X[[i]], ...)
  6: test_example(attr(rd, "Rdfile"))
  7: tools::Rd2ex(path, ex_path)
  8: prepare_Rd(Rd, defines = defines, stages = stages, ...)
  9: eval(substitute(parse_Rd(f, encoding = enc, fragment = frag, ...), list(f = Rd, enc = encoding, 
         frag = fragment)))
  10: eval(substitute(parse_Rd(f, encoding = enc, fragment = frag, ...), list(f = Rd, enc = encoding, 
         frag = fragment)))
  11: parse_Rd("D:/temp/Rtmpu09Al4/R.INSTALL1360015f21152/coloc/man/Var.data.Rd", encoding = "unknown", 
         fragment = FALSE, ...)
  12: readLines(file, warn = FALSE)
  13: file(con, "r")
  
  == testthat results  ===========================================================
  [ OK: 15 | SKIPPED: 0 | WARNINGS: 3 | FAILED: 1 ]
  1. Error: examples (@test-examples.R#2) 
  
  Error: testthat unit tests failed
  Execution halted