This function identifies the package type from a filename.
An R package in source or binary format,
The returned string is suitable for
string Type of the supplied package.
Jan Schulz and Dirk Eddelbuettel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.