Skip to contents

Lists all existing versions of an input file from whep_inputs, or from another registry.

Usage

whep_list_file_versions(file_alias, registry = NULL)

Arguments

file_alias

Internal name of the requested file. You can find the possible values in the whep_inputs dataset.

registry

The table that maps file_alias to a board and a frozen version. NULL, the default, is whep_inputs, this package's own inputs. Another package or project passes its own registry, a table with the columns alias, board_url and version, usually read with whep_registry(); it is validated the same way before it is used. See the section Reading from another registry.

Value

A tibble where each row is a version. For details about its format, see pins::pin_versions().

Examples

whep_list_file_versions("read_example")
#> # A tibble: 3 × 3
#>   version                created             hash 
#>   <chr>                  <dttm>              <chr>
#> 1 20250721T152646Z-ce61b 2025-07-21 15:26:46 ce61b
#> 2 20250721T152756Z-f00da 2025-07-21 15:27:56 f00da
#> 3 20250721T152854Z-7cc8f 2025-07-21 15:28:54 7cc8f