Tidy up unused images and dependencies (#1133)
* Remove unused images. Fixes #1132 * Remove unused dependencies
15
DESCRIPTION
|
@ -14,17 +14,15 @@ Imports:
|
|||
dbplyr,
|
||||
dplyr,
|
||||
duckdb,
|
||||
feather,
|
||||
gapminder,
|
||||
ggplot2,
|
||||
ggrepel,
|
||||
hexbin,
|
||||
janitor,
|
||||
jsonlite,
|
||||
Lahman,
|
||||
leaflet,
|
||||
lobstr,
|
||||
maps,
|
||||
microbenchmark,
|
||||
nycflights13,
|
||||
openxlsx,
|
||||
palmerpenguins,
|
||||
|
@ -33,31 +31,24 @@ Imports:
|
|||
repurrrsive,
|
||||
slider,
|
||||
stringr,
|
||||
tidymodels,
|
||||
tidyverse,
|
||||
tidyr,
|
||||
viridis,
|
||||
wakefield,
|
||||
writexl
|
||||
Suggests:
|
||||
bookdown,
|
||||
bslib,
|
||||
downlit,
|
||||
htmltools,
|
||||
htmlwidgets,
|
||||
jpeg,
|
||||
jsonlite,
|
||||
knitr,
|
||||
png,
|
||||
sessioninfo,
|
||||
tidymodels,
|
||||
xml2
|
||||
sessioninfo
|
||||
Remotes:
|
||||
tidyverse/dplyr,
|
||||
tidyverse/dbplyr,
|
||||
tidyverse/stringr,
|
||||
tidyverse/tidyr,
|
||||
tidyverse/purrr,
|
||||
tidyverse/ggplot2,
|
||||
jennybc/repurrrsive
|
||||
Encoding: UTF-8
|
||||
License: CC NC ND 3.0
|
||||
|
|
Before Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 108 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 24 KiB |
|
@ -1,9 +0,0 @@
|
|||
|
||||
|
||||
x y <- 10
|
||||
|
||||
|
||||
|
||||
|
||||
3 == NA
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
Version: 1.0
|
||||
|
||||
RestoreWorkspace: Default
|
||||
SaveWorkspace: Default
|
||||
AlwaysSaveHistory: Default
|
||||
|
||||
EnableCodeIndexing: Yes
|
||||
UseSpacesForTab: Yes
|
||||
NumSpacesForTab: 2
|
||||
Encoding: UTF-8
|
||||
|
||||
RnwWeave: Sweave
|
||||
LaTeX: XeLaTeX
|
||||
|
||||
AutoAppendNewline: Yes
|
||||
StripTrailingWhitespace: Yes
|
|
@ -1,30 +0,0 @@
|
|||
---
|
||||
title: "Untitled"
|
||||
author: "RStudio"
|
||||
date: "August 2, 2016"
|
||||
output: html_document
|
||||
---
|
||||
|
||||
```{r setup, include=FALSE}
|
||||
knitr::opts_chunk$set(echo = TRUE)
|
||||
```
|
||||
|
||||
## R Markdown
|
||||
|
||||
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>.
|
||||
|
||||
When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
|
||||
|
||||
```{r cars}
|
||||
summary(cars)
|
||||
```
|
||||
|
||||
## Including Plots
|
||||
|
||||
You can also embed plots, for example:
|
||||
|
||||
```{r pressure, echo=FALSE}
|
||||
plot(pressure)
|
||||
```
|
||||
|
||||
Note that the `echo = FALSE` parameter was added to the code chunk to prevent printing of the R code that generated the plot.
|
Before Width: | Height: | Size: 326 KiB |
Before Width: | Height: | Size: 258 KiB |
Before Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 177 KiB |
BIN
images/blank.png
Before Width: | Height: | Size: 6.7 KiB |
|
@ -1,28 +0,0 @@
|
|||
is_latex <- function() {
|
||||
identical(knitr::opts_knit$get('rmarkdown.pandoc.to'), "latex")
|
||||
}
|
||||
|
||||
embed_jpg <- function(path, dpi) {
|
||||
dim <- jpg_dim(path)
|
||||
|
||||
if (is_latex()) {
|
||||
width <- round(dim[2] / dpi, 2)
|
||||
|
||||
knitr::asis_output(paste0(
|
||||
"\\includegraphics[",
|
||||
"width=", width, "in",
|
||||
"]{", path, "}"
|
||||
))
|
||||
} else {
|
||||
knitr::asis_output(paste0(
|
||||
"<img src='", path, "'",
|
||||
" width='", round(dim[2] / (dpi / 96)), "'",
|
||||
" height='", round(dim[1] / (dpi / 96)), "'",
|
||||
" />"
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
jpg_dim <- function(path) {
|
||||
dim(jpeg::readJPEG(path, native = TRUE))
|
||||
}
|
Before Width: | Height: | Size: 2.3 MiB |
Before Width: | Height: | Size: 390 KiB |
Before Width: | Height: | Size: 728 KiB |
Before Width: | Height: | Size: 538 KiB |
Before Width: | Height: | Size: 341 KiB |
Before Width: | Height: | Size: 610 KiB |
Before Width: | Height: | Size: 468 KiB |
Before Width: | Height: | Size: 480 KiB |
Before Width: | Height: | Size: 517 KiB |
Before Width: | Height: | Size: 534 KiB |
Before Width: | Height: | Size: 161 KiB |
Before Width: | Height: | Size: 660 KiB |
Before Width: | Height: | Size: 403 KiB |
Before Width: | Height: | Size: 191 KiB |
Before Width: | Height: | Size: 193 KiB |
Before Width: | Height: | Size: 117 KiB |
Before Width: | Height: | Size: 137 KiB |
Before Width: | Height: | Size: 141 KiB |
Before Width: | Height: | Size: 142 KiB |
Before Width: | Height: | Size: 138 KiB |
Before Width: | Height: | Size: 149 KiB |
Before Width: | Height: | Size: 158 KiB |
Before Width: | Height: | Size: 312 KiB |
Before Width: | Height: | Size: 102 KiB |
Before Width: | Height: | Size: 415 KiB |
Before Width: | Height: | Size: 365 KiB |
Before Width: | Height: | Size: 192 KiB |
Before Width: | Height: | Size: 362 KiB |
Before Width: | Height: | Size: 214 KiB |
Before Width: | Height: | Size: 230 KiB |
Before Width: | Height: | Size: 313 KiB |
Before Width: | Height: | Size: 135 KiB |
Before Width: | Height: | Size: 535 KiB |
Before Width: | Height: | Size: 217 KiB |
Before Width: | Height: | Size: 171 KiB |
Before Width: | Height: | Size: 636 KiB |
Before Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 243 KiB |
Before Width: | Height: | Size: 979 KiB |
Before Width: | Height: | Size: 348 KiB |
Before Width: | Height: | Size: 189 KiB |