I hereby claim:
- I am zkamvar on github.
- I am zkamvar (https://keybase.io/zkamvar) on keybase.
- I have a public key ASDqVco4Xm3D5M11ckLrYgE9XyqlHFxA7MwqWszJxWvmSAo
To claim this, I am signing this object:
library('rjson') | |
library('wordcloud') | |
library('viridis') | |
library('magrittr') | |
library('purrr') | |
library('svglite') | |
# Download JSON data ------------------------------------------------------ |
#' Produce a list of all GitHub contributors to a project | |
#' | |
#' If you want a way to give thanks to specific people who have contributed to a project | |
#' since a given release, this will extract the GitHub user names from a given package's | |
#' NEWS file. This assumes that 1) the package has a `NEWS.md` file and 2) the package | |
#' uses level 1 headers and semantic versioning for each version in the news file. | |
#' | |
#' @param package the name of a package | |
#' @param since a version number (must match a version recorded in the NEWS) | |
#' @return a character vector with GitHub user names |
library("gh") | |
library("base64enc") | |
# get a file from a repository | |
get_repo_file <- function(org = "carpentries", lesson = "sandpaper-docs", file = "CONTRIBUTING.md", ...) { | |
gh("GET /repos/{org}/{lesson}/contents/{file}", | |
.params = list( | |
org = org, | |
lesson = lesson, | |
file = file |
#' List maintainers who still need to respond to the Workbench transition issue | |
#' | |
#' @param org the name of the github organisation | |
#' @param repo name of the repository | |
#' @return a character vector of github user names for maintainers who still need to confirm | |
#' transition to The Workbench | |
#' | |
#' @details The Workbench transition requires maintainers to confirm that they have re-cloned | |
#' their local repositories to avoid a situation where they overwrite commits with the old | |
#' version of the repository |
# This file's location is ~/.R/Makevars | |
# Default variables (no omp support): | |
# CXX=clang++ | |
# CC=clang | |
# I followed the instructions at http://hpc.sourceforge.net/ to install gcc 4.9 | |
CC=/usr/local/bin/gcc | |
CXX=/usr/local/bin/g++ | |
FC=/usr/local/bin/gfortran | |
F77=/usr/local/bin/gfortran |
library("jsonlite") | |
library("polite") | |
library("rvest") | |
library("purrr") | |
library("dplyr") | |
workbench_slugs <- c( | |
"r-ecology-lesson", | |
"r-socialsci", |
{ | |
"R": { | |
"Version": "4.1.0", | |
"Repositories": [ | |
{ | |
"Name": "carpentries", | |
"URL": "https://carpentries.r-universe.dev" | |
}, | |
{ | |
"Name": "carpentries_archive", |
I hereby claim:
To claim this, I am signing this object:
#' Subset loci in a genind object by name | |
#' | |
#' @param dat a genind object | |
#' @param ... names of the loci in character format OR numeric indices of the loci. | |
#' | |
#' @return the appropriate names to use for subsetting in a genind object | |
#' @examples | |
#' library(adegenet) | |
#' data(nancycats) | |
#' # Old way: |
This compares the differences between pandoc's markdown
and markdown_github
engines when parsing <div>
tags within sections.
In essence, if a <div>
tag contains a header out of order with the main document, its contents will be appended to the div in the html document with markdown_github
. If the following div appears after a level 3 header:
<div class='boo'>
## level 2