## Use this desc to set {golem} options
golem::set_golem_options()
## 1.2 - Set common Files
##
## If you want to use the MIT license, README, code of conduct, lifecycle badge, and news
usethis::use_mit_license( name = "MIT" ) # You can set another license here
usethis::use_readme_rmd( open = TRUE )
usethis::use_code_of_conduct()
usethis::use_lifecycle_badge( "Experimental" )
usethis::use_news_md( open = FALSE )
usethis::use_git()
## 1.3 - Add a data-raw folder
##
## If you have data in your package
usethis::use_data_raw( name = "xetra", open = TRUE )
## 1.4 - Init Tests
##
## Create a template for tests
golem::use_recommended_tests()
## 1.5 : Use Recommended Package
golem::use_recommended_deps(recommended = c('shiny',
'attempt',
'glue',
'processx',
'htmltools',
'arrow',
'quantmod',
'tidyquant',
'stringr',
'purrr',
'gt',
'ggplot2',
'plotly',
'highcharter',
'data.table',
'dplyr',
'tidyr',
'golem'))
## 1.6 Add various tools
# If you want to change the favicon (default is golem's one)
golem::remove_favicon()
golem::use_favicon() # path = "path/to/ico". Can be an online file.
# Add helper functions
golem::use_utils_ui()
golem::use_utils_server()
# You're now set!
# go to dev/02_dev.R
rstudioapi::navigateToFile( "dev/02_dev.R" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.