You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
664 B

6 years ago
---
output: rmarkdown::github_document
---
6 years ago
`filemagic` : R interface to libmagic
6 years ago
The following functions are implemented:
6 years ago
- `get_mimetype` : returns the mimetype of the files in the input vector (as a data frame)
6 years ago
The following data sets are included:
6 years ago
- (eventually will be an internal mime types db)
6 years ago
### Installation
```{r eval=FALSE}
devtools::install_github("hrbrmstr/filemagic")
```
```{r echo=FALSE, message=FALSE, warning=FALSE, error=FALSE}
options(width=120)
```
### Usage
```{r}
library(filemagic)
# current verison
packageVersion("filemagic")
```
### Test Results
```{r}
library(filemagic)
library(testthat)
date()
test_dir("tests/")
```