Running ‘test-all.R’ [12s/12s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > #Modeled after the R6 testing structure: https://github.com/wch/R6/blob/master/tests/testthat.R
  > library(testthat)
  > library(NlsyLinks)
  > 
  > testthat::test_check("NlsyLinks")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-column-utilities.R:89:3): Nlsy79Gen2 ────────────────────────────
  Error: 'inst' is not an exported object from 'namespace:devtools'
  Backtrace:
      █
   1. └─base::file.path(devtools::inst("NlsyLinks"), "extdata", "gen2-birth.csv") test-column-utilities.R:89:2
  ── Error (test-column-utilities.R:103:3): RenameNlsyColumn ─────────────────────
  Error: 'inst' is not an exported object from 'namespace:devtools'
  Backtrace:
      █
   1. └─base::file.path(devtools::inst("NlsyLinks"), "extdata", "gen2-birth.csv") test-column-utilities.R:103:2
  ── Error (test-read-csv.R:21:3): Nlsy79Gen1Path ────────────────────────────────
  Error: 'inst' is not an exported object from 'namespace:devtools'
  Backtrace:
      █
   1. └─base::file.path(devtools::inst("NlsyLinks"), "extdata", "gen1-life-course.csv") test-read-csv.R:21:2
  ── Error (test-read-csv.R:32:3): Nlsy79Gen1DataFrame ───────────────────────────
  Error: 'inst' is not an exported object from 'namespace:devtools'
  Backtrace:
      █
   1. └─base::file.path(devtools::inst("NlsyLinks"), "extdata", "gen1-life-course.csv") test-read-csv.R:32:2
  ── Error (test-read-csv.R:45:3): Nlsy79Gen2Path ────────────────────────────────
  Error: 'inst' is not an exported object from 'namespace:devtools'
  Backtrace:
      █
   1. └─base::file.path(devtools::inst("NlsyLinks"), "extdata", "gen2-birth.csv") test-read-csv.R:45:2
  ── Error (test-read-csv.R:58:3): Nlsy79Gen2DataFrame ───────────────────────────
  Error: 'inst' is not an exported object from 'namespace:devtools'
  Backtrace:
      █
   1. └─base::file.path(devtools::inst("NlsyLinks"), "extdata", "gen2-birth.csv") test-read-csv.R:58:2
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 198 ]
  Error: Test failures
  Execution halted