Skip to contents

Download artifact if not cached or forced

Usage

download_artifact_if_needed(
  github_repo,
  repo_name,
  collection_path,
  force = FALSE
)

Arguments

github_repo

Character string. GitHub repository in format "owner/repo"

repo_name

Character string. Local repository name

collection_path

Character string. Path to collection directory

force

Logical. Whether to force download even if file exists

Value

List with success status and file path or error message