Skip to content

Commit

Permalink
added docs for swirl_options
Browse files Browse the repository at this point in the history
  • Loading branch information
seankross committed Feb 17, 2016
1 parent 9fb3c2d commit 0e0ad5d
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: Use the R console as an interactive learning
environment. Users receive immediate feedback as they are guided through
self-paced lessons in data science and R programming.
URL: http://swirlstats.com
Version: 2.3.1.9008
Version: 2.3.1.9009
License: MIT + file LICENSE
Authors@R: c(
person("Sean", "Kross", email = "[email protected]", role = c("aut", "cre")),
Expand Down
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export(select_language)
export(skip)
export(submit)
export(swirl)
export(swirl_options)
export(uninstall_all_courses)
export(uninstall_course)
export(zip_course)
Expand All @@ -40,6 +41,7 @@ importFrom(stringr,str_detect)
importFrom(stringr,str_extract)
importFrom(stringr,str_length)
importFrom(stringr,str_locate)
importFrom(stringr,str_match)
importFrom(stringr,str_split)
importFrom(stringr,str_split_fixed)
importFrom(stringr,str_trim)
Expand Down
2 changes: 1 addition & 1 deletion R/install_course.R
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ uninstall_all_courses <- function(force = FALSE){
}
if(file.exists(path)){
if(!force){
swirl:::swirl_out(s()%N%"Are you sure you want to uninstall all swirl courses?",
swirl_out(s()%N%"Are you sure you want to uninstall all swirl courses?",
s()%N%"This will delete all of the contents of your swirl course directory.")
selection <- select.list(c("Yes", "No"))
if(selection == "Yes"){
Expand Down
2 changes: 2 additions & 0 deletions R/options.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ swirl_courses_dir <- function(){
#' This function is a wrapper for \code{options()} that allows the user to
#' see the state of how certain options for swirl are set up.
#'
#' @param ... any options can be defined, using name = value.
#'
#' @export
#' @examples
#' \dontrun{
Expand Down
2 changes: 1 addition & 1 deletion man/select_language.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions man/swirl_options.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0e0ad5d

Please sign in to comment.