Running ‘testthat.R’ [149s/534s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(PKbioanalysis)
  
  Attaching package: 'PKbioanalysis'
  
  The following object is masked from 'package:stats':
  
      integrate
  
  > 
  > test_check("PKbioanalysis")
  Plate not registered. To register, use register_plate()
  Plate not registered. To register, use register_plate()
  Plate not registered. To register, use register_plate()
  Plate not registered. To register, use register_plate()
  Plate not registered. To register, use register_plate()
  Plate not registered. To register, use register_plate()
  Plate not registered. To register, use register_plate()
  Plate not registered. To register, use register_plate()
  "My Plate" |> generate_96() |> add_blank(group = "A") |> fill_scheme(fill = "h") |> add_suitability() |> fill_scheme(tbound = 1, fill = "v")i Created study with ID: aaf29b0b-bebb-45e4-b0c5-b7461bb37b1a
  i Adding dosing and subjects information...
  v Dosing information added.
  i Adding subjects information...
  v Subjects information added.
  i Adding sample log information...
  v Sample log information added.
  i Created study with ID: 98755640-2ab4-445a-9071-315b6e62353a
  v Dosing information added.
  i Adding subjects information...
  v Subjects information added.
  i Adding sample log information...
  v Sample log information added.
  i Created study with ID: c7bd63b3-e6b2-4108-8e8b-2920626ea3cc
  v Dosing information added.
  i Adding subjects information...
  v Subjects information added.
  i Adding sample log information...
  v Sample log information added.
  `geom_smooth()` using formula = 'y ~ x'
  Saving _problems/test_quant_object-12.R
  [ FAIL 1 | WARN 0 | SKIP 16 | PASS 103 ]
  
  ══ Skipped tests (16) ══════════════════════════════════════════════════════════
  • On CRAN (10): 'test-apps.R:1:1', 'test-injec_list.R:8:3',
    'test-injec_list.R:51:3', 'test-injec_list.R:88:3',
    'test-injec_list.R:118:3', 'test-injec_list.R:140:3',
    'test-injec_list.R:178:3', 'test-plate.R:10:3', 'test-plate.R:22:3',
    'test_methodsfile.R:1:1'
  • empty test (5): 'test-estimresiduals.R:1:1', 'test-estimresiduals.R:18:1',
    'test-plate.R:158:1', 'test-plate_expr.R:56:1', 'test-quant_parsers.R:9:1'
  • scipy not available for testing (1): 'test-pydeps.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_quant_object.R:12:1'): (code run outside of `test_that()`) ─────
  Error in `.get_method_cmpds(method_id)`: Method ID 1 not found in database.
  Backtrace:
      ▆
   1. └─PKbioanalysis:::create_quant_object(quantobj, 1) at test_quant_object.R:12:1
   2.   └─PKbioanalysis:::update_cmpd_info(res, method_id)
   3.     └─PKbioanalysis:::check_quant_method_quantres(quantres, method_id)
   4.       └─PKbioanalysis:::.get_method_cmpds(method_id)
  
  [ FAIL 1 | WARN 0 | SKIP 16 | PASS 103 ]
  Error:
  ! Test failures.
  Execution halted