Giter VIP home page Giter VIP logo

r-template's Introduction

r-template

Templated R Project skeleton with useful structure and packages

Initial Installation

  1. Install R via homebrew or CRAN.

  2. Just start R in the project directory and renv will begin setup! (Go grab a ☕ as this will take a while…)

  3. Install tidyverse and other dev dependencies with renv::install().

Dependency Conflicts

Package dependencies can sometimes conflict with local r caches. Typically following the suggested fixes via renv or homebrew will resolve the conflicts.

Updating the Documentation and Using .Rmd

Pandoc may be required to generate the README as well as use .Rmd files. If you are using RStudio you can ‘Knit’ or run the following via the cmdline. If you are not using RStudio you may have to install pandoc globally.

To update this file run:

rmarkdown::render('README.Rmd', 'md_document')

OPTIONAL - Install the latest version of renv globally from CRAN with:

cd ~/
R

then

install.packages("renv")

Components

This template is mainly comprised with the following tools and aggregate packages.
renv
Tidyverse

r-template's People

Contributors

canaangifford avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.