crandalf (version 0.0.1)

download_source: Download a source package from CRAN

Description

This function tries to download a source package from CRAN for at most 5 times, and if the RStudio mirror fails, the main CRAN site will be used.

Usage

download_source(pkg)

Arguments

pkg
the package name