Bot releases are hidden (Show)
warnPartialMatchArgs=TRUE
. (#779)Published by seankross over 5 years ago
Published by seankross over 7 years ago
Added "swirl_is_fun" option to swirl_options()
.
Added Portuguese menu translations.
Published by seankross over 8 years ago
Published by seankross over 8 years ago
calculates_same_value()
.Published by seankross over 8 years ago
select_language()
.install_course()
in order to install swirl courses that areswirl_options()
.swirl_options()
.swirlify::demo_lesson()
.Published by ncarchedi almost 10 years ago
mirror
argument to install_from_swirl()
to accommodate installing courses from the Bitbucket mirror of our swirl-courses GitHub repository. (Prompted by India's blocking of GitHub.)rm()
command.Published by ncarchedi about 10 years ago
install_from_swirl()
that was causing install_from_swirl("R Programming")
to install both R Programming
and R Programming Alt
.Published by ncarchedi about 10 years ago
Published by ncarchedi about 10 years ago
?InstallCourses
, which gives a brief overview of installing swirl courses and includes links to all relevant help files.email_admin()
feature, which allows the user to automatically generate an email to be sent to [email protected]
. The email includes space for a description of the problem along with the output from sessionInfo()
.swirl()
in swirl.R, so that we can view the administrative environment e
with as.list(e)
without complaint from R.release()
.script
question type, which allows an instructor to present a preformatted R script to the user for editing and submission. swirl was originally designed for interactive programming at the prompt. It now accommodates multiline input, which allows for exploration of topics like writing functions and control structures, as well as more extended function calls.options(swirl_is_fun = FALSE)
.welcome.default()
, make sure the user doesn't put any special characters (using the [[:punct:]]
regex) in his or her name, as this might lead to an invalid file path for their user data. Thanks to @Sarpwus for bringing this to my attention.dev
argument to install_from_swirl()
to allow installation of courses in development from the swirl_misc repository.capture.output()
to avoid double printing due to second evaluation by safeEval()
when AUTO_DETECT_NEWVAR
is TRUE
.testit()
to functions for callback to ignore, so that swirl plays nicely with swirlify.mergeList
arguments in swirl.R
.Published by ncarchedi over 10 years ago
local=FALSE
from the initLesson.R file.?AnswerTests
.any_of_exprs()
to library of answer tests.Published by ncarchedi over 10 years ago
Published by ncarchedi over 10 years ago
packageStartupMessage()
that detects a cluttered workspace and warns the user that this may cause swirl to run slowly.main()
function, which allows user to return to the main menu while a lesson is in progress.which_course
argument to install_course_zip()
that will facilitate manual installation. In particular, if a student downloads a zip file from the swirl courses repo, it comes with all courses in it. This function will allow the user to install only those that she wants.skip()
count not reseting upon lesson completion.skip()
s a question.Published by ncarchedi over 10 years ago
install_from_swirl()
function.dependson.txt
in the lesson directory, which lists required packages one line at a time. This strategy is mainly for backwards compatibility and will take a different form for new content in future releases. When the user begins a lesson with package dependencies, swirl attempts to load each package in turn and prompts the user to automatically install any packages not found.answerTests.R.
utils::txtProgressBar()
.test
mode for compatibility with the swirlify package.rmd2df()
can finally handle figure
and video
units of instruction.Published by ncarchedi over 10 years ago
parse_content()
now parses content (at runtime) in its original form (R Markdown, YAML, etc.), making conversion to CSV files unnecessary. The appropriate parsing method is called based on the extension of the lesson file. Creating a new course authoring format is as simple as writing a new method for parse_content()
that accepts the content as input and returns a properly structured lesson
object.author_lesson()
function creates and opens a customized lesson template for authoring content.install_course_directory()
: Install a course from a course directoryinstall_course_dropbox()
: Install a course from a zipped course directory shared on Dropboxinstall_course_github()
: Install a course from a GitHub repositoryinstall_course_google_drive()
: Install a course from a zipped course directory shared on Google Driveinstall_course_url()
: Install a course from a url that points to a zip fileinstall_course_zip()
: Install a course from a zipped course folderuninstall_course()
: Uninstall a coursezip_course()
: Zip a course directoryPublished by ncarchedi almost 11 years ago
Published by ncarchedi almost 11 years ago
addTaskCallback()
as a mechanism to capture user input directly from the R prompt.info()
brings up a menu of options including bye()
, skip()
, play()
, and nxt()
.skip()
allows the user to skip the current question. swirl automatically evaluates the correct answer in the user's workspace in case future questions depend on the result.rmd2csv()
to create the CSV file from which swirl reads content. This is an experimental feature based on syntax employed by slidify, an R package designed by Ramnath Vaidyanathan for creating interactive web presentations.