Skip to contents

Setup all necessary tools and requirements to validate Shiny apps project. This function is the first to be called.

Usage

use_validator(cicd_platform = c("github", "gitlab-docker", "gitlab"))

Arguments

cicd_platform

CI/CD engine. GitLab or GitHub Actions. When gitlab-docker is selected, we leverage docker executor. The provided CI/CD template will pull docker image from https://hub.docker.com/repository/docker/divadnojnarg/shinyvalidator-docker, which provides installation of R, shinycannon, Chrome, necessary to run the pipeline without issue. This is typically the easiest setup since the classic GitLab CI/CD templates assumes that your GitLab runner has everything installed, which is not necessarily the case.

Details

By default, the package is checked, built and test are run. Also, we quickly check if the Shiny application is able to start and run without crashing.