Running 'testthat.R' [88s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(did2s)
  Loading required package: fixest
  did2s (v1.0.2). For more information on the methodology, visit <https://www.kylebutts.github.io/did2s>
  
  To cite did2s in publications use:
  
    Butts, Kyle (2021).  did2s: Two-Stage Difference-in-Differences
    Following Gardner (2021). R package version 1.0.2.
  
  A BibTeX entry for LaTeX users is
  
    @Manual{,
      title = {did2s: Two-Stage Difference-in-Differences Following Gardner (2021)},
      author = {Kyle Butts},
      year = {2021},
      url = {https://github.com/kylebutts/did2s/},
    }
  
  
  > 
  > test_check("did2s")
  ! curl package not installed, falling back to using `url()`
  Note these estimators rely on different underlying assumptions. See Table 2 of `https://arxiv.org/abs/2109.05913` for an overview.
  Estimating TWFE Model
  Estimating using Gardner (2021)
  Estimating using Callaway and Sant'Anna (2020)
  Estimating using Sun and Abraham (2020)
  Estimating using Borusyak, Jaravel, Spiess (2021)
  Estimating using Roth and Sant'Anna (2021)
  Note these estimators rely on different underlying assumptions. See Table 2 of `https://arxiv.org/abs/2109.05913` for an overview.
  Estimating TWFE Model
  Estimating using Gardner (2021)
  Estimating using Callaway and Sant'Anna (2020)
  Estimating using Sun and Abraham (2020)
  Estimating using Borusyak, Jaravel, Spiess (2021)
  Estimating using Roth and Sant'Anna (2021)
  Note these estimators rely on different underlying assumptions. See Table 2 of `https://arxiv.org/abs/2109.05913` for an overview.
  Estimating TWFE Model
  Estimating using Gardner (2021)
  Estimating using Callaway and Sant'Anna (2020)
  Estimating using Sun and Abraham (2020)
  Estimating using Borusyak, Jaravel, Spiess (2021)
  Estimating using Roth and Sant'Anna (2021)
  Note these estimators rely on different underlying assumptions. See Table 2 of `https://arxiv.org/abs/2109.05913` for an overview.
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 4 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-did2s.R:8:1'): (code run outside of `test_that()`) ─────────────
  Error in `open.connection(con, "rb")`: cannot open the connection to 'https://github.com/scunning1975/mixtape/raw/master/castle.dta'
  Backtrace:
      ▆
   1. └─haven::read_dta("https://github.com/scunning1975/mixtape/raw/master/castle.dta") at test-did2s.R:8:0
   2.   └─readr::datasource(file)
   3.     └─readr:::datasource_connection(...)
   4.       └─readr:::read_connection(path)
   5.         ├─base::open(con, "rb")
   6.         └─base::open.connection(con, "rb")
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 4 ]
  Error: Test failures
  Execution halted