Running ‘testthat.R’ [12s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # Licensed to the Apache Software Foundation (ASF) under one
  > # or more contributor license agreements.  See the NOTICE file
  > # distributed with this work for additional information
  > # regarding copyright ownership.  The ASF licenses this file
  > # to you under the Apache License, Version 2.0 (the
  > # "License"); you may not use this file except in compliance
  > # with the License.  You may obtain a copy of the License at
  > #
  > #   http://www.apache.org/licenses/LICENSE-2.0
  > #
  > # Unless required by applicable law or agreed to in writing,
  > # software distributed under the License is distributed on an
  > # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  > # KIND, either express or implied.  See the License for the
  > # specific language governing permissions and limitations
  > # under the License.
  > 
  > library(testthat)
  > library(nanoarrow)
  > 
  > verbose_test_output <- identical(tolower(Sys.getenv("ARROW_R_DEV", "false")), "true") ||
  +   identical(tolower(Sys.getenv("ARROW_R_VERBOSE_TEST", "false")), "true")
  > 
  > if (verbose_test_output) {
  +   reporter <- MultiReporter$new(list(CheckReporter$new(), LocationReporter$new()))
  + } else {
  +   reporter <- check_reporter()
  + }
  > 
  > test_check("nanoarrow", reporter = reporter)
  Saving _problems/test-altrep-39.R
  Saving _problems/test-altrep-46.R
  [ FAIL 2 | WARN 0 | SKIP 8 | PASS 1610 ]
  
  ══ Skipped tests (8) ═══════════════════════════════════════════════════════════
  • On CRAN (8): 'test-array-stream.R:85:1', 'test-array-stream.R:101:1',
    'test-array.R:40:1', 'test-as-array.R:57:1', 'test-as-array.R:482:1',
    'test-as-array.R:820:1', 'test-buffer.R:76:1', 'test-buffer.R:90:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-altrep.R:39:3'): nanoarrow_altrep_chr() works for string ─────
  Expected `is_nanoarrow_altrep_materialized(x_altrep)` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('test-altrep.R:46:3'): nanoarrow_altrep_chr() works for string ─────
  Expected output from `.Internal(inspect(x_altrep))` to match regexp "<materialized nanoarrow::altrep_chr\\[27\\]>".
  Actual output:
  x | @56542b2a0118 16 STRSXP g0c0 [MARK,REF(65535)] <nanoarrow::altrep_chr[27]>
  
  [ FAIL 2 | WARN 0 | SKIP 8 | PASS 1610 ]
  Error:
  ! Test failures.
  Execution halted