link_preview: Generate link to the preview shiny app for forecast...

View source: R/link_preview.R

link_previewR Documentation

Generate link to the preview shiny app for forecast submissions

Description

Generate link to the preview shiny app for forecast submissions

Usage

link_preview(gh_repo, pr_number, data_folder = "data-processed")

Arguments

gh_repo

GitHub repository address in the format username/repo

pr_number

Number of the pull request to validate

data_folder

Path to the folder containing forecasts in this gh_repo

Value

A character vector containing one link for each of the forecast file uploading in the PR #pr_number.

Examples

link_preview(
  "epiforecasts/covid19-forecast-hub-europe",
  956
)


epiforecasts/forecasthubutils2 documentation built on July 1, 2023, 11:50 a.m.