Skip to content

filearray

File-Backed Array for Out-of-Memory Computation

v0.2.2 · May 22, 2026 · LGPL-3

Description

Stores large arrays in files to avoid occupying large memories. Implemented with super fast gigabyte-level multi-threaded reading/writing via 'OpenMP'. Supports multiple non-character data types (double, float, complex, integer, logical, and raw).

Downloads

CRAN

715

Last 30 days

4624th

2.3K

Last 90 days

7.4K

Last year

Trend: -6.5% (30d vs prior 30d)

r2u CRAN

26

Last 30 days

153

Last 90 days

541

Last year

Trend: -62.9% (30d vs prior 30d)

autoCRAN

3

Last 7 days

18

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

conda-forge CRAN

200

Last 30 days

819

Last 90 days

4K

Last year

Trend: -58.9% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

tests

Running ‘testthat.R’ [26s/42s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(filearray)
  R CMD check mode. Using 2 threads.
  > 
  > # Sys.setenv("FILEARRAY_SKIP_COLLAPSE" = "TRUE")
  > 
  > cat(u
...[truncated]...
ist(expr, classes, parentenv, handlers)
   11.         └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   12.           └─value[[3L]](cond)
  
  [ FAIL 2 | WARN 5 | SKIP 3 | PASS 832 ]
  Error:
  ! Test failures.
  Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
NOTE 11 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE r-release-macos-x86_64

compiled code

File ‘filearray/libs/filearray.so’:
  Found non-API call to R: ‘R_MissingArg’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/filearray.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 9, 2026
NOTE 13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 27, 2026
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘filearray/libs/filearray.so’:
  Found non-API call to R: ‘R_MissingArg’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 26, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 23, 2026
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘filearray/libs/filearray.so’:
  Found non-API call to R: ‘Rf_findVarInFrame’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-fedora-gcc

compiled code

File ‘filearray/libs/filearray.so’:
  Found non-API call to R: ‘Rf_findVarInFrame’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-windows-x86_64

compiled code

File 'filearray/libs/x64/filearray.dll':
  Found non-API call to R: 'Rf_findVarInFrame'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
WARNING 9 OK · 4 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Mar 20, 2026
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘filearray/libs/filearray.so’:
  Found non-API call to R: ‘Rf_findVarInFrame’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
WARNING r-devel-linux-x86_64-debian-gcc

compiled code

File ‘filearray/libs/filearray.so’:
  Found non-API call to R: ‘Rf_findVarInFrame’
This entry point may be removed soon.

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-fedora-clang

compiled code

File ‘filearray/libs/filearray.so’:
  Found non-API call to R: ‘Rf_findVarInFrame’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-fedora-gcc

compiled code

File ‘filearray/libs/filearray.so’:
  Found non-API call to R: ‘Rf_findVarInFrame’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-windows-x86_64

compiled code

File 'filearray/libs/x64/filearray.dll':
  Found non-API call to R: 'Rf_findVarInFrame'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 16, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running examples in ‘filearray-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: filearray_bind
> ### Title: Merge and bind homogeneous file arrays
> ### Aliases: filearray_bind
> 

...[truncated]...
 simply creates links 
> # if symlink is supported
> 
> y1[] - y2[]
Error in fa_subset1(x, , ..., drop = drop, reshape = reshape, strict = strict,  : 
  argument "tmp" is missing, with no default
Calls: [ -> [.FileArray -> fa_subset1
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

14,609

Files

91

Compiled share

38.2%

Has compiled src

Yes

Language breakdown

R 4,834 (33.1%)C/C++/src 5,581 (38.2%)Tests 2,409 (16.5%)Docs 1,418 (9.7%)Vignettes 367 (2.5%)

API

Exported functions

15

Internal functions

102

Testing & CI

Has tests

Yes

Test-to-code ratio

0.50

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

66.7%

Unsafe pattern score

10

Dep constraint coverage

40%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

LGPL-3

License flags

SPDX valid, OSI approved

History

Versions

13

First release

2021-09-08

Latest release

2026-05-23

Avg cadence

69 days

Cold removal rate

Dep drift

3

LOC over versions

v0.1.0: 4,849 LOCv0.1.1: 8,854 LOCv0.1.2: 9,453 LOCv0.1.3: 9,954 LOCv0.1.4: 10,178 LOCv0.1.5: 10,241 LOCv0.1.6: 13,624 LOCv0.1.7: 13,817 LOCv0.1.8: 13,850 LOCv0.1.9: 13,853 LOCv0.2.0: 13,864 LOCv0.2.1: 14,229 LOCv0.2.2: 14,609 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (4)

suggests

Dependency Network

Dependencies Reverse dependencies digest fastmap Rcpp uuid ieegio ravecore ravetools ravepipeline filearray

Version History

14 tracked
updated 0.2.2 ← 0.2.1 diff May 23, 2026
updated 0.2.1 ← 0.2.0 diff Mar 23, 2026
new 0.2.0 Mar 10, 2026
updated 0.2.0 ← 0.1.9 diff Mar 31, 2025
updated 0.1.9 ← 0.1.8 diff Nov 7, 2024
updated 0.1.8 ← 0.1.7 diff Sep 2, 2024
updated 0.1.7 ← 0.1.6 diff Jul 16, 2024
updated 0.1.6 ← 0.1.5 diff Jun 22, 2023
updated 0.1.5 ← 0.1.4 diff Oct 15, 2022
updated 0.1.4 ← 0.1.3 diff Aug 5, 2022
updated 0.1.3 ← 0.1.2 diff Jan 27, 2022
updated 0.1.2 ← 0.1.1 diff Nov 24, 2021
updated 0.1.1 ← 0.1.0 diff Sep 19, 2021
new 0.1.0 Sep 7, 2021