Skip to content

Commit

Permalink
kable is not the problem
Browse files Browse the repository at this point in the history
  • Loading branch information
ismayc committed Sep 3, 2018
1 parent 7c41dce commit 62cc4f3
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 14 deletions.
11 changes: 5 additions & 6 deletions 92-appendixB.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ This appendix is designed to provide you with examples of the five basic hypothe
**Note: This appendix is still under construction. If you would like to contribute, please check us out on GitHub at <https://github.com/moderndive/moderndive_book>.**
**Please check out our sneak peak of `infer` below in the meanwhile. For more details on `infer` visit <https://infer.netlify.com/>**.
```

<center>
/begin{center}
`r include_image(path = "images/sign-2408065_1920.png", html_opts="height=100px",
latex_opts = "width=20%")`
/end{center}
</center>
```{r, fig.align='center'}
include_image(path = "images/sign-2408065_1920.png",
html_opts="height=100px",
latex_opts = "width=20%")
```

<!-- <center>
Expand Down
5 changes: 1 addition & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Imports:
nycflights13,
ggplot2movies,
fivethirtyeight,
okcupiddata,
gapminder,
ggplot2,
tibble,
Expand All @@ -16,11 +15,9 @@ Imports:
dygraphs,
rmarkdown,
knitr,
mosaic,
devtools,
webshot,
tufte,
mvtnorm,
stringr,
broom
Remotes: rstudio/bookdown
Remotes: rstudio/bookdown
9 changes: 8 additions & 1 deletion _bookdown.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
book_filename: "ismaykim"
output_dir: "docs"
clean: [bib/packages.bib]
delete_merged_file: true
#chapter_name: "Chapter "
language:
label:
fig: "FIGURE "
tab: "TABLE "
ui:
edit: "Edit"
chapter_name: "Chapter "
11 changes: 8 additions & 3 deletions index.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ needed_CRAN_pkgs <- c(
# Explicitly used packages:
"tidyverse", "rmarkdown", "knitr", "plotly", "janitor", "skimr",
"infer", "moderndive",
"infer",
# "moderndive",
# Internally used packages:
"webshot", "mvtnorm", "remotes", "devtools", "dygraphs", "gridExtra", "kableExtra"
Expand All @@ -68,10 +69,14 @@ if(length(new_pkgs)) {
# GitHub packages needed
if(!"patchwork" %in% installed.packages()){
# patchwork as of 2018-07-20 needs dev version of ggplot2:
devtools::install_github("tidyverse/ggplot2")
devtools::install_github("thomasp85/patchwork")
remotes::install_github("tidyverse/ggplot2")
remotes::install_github("thomasp85/patchwork")
}
# Try to get table references to work again
if(!"moderndive" %in% installed.packages())
remotes::install_github("moderndive/moderndive", ref = "remove-kable")
# Check that phantomjs is installed to create screenshots of apps
if(is.null(webshot:::find_phantom()))
webshot::install_phantomjs()
Expand Down

0 comments on commit 62cc4f3

Please sign in to comment.