library("workflowr")
wflow_start("~/Documents/workflows/Sheffield_R_users/workflowr-example-project")
Project "workflowr-example-project" started in /Users/Anna/Documents/workflows/Sheffield_R_users/workflowr-example-project
Git repository initialized.
TIP: Head to the project folder, nicer to work from there
wflow_build()
Building analysis/about.Rmd
Building analysis/index.Rmd
Building analysis/license.Rmd
Summary from wflow_build
Settings:
seed: 12345, make: TRUE
The following were built externally each in their own fresh R session:
docs/about.html
docs/index.html
docs/license.html
Log files saved in /tmp/workflowr
wflow_view()
wflow_status()
Status of 3 files
Totals:
3 Unpublished
The following files require attention:
Unp analysis/about.Rmd
Unp analysis/index.Rmd
Unp analysis/license.Rmd
Key: Unp = Unpublished
To publish your changes as part of your website, use `wflow_publish()`.
To commit your changes without publishing them yet, use `wflow_commit()`.
wflow_publish(c("analysis/index.Rmd", "analysis/about.Rmd", "analysis/license.Rmd"),
"Publish the initial files for project")
git remote add origin https://github.com/annakrystalli/workflowr-example-project.git
git push -u origin master
Branch master set up to track remote branch master from origin.
To https://github.com/annakrystalli/workflowr-example-project.git
* [new branch] master -> master
gh-pages
wflow_open("first-analysis.Rmd")
Current working directory changed to: analysis