knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
Vignettes are long form documentation commonly included in packages. Because they are part of the distribution of the package, they need to be as compact as possible. The html_vignette
output type provides a custom style sheet (and tweaks some options) to ensure that the resulting html is as small as possible. The html_vignette
format:
First thing you gotta do is get an account. Go to earthdata.gov and get setup!
You have to be logged in and have a session if you want to do anything, silly! Thankfully there's a function for that.
# Fetches a token and saves it to a variable for later use token <- appeears_start_session(your_username, your_password)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.