Monash
A utility R-package with consolidated tools and templates for staffs at Monash University
Install / Use
/learn @numbats/MonashREADME
Please visit https://github.com/quarto-monash for latest versions of templates
monash
<!-- badges: start --> <!-- badges: end -->The monash R-package is a utility package with consolidated tools and
templates for staffs at Monash University. The package contains three
primary themes:
- workflow: automating repetitive tasks, particularly teaching related activities;
- template: Monash branded R Markdown templates for teaching, presentation, etc; and
- data: easy access to relevant information (may require access privileges).
Installation
You can install monash R-package as below:
# install.packages("remotes")
remotes::install_github("numbats/monash")
Create a quarto article
library(monash)
quarto_template_use("report", dir = "myreport")
quarto_template_install("workingpaper")
quarto_template_add("thesis")
Get Monash logo
You can get a copy of the logo into the directory you wish with below.
# default logo
monash::logo_get(path = "man/figures")
#> ✔ The 'monash-stacked-blue-rgb.png' is now in 'man/figures/'
#> man/figures/monash-stacked-blue-rgb.png
# black and white & one-line version of the logo
monash::logo_get(path = "man/figures", color = "black", stack = FALSE, filename = "monash-logo-black.png")
#> ✔ The 'monash-logo-black.png' is now in 'man/figures/'
#> man/figures/monash-logo-black.png
And then you can reference the logo file that you copied.

Get Monash brand colors
These are handy commands to quickly see Monash brand colors and be able to copy-and-paste the hex color codes.
monash::color_show()
<img src="man/figures/README-unnamed-chunk-2-1.png" width="100%" />
#> blue black white gray80 gray50 gray10 blue purple
#> "#006DAE" "#000000" "#FFFFFF" "#5A5A5A" "#969696" "#E6E6E6" "#027EB6" "#746FB2"
#> fuchsia ruby pink red orange umber olive green
#> "#9651A0" "#C8008F" "#ee64a4" "#EE0220" "#D93F00" "#795549" "#6F7C4D" "#008A25"
Settings
(WIP) The monash package makes use of some values, listed below, from
your R profile. You can modify this by using usethis::edit_r_profile()
and adding below with values modified to your own values.
options(monash.full_name = "Emi Tanaka",
monash.email = "emi.tanaka@monash.edu",
monash.orgunit = "Department of Econometrics and Business Statistics",
monash.teaching_dir = "~/teaching/monash/",
monash.workshop_dir = "~/workshop/")
Administration
You can create a travel diary with the
create_simple_travel_diary() |> render_travel_diary() workflow.
Teaching
(WIP) create_teaching_directory("ETCXXXX") would create a skeleton
directory with folder and file structure below for development of
teaching material. What is the advantage of this structure? It’s
designed to be synced with a private github repository and the materials
in the release folder are automatically pushed using Github
Repository to the public github repository for public release. The
website associated with it will be also be built automatically as well.
The website format will closely resemble ETC5512: Wild-Caught
Data.
(WIP) release_tutorial(1) moves tutorial-01.html (and .Rmd) to the
appropriate place in the release folder.
(WIP) Tutorial, slides and other templates for teaching.
├── ETCXXXX.Rproj
├── .git
├── data
│ └── data01.csv
├── lectures
│ ├── assets
│ │ ├── monash-brand.css
│ │ └── monash-font.css
│ ├── images
│ │ ├── lecture-01-image01.png
│ │ └── lecture-02-image01.png
│ ├── lecture-01.Rmd
│ ├── lecture-02.Rmd
│ └── lecture-03.Rmd
├── tutorials
│ ├── images
│ │ ├── tutorial-01-image01.png
│ │ └── tutorial-02-image01.png
│ ├── tutorial-01.Rmd
├── assessments
│ ├── assignment-01.Rmd
│ └── quiz-01.Rmd
├── release # for public release
│ ├── site
│ │ └── _site.yml
│ ├── data
│ ├── lectures
│ ├── tutorials
Related Skills
node-connect
352.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
