Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

inSilecoInc/insilecoRworkshops

Repository files navigation

insilecoRworkshops

R build status

Lifecycle: superseded

SEE https://github.com/inSilecoInc/iseWorkshops

insilecoRworkshops R 📦 is meant to ease the development and edition of the inSileco R workshops (mainly templates). This project is an adaptation of qcbsRworkshops for workshops developed by inSileco.

Installation

You can install the development version of insilecoRworkshops with remotes 📦:

install.packages("remotes")
remotes::install_github("inSilecoInc/insilecoRworkshops")

Once installed, you can load the package:

library(insilecoRworkshops)

How to

🚧 🚧 🚧

Build workshops

There are two options:

  1. the sources of the workshop are already in your computer, then use:
# if the workshop folder is the current directory (preferred), then use
build_workshops()
# if the path to the workshop folder is "path2workshop", then use
build_workshops("path2workshop")
  1. the sources of a the workshop must be downloaded, in such case a zip file will be downloaded:
build_workshops(download = TRUE, id = 1)

Clean workshops

To clean up cache and files created during the build of the workshop (the slides), use

# if the workshop folder is the current directory (preferred), then use
clean_workshops()
# if the path to the workshop folder is "path2workshop", then use
build_workshops("path2workshop")

Update template

To update the template (see https://github.com/QCBSRworkshops/templateWorkshops), use

# if the workshop folder is the current directory (preferred), then use
update_template()
# if the path to the workshop folder is "path2workshop", then use
update_template("path2workshop")

Extract R code

knitr provides a nice function that extract R code from all code chunk and this 📦 has a wrapper to extract the code for all the workshops in your working directory.

extract_Rcode_workshops("path2workshop")

Presenter email

mail_workshop() generates emails te be sent to participants ~2 weeks before the workshop. Just add your name and the details and an email will be generated that you can copy-paste.

mail_workshop(7, pres_name = "Kevin Cazelles", lang = "both",
   details_fr = "à l'UdeM, salle A-2553, campus MIL, le vendredi 28 Février 2020 de 13h à 17h",
   details_en = "at the UdeM, MIL campus, room A-2553, on Friday February 28th 2020, 1pm-5pm"
)

Contributor Code of Conduct

Please note that the 'qcbsRworkshops' project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages