Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Making the colon operator work with characters | |
# A response to https://twitter.com/carroll_jono/status/1162932405516193793 | |
# This is a stupid implementation, since it will hurt performance of any other usage of : | |
# Better to do it in C or C++ | |
# Make : into an S3 generic | |
`:` <- function(x, y, ...) { | |
UseMethod(":") | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workaround for roxygen2 issue. See: | |
# https://github.com/klutometis/roxygen/issues/372 | |
# https://stat.ethz.ch/pipermail/r-package-devel/2015q3/000456.html | |
library(magrittr) | |
library(stringi) | |
library(assertive.properties) | |
library(assertive.code) | |
r_files <- dir("R", full.names = TRUE) |