Finds hex logos for given packages
Finds and downloads the best possible image that represents a hex logo for a given list of package names.
find_hex( pkg_names, output = NULL, repo = NULL, skip_known_logos = FALSE, overwrite = FALSE )
A single string or a vector of strings with the names of packages to find hexes for.
the output path where to store the found logos
The repo to use to find the package logo. If none is provided, it will try to find one based on CRAN meta information. Useful when we want to minimize API calls to CRAN.
Some logos are sourced from known repos or urls. If set to TRUE, those locations will be skipped. Useful if you are getting outdated versions of logos, but slower. Defaults to FALSE.
If a logo with the package name already exists in the output folder, should it be overwritten. Defaults to FALSE.