R/helpers.r

Defines functions rapp_icon

Documented in rapp_icon

#' Provide the full URL to the "icon" file within the package
#'
#' @md
#' @param icon_ref icon file name generally found in the `icon` column
#'        returned via a call to [rappalyze()].
#' @export
#' @examples
#' rapp_icon("Nginx.svg")
rapp_icon <- function(icon_ref) {
  sprintf("https://wappalyzer.com/images/icons/%s", icon_ref)
}
hrbrmstr/rappalyzer documentation built on Oct. 4, 2022, 8:57 p.m.