feat: added version check and banner. verbose version can be activated with global variabel on launch.

This commit is contained in:
Andreas Gammelgaard Damsbo 2026-03-23 14:06:49 +01:00
commit cfbee14dcb
No known key found for this signature in database
8 changed files with 495 additions and 0 deletions

View file

@ -0,0 +1,32 @@
% 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
}