| Back to Build/check report for BioC 3.22: simplified long |
|
This page was generated on 2025-10-27 12:45 -0400 (Mon, 27 Oct 2025).
| Hostname | OS | Arch (*) | R version | Installed pkgs |
|---|---|---|---|---|
| kjohnson3 | macOS 13.7.7 Ventura | arm64 | 4.5.1 Patched (2025-09-10 r88807) -- "Great Square Root" | 4637 |
| Click on any hostname to see more info about the system (e.g. compilers) (*) as reported by 'uname -p', except on Windows and Mac OS X | ||||
| Package 1711/2361 | Hostname | OS / Arch | INSTALL | BUILD | CHECK | BUILD BIN | ||||||||
| Rarr 1.9.18 (landing page) Hugo Gruson
| kjohnson3 | macOS 13.7.7 Ventura / arm64 | OK | ERROR | skipped | skipped | ||||||||
|
To the developers/maintainers of the Rarr package: - Allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/Rarr.git to reflect on this report. See Troubleshooting Build Report for more information. - Use the following Renviron settings to reproduce errors and warnings. - If 'R CMD check' started to fail recently on the Linux builder(s) over a missing dependency, add the missing dependency to 'Suggests:' in your DESCRIPTION file. See Renviron.bioc for more information. |
| Package: Rarr |
| Version: 1.9.18 |
| Command: /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data Rarr |
| StartedAt: 2025-10-26 17:39:44 -0400 (Sun, 26 Oct 2025) |
| EndedAt: 2025-10-26 17:40:12 -0400 (Sun, 26 Oct 2025) |
| EllapsedTime: 28.3 seconds |
| RetCode: 1 |
| Status: ERROR |
| PackageFile: None |
| PackageFileSize: NA |
##############################################################################
##############################################################################
###
### Running command:
###
### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data Rarr
###
##############################################################################
##############################################################################
* checking for file ‘Rarr/DESCRIPTION’ ... OK
* preparing ‘Rarr’:
* checking DESCRIPTION meta-information ... OK
* cleaning src
* running ‘cleanup’
* installing the package to build vignettes
* creating vignettes ... ERROR
--- re-building ‘Rarr.Rmd’ using rmarkdown
## Installation and setup
If you want to quickly get started reading an existing Zarr array with the
package, this section should have the essentials covered. First, we need to
install **Rarr**^[you only need to do the installation step once] with the
commands below.
``` r
## we need BiocManager to perform the installation
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
## install Rarr
BiocManager::install("Rarr")
```
Once **Rarr** is installed, we have to load it into our R session:
``` r
library(Rarr)
```
**Rarr** can be used to read files either on local disk or on remote S3 storage
systems. First lets take a look at reading from a local file.
## Reading a from a local Zarr array
To demonstrate reading a local file, we'll pick the example file containing
32-bit integers arranged in the "column first" ordering.
``` r
zarr_example <- system.file(
"extdata", "zarr_examples", "column-first", "int32.zarr",
package = "Rarr"
)
```
### Exploring the data
We can get an summary of the array properties, such as its shape and datatype,
using the function `zarr_overview()`^[This is essentially reading and formatting
the array metadata that accompanies any Zarr array.].
``` r
zarr_overview(zarr_example)
```
```
## Type: Array
## Path: /private/var/folders/r0/l4fjk6cj5xj0j3brt4bplpl40000gt/T/RtmpevXGjC/Rinstabf777010efb/Rarr/extdata/zarr_examples/column-first/int32.zarr
## Shape: 30 x 20 x 10
## Chunk Shape: 10 x 10 x 5
## No. of Chunks: 12 (3 x 2 x 2)
## Data Type: int32
## Endianness: little
## Compressor: blosc
```
You can use this to check that the location is a valid Zarr array, and that the
shape and datatype of the array content are what you are expecting. For
example, we can see in the output above that the data type (`int32`) corresponds
to what we expect.
### Reading the Zarr array
The summary information retrieved above is required, as to read the array with
**Rarr** you need to know the shape and size of the array (unless you want to
read the entire array). From the previous output we can see our example array
has three dimensions of size 30 x 20 x 10. We can select the subset we want to
extract using a `list`. The list must have the same length as the number of
dimensions in our array, with each element of the list corresponding to the
indices you want to extract in that dimension.
``` r
index <- list(1:4, 1:2, 1)
```
We then extract the subset using `read_zarr_array()`:
``` r
read_zarr_array(zarr_example, index = index)
```
```
## , , 1
##
## [,1] [,2]
## [1,] 1 2
## [2,] 1 0
## [3,] 1 0
## [4,] 1 0
```
## Reading from S3 storage {#read-s3}
Reading files in S3 storage works in a very similar fashion to local disk. This
time the path needs to be a URL to the Zarr array.
We can again use `zarr_overview()` to quickly retrieve the array metadata.
``` r
s3_address <- "https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.4/idr0076A/10501752.zarr/0"
zarr_overview(s3_address)
```
Quitting from /private/var/folders/r0/l4fjk6cj5xj0j3brt4bplpl40000gt/T/RtmpevXGjC/Rinstabf777010efb/Rarr/rmd/quick_start.Rmd:80-87 [read-from-s3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NULL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Quitting from Rarr.Rmd:73-74 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NULL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Rarr.Rmd' failed with diagnostics:
Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! SSL connect error [uk1s3.embassy.ebi.ac.uk]:
TLS connect error: error:00000000:lib(0):func(0):reason(0)
--- failed re-building ‘Rarr.Rmd’
SUMMARY: processing the following file failed:
‘Rarr.Rmd’
Error: Vignette re-building failed.
Execution halted