Skip to content

Instantly share code, notes, and snippets.

@mhucka
mhucka / Makefile (updated 2018-02-09)
Last active March 29, 2022 20:34
Makefile for generating a preview of a JOSS journal paper
# =============================================================================
# @file Makefile
# @brief Makefile for generating previews of the paper
# @author Michael Hucka <[email protected]>
# @license Please see the file named LICENSE in the project directory
# @website https://github.com/casics/dassie
# =============================================================================
# Change the following values to match your configuration.
# .............................................................................
@maelle
maelle / labels.R
Created April 16, 2018 08:55
Create labels for the unconf18 repo issue tracker
# not possible to change labels via V4
# https://platform.github.community/t/mutations-for-label/2144
# list labels
current_labels <- gh::gh("/repos/:owner/:repo/labels",
owner = "ropensci",
repo = "unconf18")
current_labels <- purrr::map_chr(current_labels, "name")
# delete all labels
library(patchwork)
library(ggplot2)
library(purrr)
library(dplyr)
library(glue)
map(
5:8,
~iris %>%
filter(Petal.Length < .x) %>%
ggplot() +