install_course {swirl} | R Documentation |
Install a course from The swirl Course Network or install a course from a local .swc file.
Description
Version 2.4 of swirl introduces a new, simple, and fast way of installing
courses in the form of .swc
files. This function allows a user to grab
a .swc
file from The swirl Course Network which is maintained by Team
swirl, or the user can use this function to install a local .swc
file.
When using this function please only provide an argument for either
course_name
or swc_path
, never both.
Usage
install_course(course_name = NULL, swc_path = NULL, force = FALSE)
Arguments
course_name |
The name of the course you wish to install. |
swc_path |
The path to a local |
force |
Should course installation be forced? The
default value is |
See Also
Other InstallCourses:
InstallCourses
,
install_course_directory()
,
install_course_dropbox()
,
install_course_github()
,
install_course_google_drive()
,
install_course_url()
,
install_course_zip()
,
install_from_swirl()
,
uninstall_all_courses()
,
uninstall_course()
,
zip_course()
Examples
## Not run:
# Install the latest version of Team swirl's R Programming course.
install_course("R Programming")
# Install a local .swc file by using your mouse and keyboard to select the
# file.
install_course()
# Install a .swc file from a specific path.
install_course(swc_path = file.path("~", "Downloads", "R_Programming.swc"))
## End(Not run)