knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) library(worcs)
The WORCS paper describes a workflow centered around 'GitHub', but there are several other cloud hosting services that offer similar functionality. This vignette describes the process of connecting a worcs
project to these other cloud hosting services. If you are missing your preferred cloud hosting service, please submit a pull request with a step-by-step tutorial for that service here.
The 'GitLab' website looks and feels almost identical to 'GitHub'. Steps 4 and 5 of the setup
vignette can be applied nearly without alterations. To connect worcs
to 'GitLab', I proceeded as follows:
worcs
project to 'GitLab'To create a new project on 'GitLab', go to your account page, and click the Create a project tile in the middle of the screen.
git clone https://gitlab.com/yourname/yourrepo.git
https://
to .git
.The 'Bitbucket' website has cosmetic differences from 'GitHub', but works similarly. Steps 4 and 5 of the setup
vignette can be applied nearly without alterations. To connect worcs
to 'Bitbucket', I proceeded as follows:
worcs
project to 'Bitbucket'To create a new project on 'Bitbucket', go to your account page, and click Create repository in the middle of the page. These steps differ somewhat from the procedure for 'GitHub':
worcs
project.git clone https://cjvanlissa@bitbucket.org/yourname/yourrepo.git
https://
to .git
.Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.