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

6 years ago
---
2 years ago
output: rmarkdown::github_document
6 years ago
---
3 years ago
```{r pkg-knitr-opts, include=FALSE}
3 years ago
hrbrpkghelpr::global_opts()
3 years ago
```
3 years ago
```{r badges, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::stinking_badges()
```
6 years ago
```{r description, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::yank_title_and_description()
```
6 years ago
## SOME IMPORTANT DETAILS
6 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.
6 years ago
## What's Inside The Tin
6 years ago
The following functions are implemented:
3 years ago
```{r ingredients, results='asis', echo=FALSE, cache=FALSE}
3 years ago
hrbrpkghelpr::describe_ingredients()
```
## Installation
6 years ago
3 years ago
```{r install-ex, results='asis', echo=FALSE, cache=FALSE}
3 years ago
hrbrpkghelpr::install_block()
6 years ago
```
## Usage
6 years ago
3 years ago
```{r vers, message=FALSE, warning=FALSE, error=FALSE, cache=FALSE}
6 years ago
library(wand)
library(tidyverse)
6 years ago
6 years ago
# current verison
6 years ago
packageVersion("wand")
6 years ago
```
3 years ago
```{r ex1}
2 years ago
list.files(system.file("extdat", "pass-through", package="wand"), full.names=TRUE) %>%
map_df(~{
3 years ago
tibble(
fil = basename(.x),
mime = list(get_content_type(.x))
)
}) %>%
3 years ago
unnest()
```
## wand Metrics
3 years ago
3 years ago
```{r cloc, echo=FALSE}
3 years ago
cloc::cloc_pkg_md()
```
6 years ago
## Code of Conduct
6 years ago
3 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.