knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
library(emo)

wedding

R-CMD-check Lifecycle: experimental

{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")

Demo

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.

Highlights

Meaning of the tabs

knitr::include_graphics("man/figures/seating-plan-page.png")

Data

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:

RSVP feature

2 types of features are proposed here :

knitr::include_graphics("man/figures/rsvp_list.png")
knitr::include_graphics("man/figures/rsvp_text.png")


To use the non pre-filled list and the free text zone:

Sys.setenv(USE_PREFILLED_DATA_GUEST = "no")

Run the demo app from RStudio Cloud

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()


ThinkR-open/wedding documentation built on April 4, 2022, 5:11 a.m.