Learn R Programming

drat (version 0.2.5)

identifyPackageType: Identifies the package type from a filename

Description

This function identifies the package type from a filename.

Usage

identifyPackageType(file, pkginfo = getPackageInfo(file))

Value

string Type of the supplied package.

Arguments

file

An R package in source or binary format,

pkginfo

information on the R package referenced by file

Author

Jan Schulz and Dirk Eddelbuettel

Details

The returned string is suitable for write_PACKAGES().