- using R Under development (unstable) (2025-11-12 r89009 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'nanoarrow/DESCRIPTION' ... OK
- this is package 'nanoarrow' version '0.7.0-1'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'nanoarrow' can be installed ... OK
See the install log for details.
- used C compiler: 'gcc.exe (GCC) 14.3.0'
- used C++ compiler: 'g++.exe (GCC) 14.3.0'
- checking installed package size ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s] OK
- checking whether the package can be unloaded cleanly ... [0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s] OK
- checking loading without being on the library search path ... [0s] OK
- checking whether startup messages can be suppressed ... [0s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [5s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking line endings in shell scripts ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compiled code ... OK
- checking examples ... [2s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [19s] ERROR
Running 'testthat.R' [19s]
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)
The tzdb package is not installed. Timezones will not be available to Arrow compute functions.
[ FAIL 2 | WARN 0 | SKIP 8 | PASS 1610 ]
══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• On CRAN (8): 'test-array-stream.R:96:3', 'test-array-stream.R:121:3',
'test-array.R:42:3', 'test-as-array.R:59:3', 'test-as-array.R:489:3',
'test-as-array.R:823:3', 'test-buffer.R:78:3', 'test-buffer.R:91:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-altrep.R:39:3'): nanoarrow_altrep_chr() works for string ─────
is_nanoarrow_altrep_materialized(x_altrep) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-altrep.R:46:3'): nanoarrow_altrep_chr() works for string ─────
`\.Internal\(inspect\(x_altrep\)\)` does not match "<materialized nanoarrow::altrep_chr\\[27\\]>".
Actual value: "@0x000002967ca8c570 16 STRSXP g1c0 \[MARK,REF\(65535\)\] <nanoarrow::altrep_chr\[27\]>"
Backtrace:
▆
1. └─testthat::expect_output(.Internal(inspect(x_altrep)), "<materialized nanoarrow::altrep_chr\\[27\\]>") at test-altrep.R:46:3
2. └─testthat::expect_match(...)
3. └─testthat:::expect_match_(...)
[ FAIL 2 | WARN 0 | SKIP 8 | PASS 1610 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [20s] OK
- checking HTML version of manual ... [4s] OK
- DONE
Status: 1 ERROR