findUserLocation: Find current course, module, and row

Description Usage Arguments Value

View source: R/swirl_HELPER.R

Description

Given the file path for user's progress file, this function returns a list containing the current course, module, and row of content for that user.

Usage

1
  findUserLocation(progress.file.path)

Arguments

progressFilePath

Complete file path for user's progress file

Value

currentLocation List containing current course directory name, course name, module, and row, respectively


ncarchedi/swirl_OLD documentation built on May 23, 2019, 1:05 p.m.