When you want to install an R package on GitHub, but you can’t access GitHub, this function helps you download and install the package on GitHub via the proxy website https://gh-proxy.com/ or https://ghfast.top/, which is in real-time sync with GitHub.
# Install development version from GitLab
::install_gitlab("chuxinyuan/ipkg")
remotes# Install from CRAN
install.packages("ipkg")
Install the development version of the R package on GitHub. Take the ‘xfun’ package as an example.
install_github("yihui/xfun")
Download file from GitHub via the proxy website. for example:
download_file(
url = "https://github.com/hadley/mastering-shiny/raw/main/neiss/products.tsv",
destfile = "products.tsv",
quiet = TRUE
)
ecce is free and open source software, licensed under MIT + file LICENSE.