mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-19 12:37:30 +02:00
Deploying to gh-pages from @ agdamsbo/FreesearchR@2d062e0ac5 🚀
This commit is contained in:
parent
8d56d197d6
commit
66780fc453
44 changed files with 1145 additions and 190 deletions
44
reference/dot-build_version_alert.md
Normal file
44
reference/dot-build_version_alert.md
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
# Build a shinyWidgets::alert() UI element for the version banner
|
||||
|
||||
Build a shinyWidgets::alert() UI element for the version banner
|
||||
|
||||
## Usage
|
||||
|
||||
``` r
|
||||
.build_version_alert(
|
||||
current,
|
||||
latest,
|
||||
update_available,
|
||||
github_user,
|
||||
github_repo
|
||||
)
|
||||
```
|
||||
|
||||
## Arguments
|
||||
|
||||
- current:
|
||||
|
||||
Current installed version string.
|
||||
|
||||
- latest:
|
||||
|
||||
Latest GitHub release version string, or NULL when the check could not
|
||||
complete (e.g. no internet).
|
||||
|
||||
- update_available:
|
||||
|
||||
Logical; whether latest \> current.
|
||||
|
||||
- github_user:
|
||||
|
||||
GitHub username / organisation.
|
||||
|
||||
- github_repo:
|
||||
|
||||
Repository name.
|
||||
|
||||
## Value
|
||||
|
||||
A
|
||||
[`shinyWidgets::alert()`](https://dreamrs.github.io/shinyWidgets/reference/bootstrap-utils.html)
|
||||
UI element.
|
||||
Loading…
Add table
Add a link
Reference in a new issue