Learn R Programming

condensr

condensr provides an easy to use, fast framework for generating academic “group” websites. Often, consortiums of researchers are wanting a web presence that groups staff to projects and publications, but managing such a website can be an expensive endeavour.

Fundamentally, condensr is a bunch of quarto templates, combined with some convenience functions to generate markdown automatically. Staff are linked to projects, and to publications, and websites for each are generated automatically.

Installation

You can install the development version of condensr from GitHub with:

# install.packages("devtools")
devtools::install_github("MikeLydeamore/condensr")

Example

To get started with condensr, simply run:

library(condensr)
create_website(dir = "site_dir", name = "site_name")

and a new website will be generated with the files you need.

The about.qmd page includes the high level information. Most of the group information belongs in index.Rmd where the three structures expected by condensr are built.

To build the website, simply run:

quarto::render("site_dir")

You can host the page just like you would any other quarto site: GitHub Pages, Netlify, or any other HTML hosting site of your choosing.

Websites using this package

If you are using condensr please tell me - I’d love to hear about it.

Copy Link

Version

Install

install.packages('condensr')

Monthly Downloads

144

Version

1.0.0

License

MIT + file LICENSE

Maintainer

Michael Lydeamore

Last Published

August 30th, 2023

Functions in condensr (1.0.0)

generate_markdown_for_projects

Generate markdown for projects
generate_markdown_for_member

Generate markdown for staff member
generate_markdown_for_publications

Generate markdown for publications
project

Generate Academic Project
create_website

Create the templates for a condensr website
create_staff_member_page

Create a quarto file for a specific staff member
staff_member

Create staff member
sort_list_by_date

Sort a list by the list element date.
render_template

Copy Rmd template to target path
publication

Generate publication