Running ‘testthat.R’ [23s/35s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(gcplyr)
  ## 
  ## gcplyr (Version 1.5.2, Build Date: 2023-05-02)
  ## See http://github.com/mikeblazanin/gcplyr for additional documentation
  ## Please cite software as:
  ##   Blazanin, Michael. 2023. gcplyr: an R package for microbial growth
  ##   curve data analysis. bioRxiv doi: 10.1101/2023.04.30.538883
  ## 
  
  > 
  > test_check("gcplyr")
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  
  Attaching package: 'tidyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  Loading required package: nlme
  
  Attaching package: 'nlme'
  
  The following object is masked from 'package:dplyr':
  
      collapse
  
  This is mgcv 1.9-0. For overview type 'help("mgcv-package")'.
  Inferring nested_metadata to be TRUE
  
  Inferring nested_metadata to be TRUE
  
  Inferring nested_metadata to be TRUE
  
  Inferring nested_metadata to be TRUE
  
  block_name_location = 'filename' but there are multiple metadata entries.
  Putting block_names in filename and writing remaining metadata into file
  
  block_name_location = 'filename' but there are multiple metadata entries.
  Putting block_names in filename and writing remaining metadata into file
  
  block_name_location = 'filename' but there are multiple metadata entries.
  Putting block_names in filename and writing remaining metadata into file
  
  Inferring nested_metadata to be FALSE
  
  Inferring nested_metadata to be FALSE
  
  Inferring nested_metadata to be FALSE
  
  Inferring nested_metadata to be FALSE
  
  Inferring nested_metadata to be TRUE
  
  Joining with `by = join_by(time, Pop1, run)`
  Joining with `by = join_by(time, Pop1, run)`
  Joining with `by = join_by(time, fake_treat, run)`
  Joining with `by = join_by(time, run)`
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 256 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_smoothingfunctions.R:240:43'): smooth_data change to return_fitobject is correct ──
  Error in `eval(code, test_env)`: change return_fitobject behavior
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 256 ]
  Error: Test failures
  Execution halted