Checks whether a peak detection algorithm is registered.
Arguments
- name
Algorithm name.
Value
Logical TRUE if algorithm exists, FALSE otherwise.
Examples
has_peak_algorithm("prominence") # TRUE
#> [1] TRUE
has_peak_algorithm("nonexistent") # FALSE
#> [1] FALSE