Running 'testthat.R' [9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(loewesadditivity)
  > 
  > test_check("loewesadditivity")
  -- 1. Error: simulate coverage works (@test-coverage.R#5)  ---------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. loewesadditivity::fortify_gia_data(df)
    2. dplyr::select(., .data$well, .data$dose_A, .data$dose_B, dplyr::matches("exp.+rep.+"))
    2. tidyr::gather(...)
    9. dplyr::mutate(., id = gsub("exp|rep", "", .data$key))
   13. dplyr::tbl_df(.data)
   15. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   16. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   17. tibble:::recycle_columns(x, .rows, lengths)
   18. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   19. tibble:::update_tibble_attrs(x, ...)
  
  
  library(loewesadditivity)
  levels_A <- c(0, 0.0625, 0.125, 0.25, 0.5, 1, 2, 4)
  levels_B <- c(0, 0.125, 0.25, 0.5, 1, 2, 4, 8)
  par <- c(  'beta_A' = 1, 
    'beta_B' = 2, 
    'gamma_A' = 0.5, 
    'gamma_B' = 0.5, 
    'tau_1' = 3, 
    'tau_2' = 0.05)
  my_grid <- design_grid(levels_A = levels_A, 
    levels_B = levels_B, 
    n_rep = 2)
  ## SIMULATE COVERAGE
  sim_results <- simulate_coverage(n_sims = 100,
    n_boot = 100,
    experimental_grid = my_grid, 
    model_par = par,
    alpha = .05,
    noise_par = c('a0' = 3, 
    'a1' = 0.01))
  ## LOOK AT RESULTS
  sim_results
  ## Uncomment below to write the grid to a .csv file you can open in Excel or google spreadsheets
  #write.csv(sim_results, 'coverage_results.csv')-- 2. Error: estimate_params (@test-estimate.R#32)  ----------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. loewesadditivity::fortify_gia_data(df)
    2. dplyr::select(., .data$well, .data$dose_A, .data$dose_B, dplyr::matches("exp.+rep.+"))
    2. tidyr::gather(...)
    9. dplyr::mutate(., id = gsub("exp|rep", "", .data$key))
   13. dplyr::tbl_df(.data)
   15. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   16. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   17. tibble:::recycle_columns(x, .rows, lengths)
   18. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   19. tibble:::update_tibble_attrs(x, ...)
  
  -- 3. Error: fortify functions (@test-fortify.R#5)  ----------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. loewesadditivity::fortify_gia_data(df)
    2. dplyr::select(., .data$well, .data$dose_A, .data$dose_B, dplyr::matches("exp.+rep.+"))
    2. tidyr::gather(...)
    9. dplyr::mutate(., id = gsub("exp|rep", "", .data$key))
   13. dplyr::tbl_df(.data)
   15. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   16. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   17. tibble:::recycle_columns(x, .rows, lengths)
   18. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   19. tibble:::update_tibble_attrs(x, ...)
  
  -- 4. Error: plot_surface (@test-plot.R#7)  ------------------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. loewesadditivity::fortify_gia_data(df)
    2. dplyr::select(., .data$well, .data$dose_A, .data$dose_B, dplyr::matches("exp.+rep.+"))
    2. tidyr::gather(...)
    9. dplyr::mutate(., id = gsub("exp|rep", "", .data$key))
   13. dplyr::tbl_df(.data)
   15. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   16. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   17. tibble:::recycle_columns(x, .rows, lengths)
   18. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   19. tibble:::update_tibble_attrs(x, ...)
  
  -- 5. Error: plot_curves (@test-plot.R#41)  ------------------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. loewesadditivity::fortify_gia_data(df)
    2. dplyr::select(., .data$well, .data$dose_A, .data$dose_B, dplyr::matches("exp.+rep.+"))
    2. tidyr::gather(...)
    9. dplyr::mutate(., id = gsub("exp|rep", "", .data$key))
   13. dplyr::tbl_df(.data)
   15. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   16. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   17. tibble:::recycle_columns(x, .rows, lengths)
   18. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   19. tibble:::update_tibble_attrs(x, ...)
  
  -- 6. Error: plot_isobolograms (@test-plot.R#75)  ------------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. loewesadditivity::fortify_gia_data(df)
    2. dplyr::select(., .data$well, .data$dose_A, .data$dose_B, dplyr::matches("exp.+rep.+"))
    2. tidyr::gather(...)
    9. dplyr::mutate(., id = gsub("exp|rep", "", .data$key))
   13. dplyr::tbl_df(.data)
   15. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   16. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   17. tibble:::recycle_columns(x, .rows, lengths)
   18. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   19. tibble:::update_tibble_attrs(x, ...)
  
  == testthat results  ===========================================================
  [ OK: 14 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 6 ]
  1. Error: simulate coverage works (@test-coverage.R#5) 
  2. Error: estimate_params (@test-estimate.R#32) 
  3. Error: fortify functions (@test-fortify.R#5) 
  4. Error: plot_surface (@test-plot.R#7) 
  5. Error: plot_curves (@test-plot.R#41) 
  6. Error: plot_isobolograms (@test-plot.R#75) 
  
  Error: testthat unit tests failed
  Execution halted