{"id":15384710,"url":"https://github.com/bblodfon/rtemps","last_synced_at":"2025-04-15T17:32:22.021Z","repository":{"id":54527306,"uuid":"241082711","full_name":"bblodfon/rtemps","owner":"bblodfon","description":"Rmarkdown + Bookdown templates for Reproducible Data Analyses","archived":false,"fork":false,"pushed_at":"2022-08-08T08:53:16.000Z","size":8527,"stargazers_count":32,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-23T01:49:14.782Z","etag":null,"topics":["r","r-templates","rmarkdown","rmarkdown-templates","rstudio"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/bblodfon.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}},"created_at":"2020-02-17T10:43:13.000Z","updated_at":"2024-08-25T14:01:27.000Z","dependencies_parsed_at":"2022-08-13T18:40:48.983Z","dependency_job_id":null,"html_url":"https://github.com/bblodfon/rtemps","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblodfon%2Frtemps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblodfon%2Frtemps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblodfon%2Frtemps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblodfon%2Frtemps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bblodfon","download_url":"https://codeload.github.com/bblodfon/rtemps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219874879,"owners_count":16554933,"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","r-templates","rmarkdown","rmarkdown-templates","rstudio"],"created_at":"2024-10-01T14:43:08.887Z","updated_at":"2024-10-01T14:43:20.305Z","avatar_url":"https://github.com/bblodfon.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rtemps\n\n\u003c!-- badges: start --\u003e\n[![R build status](https://github.com/bblodfon/rtemps/workflows/R-CMD-check/badge.svg)](https://github.com/bblodfon/rtemps/actions)\n[![CRAN status](https://www.r-pkg.org/badges/version/rtemps)](https://cran.r-project.org/package=rtemps)\n[![Downloads](https://cranlogs.r-pkg.org/badges/rtemps)](https://cran.r-project.org/package=rtemps)\n\u003c!-- badges: end --\u003e\n\nMy personal favourite `R` templates for doing reproducible data analyses.\n\n## Citation\n\nIf you want to acknowledge this work, cite it as:\n\nZobolas, J. (2020). Rtemps: R Templates for Reproducible Data Analyses. GitHub Repository. Retrieved from https://github.com/bblodfon/rtemps\n\nBibTeX citation:\n```\n@misc{rtemps,\nauthor = {Zobolas, John},\nbooktitle = {GitHub repository},\npublisher = {GitHub},\ntitle = {{Rtemps: R Templates for Reproducible Data Analyses}},\nurl = {https://github.com/bblodfon/rtemps},\nyear = {2020}\n}\n```\n\n## Available Themes\n\n- [United HTML Document](https://bblodfon.github.io/rtemps/united-html/united-html.html): a [bootstrap](https://bootswatch.com/united/)-based single [R Markdown](https://bookdown.org/yihui/rmarkdown/) document\n\n![](img/united.gif)\n\n- [Bookdown Lite](https://bblodfon.github.io/rtemps/bookdown-lite/docs/bookdown-lite.html): a single-paged [bookdown-based](https://bookdown.org/yihui/bookdown) document\n\n![](img/bookdown_lite.gif)\n\n## Install\n\nFrom CRAN:\n```r\ninstall.packages(\"rtemps\")\n```\n\nNote that the package imports among others the libraries [DT](https://rstudio.github.io/DT/), [ggplot2](https://github.com/tidyverse/ggplot2) and [xfun](https://github.com/yihui/xfun).\n\n## Usage\n\nOnce the templates are installed, you can use them in 2 ways:\n\n1. Within the templates in **RStudio** (highly advised - easiest way): \n  - `File` \u003e `New File` \u003e `R Markdown...` \u003e `From Template` (United HTML Theme)\n  - `File` \u003e `New Project...` \u003e `New Directory` \u003e `Bookdown Lite project` (Bookdown Lite Theme)\n2. By calling the `create_rtemp()` function which allows you to create a new directory with all the template files inside, ready to be used/rendered.\n\n## Notes\n\n### United HTML Theme\n\n- To create and render the template from an R session, run:\n\n```r\nrtemps::create_rtemp(dirname = \"new-dir\", template = \"united_html\")\nrmarkdown::render(input = \"new-dir/index.Rmd\", output_format = \"html_document\", output_dir = \"new-dir\")\n```\n\n### Bookdown Lite Theme\n\n- To create and render the template from the command line, run:\n\n```bash\nRscript -e \"rtemps::create_rtemp(dirname = 'new-dir', template = 'bookdown_lite')\"\ncd new-dir\n./_build.sh\n```\n\n- The output of the *Bookdown Lite* theme is placed under a `docs` directory, so that it can easily be rendered with [GitHub Pages](https://help.github.com/en/github/working-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site).\n- The *Bookdown Lite* can be easily converted to a **multi-paged document** by configuring the `split_by` property in the `_output.yml` template file ([check the doc](https://bookdown.org/yihui/bookdown/html.html#gitbook-style)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbblodfon%2Frtemps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbblodfon%2Frtemps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbblodfon%2Frtemps/lists"}