Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 2.37 KB

README.md

File metadata and controls

51 lines (32 loc) · 2.37 KB

Rmd-website

Render and Deploy

An RMarkdown-based website rendered using GitHub Actions

https://statomics.github.io/Rmd-website/

Getting started

  1. Create a new repository on GitHub based on this template (press the big green button "Use this template")
  2. Clone the repository locally
  3. Add content in R Markdown format
  4. Commit changes and push to GitHub
  5. The website will be deployed at https://<username>.github.io/<repo-name>/

Managing the R enviromnent with renv

This project uses renv to maintain a consistent environment of R packages. For the full documentation, see https://rstudio.github.io/renv.

Briefly:

  1. Install necessary packages with renv::install() and use them somewhere in the project as usual
  2. Call renv::snapshot() to save the state of the project library to the lockfile (called renv.lock)
  3. Continue working on your project, installing and updating R packages as needed
  4. Call renv::snapshot() again to save the state of your project library if your attempts to update R packages were successful, or call renv::restore() to revert to the previous state as encoded in the lockfile if your attempts to update packages introduced some new problems

Examples

Getting help

More info