install_course_directory: Install a course from a course directory

Description Usage Arguments See Also Examples

View source: R/install_course.R

Description

Install a course from a course directory

Usage

1

Arguments

path

The path to the course directory.

See Also

Other InstallCourses: InstallCourses, install_course_dropbox(), install_course_github(), install_course_google_drive(), install_course_url(), install_course_zip(), install_course(), install_from_swirl(), uninstall_all_courses(), uninstall_course(), zip_course()

Examples

1
2
3
4
5
## Not run: 

install_course_directory("~/Desktop/my_course")

## End(Not run)

Example output

| Hi! Type swirl() when you are ready to begin.


| Course installation failed.

Warning message:
In file.copy(path, swirl_courses_dir(), recursive = TRUE) :
  problem creating directory /home/anon/Desktop/my_course: Permission denied

swirl documentation built on Jan. 16, 2020, 5:03 p.m.