https://github.com/cran/pkgdown
Raw File
Tip revision: 6522ead89d4a379cf0626f742814ad6e5cc831bc authored by Hadley Wickham on 03 September 2019, 15:40:02 UTC
version 1.4.0
Tip revision: 6522ead
build_favicons.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/build-favicons.R
\name{build_favicons}
\alias{build_favicons}
\alias{build_favicon}
\title{Create favicons from package logo}
\usage{
build_favicons(pkg = ".", overwrite = FALSE)

build_favicon(pkg, overwrite)
}
\arguments{
\item{pkg}{Path to package.}

\item{overwrite}{If \code{TRUE}, re-create favicons from package logo.}
}
\description{
This function auto-detects the location of your package logo (with the name
\code{logo.svg} (recommended format) or \code{logo.png}) and runs it through the
\url{https://realfavicongenerator.net} API to build a complete set of favicons
with different sizes, as needed for modern web usage.
}
\details{
You only need to run the function once. The favicon set will be stored in
\code{pkgdown/favicon} and copied by \code{\link[=init_site]{init_site()}} to the relevant location when
the website is rebuilt.

Once complete, you should add \code{pkgdown/} to \code{.Rbuildignore } to avoid a NOTE
during package checking.
}
back to top