check_known_repos: Searches a list of known package hex curated lists for a...

View source: R/locate.R

check_known_reposR Documentation

Searches a list of known package hex curated lists for a given package name

Description

Some packages have logos already in curated repositories. This avoids additional CRAN calls and returns high definition versions of the logos.

Usage

check_known_repos(pkg_name, known_repos = getOption("hexFinder.known_repos"))

Arguments

pkg_name

A single string with the name of a package to find the hex for.

known_packages

Named list with known curated repos that store logos for some packages. quality on these is usually higher that normal.

Value

A URL that points to a image or NULL in no result was found.


hexFinder documentation built on Feb. 16, 2023, 8:11 p.m.