knitr::opts_chunk$set(echo = TRUE, comment = '')
module_info <- suppressWarnings(outsider::module_details(service = 'github')) module_info <- module_info[module_info[['program']] != '', ] # convert to links module_info[['program']] <- paste0('[', module_info[['program']], '](', module_info[['url']], ')') module_info[['url']] <- NULL module_info[['repo']] <- NULL module_info[['updated_at']] <- format(module_info[['updated_at']], '%d %b %y') colnames(module_info) <- c('Program', 'Details', 'Versions', 'Updated', 'Stars') time_date <- as.character(format(Sys.time(), '%H:%M, %d %B %Y (%Z)')) cat('Last updated: ', crayon::bold(time_date), '\n') knitr::kable(as.data.frame(module_info), format = "html")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.