% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/version_check.R
\name{.build_version_alert}
\alias{.build_version_alert}
\title{Build a shinyWidgets::alert() UI element for the version banner}
\usage{
.build_version_alert(
  current,
  latest,
  update_available,
  github_user,
  github_repo
)
}
\arguments{
\item{current}{Current installed version string.}

\item{latest}{Latest GitHub release version string, or NULL when
the check could not complete (e.g. no internet).}

\item{update_available}{Logical; whether latest > current.}

\item{github_user}{GitHub username / organisation.}

\item{github_repo}{Repository name.}
}
\value{
A \code{shinyWidgets::alert()} UI element.
}
\description{
Build a shinyWidgets::alert() UI element for the version banner
}
