Running ‘testthat.R’ [3s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ITGM)
  Loading required package: Fgmutils
  Loading required package: sqldf
  Loading required package: gsubfn
  Loading required package: proto
  Loading required package: RSQLite
  Loading required package: stringr
  Loading required package: plyr
  
  Attaching package: 'Fgmutils'
  
  The following object is masked from 'package:methods':
  
      getClasses
  
  > 
  > test_check("ITGM")
  1. Error: firstsMeasurements (@testPrimeirasMedicoes.R#8) ----------------------
  no such table: dtFrame
  1: expect_equal(primeiraMedicao, firstsMeasurements(dtf, group = "grupo", age = "medicoes")$primeiraMedicao) at testthat/testPrimeirasMedicoes.R:8
  2: compare(object, expected, ...)
  3: compare.numeric(object, expected, ...)
  4: all.equal(x, y, tolerance = tolerance, ...)
  5: all.equal.numeric(x, y, tolerance = tolerance, ...)
  6: attr.all.equal(target, current, tolerance = tolerance, scale = scale, ...)
  7: mode(current)
  8: firstsMeasurements(dtf, group = "grupo", age = "medicoes")
  9: fn$sqldf("select $group, min($age) as primeiraMedicao from dtFrame group by $group")
  10: withVisible(do.call(FUN, mcListE, envir = p))
  11: do.call(FUN, mcListE, envir = p)
  12: sqldf(x = "select grupo, min(medicoes) as primeiraMedicao from dtFrame group by grupo")
  13: dbGetQuery(connection, xi)
  14: dbGetQuery(connection, xi)
  15: .local(conn, statement, ...)
  16: dbSendQuery(conn, statement, ...)
  17: dbSendQuery(conn, statement, ...)
  18: .local(conn, statement, ...)
  19: new("SQLiteResult", sql = statement, ptr = rsqlite_send_query(conn@ptr, statement), 
         conn = conn)
  20: initialize(value, ...)
  21: initialize(value, ...)
  22: rsqlite_send_query(conn@ptr, statement)
  
  testthat results ================================================================
  OK: 0 SKIPPED: 0 FAILED: 1
  1. Error: firstsMeasurements (@testPrimeirasMedicoes.R#8) 
  
  Error: testthat unit tests failed
  Execution halted