Install R Packages or Download File from GitHub via the Proxy Site

When you want to install R package or download file from GitHub, but you can't access GitHub, this package helps you install R packages or download file from GitHub via the proxy website < https://gh-proxy.com/> or < https://ghfast.top/>, which is in real-time sync with GitHub.


Introduction

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.

Installation

# Install development version via GitHub
remotes::install_github("chuxinyuan/ipkg")
# Install from CRAN
install.packages("ipkg")

Usage

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
)

License

ecce is free and open source software, licensed under MIT + file LICENSE.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ipkg")

1.1.3 by Xinyuan Chu, 2 years ago


https://github.com/chuxinyuan/ipkg


Report a bug at https://github.com/chuxinyuan/ipkg/issues


Browse source code at https://github.com/cran/ipkg


Authors: Xinyuan Chu [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports remotes, httr

Suggests testthat


See at CRAN