Skip to content

Commit

Permalink
added german_formal
Browse files Browse the repository at this point in the history
  • Loading branch information
seankross committed Dec 13, 2016
1 parent 510de5b commit 58e4666
Show file tree
Hide file tree
Showing 4 changed files with 5 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.4.2
Version: 2.4.2.9001
License: MIT + file LICENSE
Authors@R: c(
person("Sean", "Kross", email = "[email protected]", role = c("aut", "cre")),
Expand Down
6 changes: 4 additions & 2 deletions R/languages.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
swirl_language <- function(){
lang <- getOption("swirl_language")
langs <- c("chinese_simplified", "english", "french", "german", "korean",
langs <- c("chinese_simplified", "dutch", "english",
"french", "german", "german_formal", "korean", "portuguese",
"spanish", "turkish")

if(is.null(lang) || !(lang %in% langs)){
Expand All @@ -25,7 +26,8 @@ swirl_language <- function(){
#'
#' @export
select_language <- function(language = NULL, append_rprofile = FALSE){
langs <- c("chinese_simplified", "english", "french", "german", "korean",
langs <- c("chinese_simplified", "dutch", "english",
"french", "german", "german_formal", "korean", "portuguese",
"spanish", "turkish")
if(is.null(language)){
selection <- select.list(langs)
Expand Down
Binary file modified R/sysdata.rda
Binary file not shown.
Binary file modified revdep/checks.rds
Binary file not shown.

0 comments on commit 58e4666

Please sign in to comment.