Skip to contents

[Stable]

Usage

vigiar_lifecycle(fun = NULL)

Arguments

fun

Character vector of function names, or NULL for the full registry.

Value

A tibble with columns fun and status when fun is NULL; otherwise a named character vector with the requested statuses.

Details

Returns the lifecycle status of one or more exported functions, or a tibble with the full public API registry when fun is NULL. Use this to determine whether a function is safe to rely on in scripts and publications.

Examples

head(vigiar_lifecycle())
#> # A tibble: 6 × 2
#>   fun                       status
#>   <chr>                     <chr> 
#> 1 %||%                      stable
#> 2 process_exposicao_indoor  stable
#> 3 process_fracao_atribuivel stable
#> 4 process_indicadores_saude stable
#> 5 process_municipios        stable
#> 6 process_pm25              stable
vigiar_lifecycle(c("vigiar_conectar", "vigiar_benchmark"))
#>  vigiar_conectar vigiar_benchmark 
#>         "stable"   "experimental"