
<!-- README.md is generated from README.Rmd. Please edit that file -->

# 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

``` r
# 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.

``` r
install_github("yihui/xfun")
```

Download file from GitHub via the proxy website. for example:

``` r
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.
