{"id":13474871,"url":"https://github.com/swirldev/swirl","last_synced_at":"2025-05-15T18:06:19.011Z","repository":{"id":39874818,"uuid":"13523710","full_name":"swirldev/swirl","owner":"swirldev","description":":cyclone: Learn R, in R.","archived":false,"fork":false,"pushed_at":"2023-10-27T18:00:31.000Z","size":1556,"stargazers_count":1162,"open_issues_count":315,"forks_count":597,"subscribers_count":113,"default_branch":"master","last_synced_at":"2025-04-07T23:07:11.903Z","etag":null,"topics":["r"],"latest_commit_sha":null,"homepage":"http://swirlstats.com","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swirldev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2013-10-12T15:15:54.000Z","updated_at":"2025-04-07T17:26:39.000Z","dependencies_parsed_at":"2024-01-07T12:54:47.971Z","dependency_job_id":"307e68ea-4d0e-4ab3-b228-1b0fd29c6ee5","html_url":"https://github.com/swirldev/swirl","commit_stats":{"total_commits":626,"total_committers":17,"mean_commits":36.8235294117647,"dds":0.5383386581469649,"last_synced_commit":"25938d2ba2f1d00c50c1a1dece19623648f796cf"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swirldev%2Fswirl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swirldev%2Fswirl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swirldev%2Fswirl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swirldev%2Fswirl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swirldev","download_url":"https://codeload.github.com/swirldev/swirl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254394719,"owners_count":22063984,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["r"],"created_at":"2024-07-31T16:01:15.552Z","updated_at":"2025-05-15T18:06:18.976Z","avatar_url":"https://github.com/swirldev.png","language":"R","funding_links":[],"categories":["R","Table of Contents","Workshoppers","Content"],"sub_categories":["Learning materials","R-Package Links"],"readme":"# swirl\n\n[![Build Status](https://travis-ci.org/swirldev/swirl.png?branch=master)](https://travis-ci.org/swirldev/swirl)\n[![CRAN version](http://www.r-pkg.org/badges/version/swirl?color=3399ff)](https://cran.r-project.org/package=swirl)\n[![Downloads](http://cranlogs.r-pkg.org/badges/swirl?color=3399ff)](http://cran-logs.rstudio.com/)\n\n### [http://swirlstats.com](http://swirlstats.com)\n\nswirl is a platform for learning (and teaching) statistics and R simultaneously \nand interactively. It presents a choice of course lessons and interactively \ntutors a student through them. A student may be asked to watch a video, to answer a \nmultiple-choice or fill-in-the-blanks question, or to enter a command in the R \nconsole precisely as if he or she were using R in practice. Emphasis is on the \nlast, interacting with the R console. User responses are tested for correctness \nand hints are given if appropriate. Progress is automatically saved so that a \nuser may quit at any time and later resume without losing work.\n\nswirl leans heavily on exercising a student's use of the R console. A callback \nmechanism, suggested and first demonstrated for the purpose by Hadley Wickham, \nis used to capture student input and to provide immediate feedback relevant to \nthe course material at hand.\n\n[swirlify](https://github.com/swirldev/swirlify) is a separate R package that \nprovides a comprehensive toolbox for swirl instructors. Content is authored in \n[YAML](http://en.wikipedia.org/wiki/YAML) using the handy tools described on \nthe [instructors page](http://swirlstats.com/instructors.html) of our website.\n\nThe program is initiated with `swirl()`. Functions which control swirl's \nbehavior include `bye()` to quit, `skip()` to skip a question, `main()` to \nreturn to the main menu, `play()` to allow experimentation in the R console \nwithout interference from swirl, `nxt()` to resume interacting with swirl, and \n`info()` to display a help menu.\n\n\n## Installing swirl (from CRAN)\n\nThe easiest way to install and run swirl is by typing the following from the R console:\n\n```\ninstall.packages(\"swirl\")\nlibrary(swirl)\nswirl()\n```\n\nAs we continue adding new features and content, we will make new versions \navailable on CRAN as appropriate (every 1-2 months, most likely).\n\n## Installing the latest development version (from GitHub)\n\nTo access the most recent features and content, you can install and run the \ndevelopment version of swirl using the [devtools](https://github.com/hadley/devtools) package:\n\n```\ninstall.packages(\"devtools\")\ndevtools::install_github(\"swirldev/swirl\", ref = \"dev\")\nlibrary(swirl)\nswirl()\n```\n\n## Contributing to swirl's development\n\nIf you'd like to get involved, please fork this repository and submit a pull \nrequest with your proposed changes. We're happy to chat if you have any \nquestions about the source code.\n\n## Using swirl in the classroom\n\nInstructors around the world are using swirl in their classrooms. We think this\nis awesome. If you're an instructor, please feel free to do the same -- free of\ncharge. While your students may be paying to take your course or attend your \ninstitution, we simply ask that you don't charge people *directly* for the use \nof our software or instructional content.\n\nIf you are not sure about a particular use case, don't hesitate to send us an \nemail at info@swirlstats.com.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswirldev%2Fswirl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswirldev%2Fswirl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswirldev%2Fswirl/lists"}