README.md

wedding

R-CMD-check Lifecycle:
experimental

{wedding} helps you to prepare and manage your wedding 👰👰 - 👰🤵 - 🤵🤵

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

You will find below how to run this demo app from RStudio Cloud.

Highlights

Meaning of the tabs

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.

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 :

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.