Skip to content

Commit

Permalink
auto-readme: knitr::imgur_upload; upload all images to imgur.com
Browse files Browse the repository at this point in the history
  • Loading branch information
brownag committed Jan 21, 2021
1 parent 2e7226d commit 1084939
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,10 @@ remotes::install_github("ncss-tech/soilDB", dependencies = FALSE, upgrade = FALS
## Examples

```{r setup, warning = FALSE, message = FALSE, include = FALSE}
knitr::opts_knit$set(upload.fun = knitr::imgur_upload, base.url = NULL)
knitr::opts_chunk$set(warning = FALSE, message = FALSE,
fig.width = 14, fig.height = 8,
fig.path = ".github/images/",
fig.retina = 3)
```

### Load Soil Packages
Expand Down Expand Up @@ -186,13 +185,6 @@ SoilTaxonomyDendrogram(
)
```

```{r include=FALSE}
if (!dir.exists("docs/.github/images/"))
dir.create("docs/.github/images/", recursive = TRUE)
file.copy(list.files(path = ".github/images/", "png", full.names = TRUE), "docs/.github/images/")
```

## Dependency Graph

![](https://cran.microsoft.com/packagedata/graphs/soilDB.png)
Expand Down

0 comments on commit 1084939

Please sign in to comment.