Skip to contents

Download an R Package from GitHub

Usage

downloadGitHubPackage(repo, destdir = "~/../Downloads")

Arguments

repo

path to repository, relative to https://github,com, e.g. "kwb-r/kwb.utils"

destdir

path to download folder, default: "~/../Downloads"

Value

path to downloaded file in the destdir folder with attribute "origin" pointing to the original file in tempdir().