tutor_open: Open a specified tutorial file contained within the package

Description Usage Arguments Details

View source: R/tutor_open.R

Description

This function identifies where on your local hard drive the dayoff package is located. It then locates the tutorials folder and opens the specified tutorial using rstudioapi::navigateToFile NOTE: The function system() has similar functionality as navigateToFile() but seems to behave differ

Usage

1
tutor_open(tutorial = NULL)

Arguments

tutorial

name of tutorial to open as a quotes string. Defaults to NULL and opens up a sample tutorial.

Details

TO DO: Add a call to file.exists() Add an argument for running the function but not exectuting the opening of the file (Eg, just doing file.exists). This might make testing easier.


brouwern/dayoff documentation built on Nov. 4, 2019, 8:15 a.m.