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

daily

The {daily} package converts "daily files" into various calendar formats. The primary use case is preparing a calendar to accompany a course built from a file that can include, in addition to the information displayed on the calendar, other notes for the intstructor.

See the package vignette for details about daily file syntax and various rendering options.

Installation

You can install from GitHub with:

# install.packages("devtools")
devtools::install_github("rpruim/daily")

Example

library(daily)
library(dplyr)
calendar_css() %>% cat()
cal <-
  daily2cal(
    path  = system.file("daily.txt", package = "daily")
  ) 
cal %>%
  html_calendar(show = 2:6) %>% cat()
daily2html(
  path  = system.file("daily.txt", package = "daily"),
  show = 2:6
) %>%
  cat()


rpruim/calendar documentation built on April 24, 2023, 8:41 a.m.