read_github_file: Read a file from a GitHub CRAN repository

View source: R/read_github_file.R

read_github_fileR Documentation

Read a file from a GitHub CRAN repository

Description

Read a file from a GitHub CRAN repository.

Usage

read_github_file(pac, version, file, repos = "https://cran.rstudio.com/")

Arguments

pac

character a package name.

version

character version of a package. Default: NULL

file

character file name to read. Possible values are DESCRIPTION, NEWS and NAMESPACE.

repos

character vector of repositories URLs to use. By default checking CRAN and newest Bioconductor per R version. Default pacs::biocran_repos()

Note

if the file is not found in the GitHub repository, it will try to find it in the CRAN archive.


Polkas/pacs documentation built on Oct. 2, 2024, 8:04 p.m.