open_exercise: Open exercise file.

View source: R/utils.R

open_exerciseR Documentation

Open exercise file.

Description

Call this function with the session number as argument and the exercise file will be copied in the working directory and opened in the editor.

Usage

open_exercise(session)

Arguments

session

Session number as a number.

Details

The following sessions have exercises:

- Session 03.

- Session 06.

- Session 08.

You can also open a fully worked-out analysis with 'open_exercise("full")'

Value

Nothing. Used for its side effects.

Examples

## Not run: 
open_exercise(3)

open_exercise("full")

## End(Not run)
# The exercise of Session 03 will open for editing.

stefanocoretta/bayes.handson documentation built on Oct. 3, 2023, 11:03 p.m.