Running ‘testthat.R’ [104s/146s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(constructive)
  > 
  > test_check("constructive")
  Saving _problems/test-s7-elmer_TypeBasic-12.R
  [ FAIL 1 | WARN 2 | SKIP 135 | PASS 97 ]
  
  ══ Skipped tests (135) ═════════════════════════════════════════════════════════
  • On CRAN (126): 'test-abort.R:1:1', 'test-abort.R:26:1',
    'test-construct_diff.R:1:1', 'test-construct_dput.R:1:1',
    'test-construct_multi.R:1:1', 'test-construct_reprex.R:1:1',
    'test-construct_signature.R:1:1', 'test-contains_self_reference.R:38:1',
    'test-deparse_call.R:1:1', 'test-deparse_call.R:106:1',
    'test-deparse_call.R:128:1', 'test-deparse_call.R:153:1',
    'test-deparse_call.R:162:1', 'test-deparse_call.R:171:1',
    'test-encoding.R:1:1', 'test-encoding.R:10:1', 'test-opts.R:1:1',
    'test-others.R:1:1', 'test-others.R:19:1', 'test-others.R:26:1',
    'test-others.R:34:1', 'test-others.R:41:1', 'test-repair_attributes.R:1:1',
    'test-s3-AsIs.R:1:1', 'test-s3-Date.R:1:1', 'test-s3-POSIXct.R:42:1',
    'test-s3-POSIXlt.R:1:1', 'test-s3-POSIXlt.R:30:1', 'test-s3-R6.R:1:1',
    'test-s3-R6ClassGenerator.R:1:1', 'test-s3-array.R:1:1',
    'test-s3-array.R:11:1', 'test-s3-atomic.R:1:1', 'test-s3-atomic.R:41:1',
    'test-s3-atomic.R:53:1', 'test-s3-atomic.R:68:1', 'test-s3-atomic.R:87:1',
    'test-s3-atomic.R:97:1', 'test-s3-atomic.R:127:1', 'test-s3-atomic.R:180:1',
    'test-s3-atomic.R:191:1', 'test-s3-atomic.R:201:1', 'test-s3-blob.R:1:1',
    'test-s3-citationFooter.R:1:1', 'test-s3-citationHeader.R:1:1',
    'test-s3-constructive_options.R:1:1', 'test-s3-data.frame.R:1:1',
    'test-s3-data.frame.R:52:1', 'test-s3-data.frame.R:62:1',
    'test-s3-data.frame.R:68:1', 'test-s3-data.table.R:1:1',
    'test-s3-data.table.R:14:1', 'test-s3-data.table.R:23:1',
    'test-s3-data.table.R:29:1', 'test-s3-difftime.R:1:1', 'test-s3-dm.R:1:1',
    'test-s3-dots.R:1:1', 'test-s3-environment.R:1:1',
    'test-s3-environment.R:75:1', 'test-s3-error.R:1:1',
    'test-s3-expression.R:1:1', 'test-s3-externalptr.R:1:1',
    'test-s3-factor.R:1:1', 'test-s3-formula.R:1:1', 'test-s3-function.R:1:1',
    'test-s3-ggplot2-Coord.R:9:1', 'test-s3-ggplot2-Coord.R:33:1',
    'test-s3-ggplot2-Coord.R:39:1', 'test-s3-ggplot2-Coord.R:49:1',
    'test-s3-ggplot2-Coord.R:57:1', 'test-s3-ggplot2-Coord.R:73:1',
    'test-s3-ggplot2-FacetGrid.R:1:1', 'test-s3-ggplot2-ggplot.R:1:1',
    'test-s3-ggplot2-ggplot.R:15:1', 'test-s3-ggplot2-labels.R:1:1',
    'test-s3-ggplot2-theme.R:1:1', 'test-s3-ggplot2-waiver.R:1:1',
    'test-s3-grouped_df.R:1:1', 'test-s3-hexmode.R:1:1',
    'test-s3-integer64.R:1:1', 'test-s3-language.R:1:1',
    'test-s3-language.R:11:1', 'test-s3-language.R:21:1',
    'test-s3-language.R:33:1', 'test-s3-language.R:40:1', 'test-s3-list.R:1:1',
    'test-s3-matrix.R:1:1', 'test-s3-matrix.R:11:1', 'test-s3-matrix.R:17:1',
    'test-s3-mts.R:1:1', 'test-s3-numeric_version.R:1:1',
    'test-s3-octmode.R:1:1', 'test-s3-ordered.R:1:1', 'test-s3-pairlist.R:1:1',
    'test-s3-person.R:1:1', 'test-s3-quosure.R:1:1', 'test-s3-quosures.R:1:1',
    'test-s3-raw.R:1:1', 'test-s3-rowwise_df.R:1:1',
    'test-s3-simpleCondition.R:1:1', 'test-s3-simpleError.R:1:1',
    'test-s3-simpleMessage.R:1:1', 'test-s3-simpleUnit.R:1:1',
    'test-s3-simpleWarning.R:1:1', 'test-s3-tbl_df.R:1:1',
    'test-s3-tbl_df.R:15:1', 'test-s3-tbl_df.R:22:1', 'test-s3-tbl_df.R:31:1',
    'test-s3-tbl_df.R:37:1', 'test-s3-ts.R:1:1', 'test-s3-vctrs_list_of.R:1:1',
    'test-s3-warning.R:1:1', 'test-s3-weakref.R:1:1',
    'test-s3-xml_document.R:1:1', 'test-s3-xts.R:1:1', 'test-s3-yearmon.R:1:1',
    'test-s3-yearqtr.R:1:1', 'test-s3-zoo.R:1:1', 'test-s3-zooreg.R:1:1',
    'test-s4.R:1:1', 'test-s7-S7_S3_class.R:1:1', 'test-s7-S7_generic.R:1:1',
    'test-s7-S7_property.R:1:1', 'test-s7-S7_union.R:1:1', 'test-utils.R:1:1',
    'test-utils.R:9:1'
  • On Linux (2): 'test-s7-S7-object.R:3:3', 'test-s7-S7_class.R:19:3'
  • with_versions(R > "4.1.3") is TRUE (1): 'test-s3-ggplot2-ggplot.R:28:3'
  • with_versions(R >= "4.3") is TRUE (3): 'test-s3-POSIXct.R:2:3',
    'test-s3-POSIXlt.R:66:3', 'test-s3-mts.R:11:3'
  • with_versions(ellmer > "0.2.1") is TRUE (1): 'test-s7-elmer_TypeBasic.R:31:3'
  • with_versions(ggplot2 > "3.5.2") is TRUE (2): 'test-s3-ggplot2-Coord.R:19:3',
    'test-s3-ggplot2-Coord.R:66:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-s7-elmer_TypeBasic.R:3:3'): ellmer::TypeBasic ────────────────
  Expected `recreated` to equal `expected`.
  Differences:
  actual vs expected
    `ellmer::type_array(items = ellmer::type_object(x = ellmer::type_boolean(), `
  - `    y = ellmer::type_string(), z = ellmer::type_number(), json = ellmer::type_from_schema("[1,2]"), `
  - `    .additional_properties = FALSE))`
  + `    y = ellmer::type_string(), z = ellmer::type_number(), json = ellmer::type_from_schema("[1,2]")))`
  
  Backtrace:
      ▆
   1. └─constructive:::expect_construct(...) at test-s7-elmer_TypeBasic.R:3:3
   2.   └─testthat::expect_equal(recreated, expected)
  
  [ FAIL 1 | WARN 2 | SKIP 135 | PASS 97 ]
  Error:
  ! Test failures.
  Execution halted