Skip to content

identifyPackageType

Identifies the package type from a filename

Description

This function identifies the package type from a filename.

Usage

identifyPackageType(file, pkginfo = getPackageInfo(file))

Arguments

file An R package in source or binary format,
pkginfo information on the R package referenced by file

Details

The returned string is suitable for write_PACKAGES().

Value

string Type of the supplied package.

Note

This is an internal function, use ::: to access it from outside the internal package code.

Author(s)

Jan Schulz and Dirk Eddelbuettel