Learn R Programming

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.

Copy Link

Version

Install

install.packages('ipkg')

Monthly Downloads

172

Version

1.1.3

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Xinyuan Chu

Last Published

April 11th, 2025

Functions in ipkg (1.1.3)

download_file

Download file from GitHub via the proxy site
install_github

Install R packages from GitHub via the proxy site
conn_test

Tests whether the website is properly connected