This function identifies the package type from a filename.
identifyPackageType(file, pkginfo = getPackageInfo(file))
file
|
An R package in source or binary format, |
pkginfo
|
information on the R package referenced by file
|
The returned string is suitable for write_PACKAGES().
string Type of the supplied package.
This is an internal function, use ::: to access it from
outside the internal package code.
Jan Schulz and Dirk Eddelbuettel