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.

63 lines
1.6 KiB

8 years ago
---
5 years ago
output: rmarkdown::github_document
8 years ago
---
5 years ago
```{r pkg-knitr-opts, include=FALSE}
5 years ago
hrbrpkghelpr::global_opts()
5 years ago
```
5 years ago
```{r badges, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::stinking_badges()
```
8 years ago
```{r description, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::yank_title_and_description()
```
8 years ago
## SOME IMPORTANT DETAILS
8 years ago
The header checking is minimal (i.e. nowhere near as comprehensive as `libmagic`) but covers quite a bit of ground. If there are content-check types from [`magic sources`](https://github.com/threatstack/libmagic/tree/master/magic/) that you would like coded into the package, please file an issue and _include the full line(s)_ from that linked `magic.tab` that you would like mapped.
8 years ago
## What's Inside The Tin
8 years ago
The following functions are implemented:
5 years ago
```{r ingredients, results='asis', echo=FALSE, cache=FALSE}
5 years ago
hrbrpkghelpr::describe_ingredients()
```
## Installation
8 years ago
5 years ago
```{r install-ex, results='asis', echo=FALSE, cache=FALSE}
5 years ago
hrbrpkghelpr::install_block()
8 years ago
```
## Usage
8 years ago
5 years ago
```{r vers, message=FALSE, warning=FALSE, error=FALSE, cache=FALSE}
8 years ago
library(wand)
library(tidyverse)
8 years ago
8 years ago
# current verison
8 years ago
packageVersion("wand")
8 years ago
```
5 years ago
```{r ex1}
list.files(system.file("extdat", package="wand"), full.names=TRUE) %>%
map_df(~{
5 years ago
tibble(
fil = basename(.x),
mime = list(get_content_type(.x))
)
}) %>%
5 years ago
unnest()
```
## wand Metrics
5 years ago
5 years ago
```{r cloc, echo=FALSE}
5 years ago
cloc::cloc_pkg_md()
```
8 years ago
## Code of Conduct
8 years ago
5 years ago
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.