Package 'dkustats101'

Title: Course Materials and Tools for DKU STATS 101
Description: Provides lab templates, class activity templates, datasets, and helper functions for STATS 101.
Authors: Jingyu Wang [aut, cre], Andrew MacDonald [aut, ctb]
Maintainer: Jingyu Wang <[email protected]>
License: MIT + file LICENSE
Version: 0.1.0
Built: 2026-10-26 13:34:52 UTC
Source: https://github.com/wjingyu066/dkustats101

Help Index


Copy an activity folder to a selected folder

Description

Copy an activity folder to a selected folder

Usage

use_activity(id, destdir = NULL, overwrite = FALSE, open = TRUE)

Arguments

id

Activity ID, such as "1.2", "3.4", "final", or "final class".

destdir

Destination directory. If NULL, students will be asked to choose a folder in RStudio.

overwrite

If TRUE, overwrite an existing folder with the same name.

open

If TRUE, try to open the copied .qmd file in RStudio.

Value

Invisibly returns the path to the copied folder.


Copy a lab folder to a selected folder

Description

Copy a lab folder to a selected folder

Usage

use_lab(id, destdir = NULL, overwrite = FALSE, open = TRUE)

Arguments

id

Lab ID, such as "1.2" or "2.1".

destdir

Destination directory. If NULL, students will be asked to choose a folder in RStudio.

overwrite

If TRUE, overwrite an existing folder with the same name.

open

If TRUE, try to open the copied .qmd file in RStudio.

Value

Invisibly returns the path to the copied folder.


Copy a lecture folder to a selected folder

Description

Copy a lecture folder to a selected folder

Usage

use_lecture(id, destdir = NULL, overwrite = FALSE, open = TRUE)

Arguments

id

Lecture ID, such as "3.4" or "4.1".

destdir

Destination directory. If NULL, students will be asked to choose a folder in RStudio.

overwrite

If TRUE, overwrite an existing folder with the same name.

open

If TRUE, try to open the copied .qmd file in RStudio.

Value

Invisibly returns the path to the copied folder.