knitr::opts_chunk$set(echo = TRUE, error = FALSE, message = FALSE, warning = FALSE)
Goal:
Data:
Method:
library(deseRt) dt_library(citr, here, kableExtra, knitr, raster, RefManageR, sf, viridis, dplyr, ggplot2)
Plot theme
theme_set(theme_desert())
Coordinate Reference System
bob <- deseRt::tidy_session()
R Version: r bob$rversion
Nickname: r bob$rnickname
Operating System: r bob$os
bob$packages %>% arrange(Package) %>% select(Package, Version, Maintainer, URL) %>% mutate(Maintainer = gsub(pattern = " <.*>$", replacement = "", Maintainer), URL = if_else(is.na(URL), URL, dt_href(URL, sep = ",\\s+"))) %>% kable(row.names = FALSE, escape = FALSE) %>% kable_styling(full_width = TRUE, position = "left") %>% column_spec(4, width = "12em")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.