Running ‘testthat.R’ [11s/13s]
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(glyparse)
  > 
  > test_check("glyparse")
  Saving _problems/test-auto-parse-49.R
  [ FAIL 1 | WARN 0 | SKIP 12 | PASS 291 ]
  
  ══ Skipped tests (12) ══════════════════════════════════════════════════════════
  • On CRAN (12): 'test-parse-iupac-condensed.R:1:1',
    'test-parse-iupac-extended.R:74:1', 'test-parse-iupac-short.R:74:1',
    'test-parse-pglyco.R:1:1', 'test-parse-pglyco.R:8:1',
    'test-parse-pglyco.R:15:1', 'test-parse-pglyco.R:22:1',
    'test-parse-strucgp.R:1:1', 'test-parse-strucgp.R:8:1',
    'test-parse-wurcs.R:456:1', 'test-parse-wurcs.R:463:1',
    'test-parse-wurcs.R:470:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-auto-parse.R:49:3'): auto_parse works with mixed format vector ──
  Error in `validate_glycan_structure_vector(reordered_graphs)`: All structures must have the same monosaccharide type.
  x Found 2 concrete and 1 generic structure(s) in the same vector.
  i Use `convert_to_generic()` to convert concrete structures to generic type.
  Backtrace:
       ▆
    1. └─glyparse::auto_parse(mixed_input) at test-auto-parse.R:49:3
    2.   └─glyparse:::struc_parser_wrapper(x, do_auto_parse)
    3.     └─glyrepr::as_glycan_structure(unique_graphs)
    4.       └─vctrs::vec_cast(x, glycan_structure())
    5.         └─vctrs (local) `<fn>`()
    6.           └─glyrepr:::vec_cast.glyrepr_structure.list(...)
    7.             ├─base::do.call(glycan_structure, x)
    8.             └─glyrepr (local) `<fn>`(`<igraph>`, `<igraph>`, `<igraph>`)
    9.               └─glyrepr:::validate_glycan_structure_vector(reordered_graphs)
   10.                 └─cli::cli_abort(...)
   11.                   └─rlang::abort(...)
  
  [ FAIL 1 | WARN 0 | SKIP 12 | PASS 291 ]
  Error:
  ! Test failures.
  Execution halted