Test post for checking website
This article is originally published at http://LieberInstitute.github.io/rstatsclub/
This is a test post for checking the formatting of the website. You can basically ignore the rest. It’s showing the contents of the post.md archetype (blog post template).
Useful links for editing the theme:
- https://sourcethemes.com/academic/docs/get-started/
- https://sourcethemes.com/academic/docs/customization/
- https://github.com/gcushen/hugo-academic/tree/master/data/fonts
- https://github.com/gcushen/hugo-academic/tree/master/data/themes
- https://www.libd.org/ (for getting colors under inspect mode)
Post content
Typical location to start editing since the bibliography chunk is hidden. Make sure that you selected R Markdown (.Rmd)
as the format option of the post when using the New Post
blogdown addin.
R image
## This imaged will be saved in the /post/*_files/ directory
## Use echo = FALSE if you want to hide the code for making the plot
plot(1:10, 10:1)
If you prefer not to use the fig.width
and fig.height
options in every plot chunk, edit the YAML (the part at the top of the post) with:
output:
blogdown::html_page:
toc: no
fig_width: 5
fig_height: 5
Custom image
Use the blogdown Insert Image plugin to add an external image. You need to use version 0.5.7 or newer to have access to this plugin. At the time of writing this post, this version is only available via GitHub. That is, install it with:
devtools::install_github('rstudio/blogdown')
Acknowledgements
This blog post was made possible thanks to:
References
[1] C. Boettiger. knitcitations: Citations for ‘Knitr’ Markdown Files. R package version 1.0.8. 2017. URL: https://CRAN.R-project.org/package=knitcitations.
[2] A. Oles, M. Morgan and W. Huber. BiocStyle: Standard styles for vignettes and other Bioconductor documents. R package version 2.6.1. 2017. URL: https://github.com/Bioconductor/BiocStyle.
[3] H. Wickham, J. Hester and W. Chang. devtools: Tools to Make Developing R Packages Easier. R package version 1.13.5. 2018. URL: https://CRAN.R-project.org/package=devtools.
[4] Y. Xie, A. P. Hill and A. Thomas. blogdown: Creating Websites with R Markdown. ISBN 978-0815363729. Boca Raton, Florida: Chapman and Hall/CRC, 2017. URL: https://github.com/rstudio/blogdown.
Reproducibility
## Reproducibility info
options(width = 120)
session_info()
## Session info ----------------------------------------------------------------------------------------------------------
## setting value
## version R version 3.4.2 (2017-09-28)
## system x86_64, mingw32
## ui RTerm
## language (EN)
## collate English_United States.1252
## tz America/New_York
## date 2018-03-07
## Packages --------------------------------------------------------------------------------------------------------------
## package * version date source
## backports 1.1.2 2017-12-13 CRAN (R 3.4.3)
## base * 3.4.2 2017-09-28 local
## bibtex 0.4.2 2017-06-30 CRAN (R 3.4.2)
## BiocStyle * 2.6.1 2017-11-30 Bioconductor
## blogdown 0.5.7 2018-03-07 Github (lcolladotor/blogdown@7b8761b)
## bookdown 0.7 2018-02-18 CRAN (R 3.4.3)
## compiler 3.4.2 2017-09-28 local
## datasets * 3.4.2 2017-09-28 local
## devtools * 1.13.5 2018-02-18 CRAN (R 3.4.3)
## digest 0.6.15 2018-01-28 CRAN (R 3.4.3)
## evaluate 0.10.1 2017-06-24 CRAN (R 3.4.2)
## graphics * 3.4.2 2017-09-28 local
## grDevices * 3.4.2 2017-09-28 local
## htmltools 0.3.6 2017-04-28 CRAN (R 3.4.2)
## httr 1.3.1 2017-08-20 CRAN (R 3.4.2)
## jsonlite 1.5 2017-06-01 CRAN (R 3.4.2)
## knitcitations * 1.0.8 2017-07-04 CRAN (R 3.4.2)
## knitr 1.20 2018-02-20 CRAN (R 3.4.3)
## lubridate 1.7.2 2018-02-06 CRAN (R 3.4.3)
## magrittr 1.5 2014-11-22 CRAN (R 3.4.2)
## memoise 1.1.0 2017-04-21 CRAN (R 3.4.2)
## methods * 3.4.2 2017-09-28 local
## plyr 1.8.4 2016-06-08 CRAN (R 3.4.2)
## R6 2.2.2 2017-06-17 CRAN (R 3.4.2)
## Rcpp 0.12.15 2018-01-20 CRAN (R 3.4.3)
## RefManageR 0.14.20 2017-08-17 CRAN (R 3.4.2)
## rmarkdown 1.9 2018-03-01 CRAN (R 3.4.3)
## rprojroot 1.3-2 2018-01-03 CRAN (R 3.4.3)
## stats * 3.4.2 2017-09-28 local
## stringi 1.1.6 2017-11-17 CRAN (R 3.4.2)
## stringr 1.3.0 2018-02-19 CRAN (R 3.4.3)
## tools 3.4.2 2017-09-28 local
## utils * 3.4.2 2017-09-28 local
## withr 2.1.1 2017-12-19 CRAN (R 3.4.3)
## xfun 0.1 2018-01-22 CRAN (R 3.4.3)
## xml2 1.2.0 2018-01-24 CRAN (R 3.4.3)
## yaml 2.1.17 2018-02-27 CRAN (R 3.4.3)
Thanks for visiting r-craft.org
This article is originally published at http://LieberInstitute.github.io/rstatsclub/
Please visit source website for post related comments.