knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" ) library(emo)
{wedding} helps you to prepare and manage your wedding r emo::ji("bride_with_veil")``r emo::ji("bride_with_veil")
- r emo::ji("bride_with_veil")``r emo::ji("man_in_tuxedo")
- r emo::ji("man_in_tuxedo")``r emo::ji("man_in_tuxedo")
An example of the app is available here: http://connect.thinkr.fr/wedding
Login to access the app: welcome
Password to access the app: bigday
Password to access the tab dedicated to brides/grooms: onlyforbride
knitr::include_graphics("man/figures/home-page.png")
You will find below how to run this demo app from RStudio Cloud.
{ggplot2}
seating plan)knitr::include_graphics("man/figures/seating-plan-page.png")
The application is based on two datasets stored on Google Drive. They will be updated according to the user's navigation in the app.
knitr::include_graphics("man/figures/data-examples.png")
Structure of the datasets can be explored with:
# Install and load {wedding} package # install.packages("remotes") remotes::install_github("ThinkR-open/wedding") library(wedding) # View data_expenses data("data_expenses_example") data_expenses_example # View data_guests data("data_guests_example") data_guests_example
Raw toy datasets can be accessed directly here:
2 types of features are proposed here :
knitr::include_graphics("man/figures/rsvp_list.png")
knitr::include_graphics("man/figures/rsvp_text.png")
Sys.setenv(USE_PREFILLED_DATA_GUEST = "no")
{wedding}
remotes::install_github("ThinkR-open/wedding")
Sys.setenv(GOOGLE_MAIL = "wedding.r.package@gmail.com") # Replace wedding.r.package@gmail.com by your gmail adress Sys.setenv(LOGIN_USER = "welcome") Sys.setenv(PWD_USER = "bigday") Sys.setenv(PWD_COUPLE = "onlyforbride") Sys.setenv(IMG_BACKGROUND = "wedding-background-demo-compressed.jpg")
# install.packages(c("gargle", "googledrive")) options(gargle_oauth_cache = ".secrets") options(gargle_quiet = FALSE) googledrive::drive_auth(cache = ".secrets", email = Sys.getenv("GOOGLE_MAIL"))
wedding::run_app()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.