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

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.