From f229466568ac7b026698724f00ceeac4dadecbd9 Mon Sep 17 00:00:00 2001 From: Paul Stevenson <39392144+pgstevenson@users.noreply.github.com> Date: Thu, 23 Aug 2018 17:02:55 +0800 Subject: [PATCH] removed README.Rmd --- .Rbuildignore | 6 ++++++ .Rprofile | 45 +++++++++++++++++++++++++++++++++++++++++++++ .gitignore | 10 ++++++++++ README.Rmd | 47 ----------------------------------------------- 4 files changed, 61 insertions(+), 47 deletions(-) create mode 100644 .Rbuildignore create mode 100644 .Rprofile create mode 100644 .gitignore delete mode 100644 README.Rmd diff --git a/.Rbuildignore b/.Rbuildignore new file mode 100644 index 0000000..cb92802 --- /dev/null +++ b/.Rbuildignore @@ -0,0 +1,6 @@ +^.*\.Rproj$ +^\.Rproj\.user$ +^README\.Rmd$ +^data-raw$ +^archive$ +^\.git$ diff --git a/.Rprofile b/.Rprofile new file mode 100644 index 0000000..553015f --- /dev/null +++ b/.Rprofile @@ -0,0 +1,45 @@ +# Telethon Kids Institute custom .Rprofile script +# see https://www.statmethods.net/interface/customizing.html +# Template v1.0 created by Paul Stevenson 17-May-2018 + +# Set default CRAN repository +# local({r <- getOption("repos") +# r["CRAN"] <- "https://cran.curtin.edu.au/" +# options(repos=r)}) + +# Things you might want to change +options(papersize="a4") +# options(editor="notepad") +# options(pager="internal") + +# R interactive prompt +# options(prompt="> ") +# options(continue="+ ") + +# to prefer Compiled HTML +# help options(chmhelp=TRUE) +# to prefer HTML help +options(htmlhelp = TRUE) + +# General options +options(tab.width = 2) +options(width = 130) +options(graphics.record=TRUE) + +.First <- function(){ + library(stats) + library(reshape2) + library(plyr) + library(tidyverse) + library(lubridate) + library(ProjectTemplate) + library(repmis) + cat("\nWelcome -", date(), "\n") +} + +.Last <- function(){ + cat("\nGoodbye at ", date(), "\n") +} + +# Custom mappings +h <- utils::head \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..67498df --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +.Rproj.user +.Rhistory +.RData +.Ruserdata +README.Rmd + +# Ignore data files +/archive +/data-raw +inst/doc diff --git a/README.Rmd b/README.Rmd deleted file mode 100644 index 265cf86..0000000 --- a/README.Rmd +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: "Telethon Kids Institute R markdown templates" -output: github_document ---- - - - -A pair of templates have been created that incorporate styling themes present throughout Telethon Kid’s style guide, web page and template documents. Currently, templates are available to produce stand-alone HTML reports and ioslides presentations. These templates also include colour palates that will automatically reproduce Telethon Kids style in R graphics. A number of helper functions and data-sets are also available. - -## Getting started - -### Installing - -The Telethon Kids Institute biometrics package can be installed with: - - devtools::install_github("TelethonKids/biometrics", build_vignettes = TRUE) - -### Creating an new document - -Once the *biometrics* package has been installed, the templates can be accessed through the *New -> R markdown -> From template* menu. - -## Using the template - -Both templates have been created with R markdown and the normal syntax should be followed. Some specific instructions and examples are included in default documents. A cheat-sheet explaining how to use markdown in R has been prepared by [R Studio](https://www.rstudio.com/resources/cheatsheets/). - -
- - -
- -## Authors - -**Paul Stevenson** - *Initial development* - [pgstevenson](https://github.com/pgstevenson) - -## License - -This project is licensed under the GNU General Public License - see the [LICENSE](LICENSE) file for details. - -## About Telethon Kids Institute - -The Telethon Kids Institute is based within the Perth Children’s Hospital, and is one of the largest, and most successful medical research institutes in Australia, comprising a dedicated and diverse team of more than 700 staff and students. - -We've created a bold blueprint that brings together community, researchers, practitioners, policy makers and funders, who share our vision to improve the health and wellbeing of children through excellence in research. - -The Institute is headed by leading paediatrician and infectious diseases expert Professor Jonathan Carapetis AM, with Founding Director Professor Fiona Stanley AC now Patron. Telethon Kids is independent and not-for-profit. - -