Skip to content

Instantly share code, notes, and snippets.

diff --git a/R/lint.R b/R/lint.R
index 5f0524f..521965f 100644
--- a/R/lint.R
+++ b/R/lint.R
@@ -86,37 +86,37 @@ sep = "+++")
## OK, tested with codetools 0.2-8
findParamChangedByAssign <- function (txt, p, i)
return(finding(txt, p, i,
- rx = "^.*: parameter .(.*). changed by assignment.*\\\n",
+ rx = "^.*: parameter '(.*)' changed by assignment.*\\\n",
@lcd047
lcd047 / ghc-mod.sh
Last active December 30, 2015 07:29
Wrapper script for ghc-mod for checking .ghc files
#! /usr/bin/env bash
#
# File: ghc-mod.sh
# Description: Wrapper script allowing syntastic's ghc-mod checker to work with
# .ghc files.
# Maintainer: LCD 47 <lcd047 at gmail dot com>
# License: This program is free software. It comes without any warranty,
# to the extent permitted by applicable law. You can redistribute
# it and/or modify it under the terms of the Do What The Fuck You
# Want To Public License, Version 2, as published by Sam Hocevar.