{"repo":"Public-Health-Scotland/phstemplates","free":true,"listed":false,"github":"https://github.com/Public-Health-Scotland/phstemplates","clone":"git clone https://github.com/Public-Health-Scotland/phstemplates.git","description":"Standard R templates and project structure for Public Health Scotland (https://public-health-scotland.github.io/phstemplates/)","language":"R","stars":22,"topics":["rmarkdown-template","rstudio","template","r-package","rmarkdown"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"phstemplates Contents - Installation - Making a new PHS project - Making a new PHS shiny app - Adding a PHS gitignore or CSS file - RMarkdown Templates - Quarto Templates Installation If you are working inside the PHS network, with R set up to install packages from the internal package manager repository (for example, if you are using R from Posit Workbench), you can install the package by running Otherwise, install the package from Github by running the following code in R: If you encounter any issues with the automatic installation of package dependencies using this method, you may need to install these manually prior to running the code to install phstemplates. In this case, it should tell you which packages you need. For example, if you need flextable and officer, install these first: Making a new PHS project To use this project template, install the package by following the instructions above. After doing this you will then be able to create new R projects with the recommended PHS structure within RStudio by clicking File -\\ New Project… -\\ New Directory and selecting PHS R Project Template Name the project and select a location for the project folder. The original author can also be input - this will automatically add the name to the top section of default scripts within the project. You can then edit the files and folders as appropriate, e.g. rename the R script files or create new sub-folders. The default files and folders contained within the project are described in","default_branch":null,"files":null,"tree":[],"storefront":"/r/Public-Health-Scotland","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Public-Health-Scotland/phstemplates/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}