After recent developments to testthat, expect_error() throws a warning for custom error conditions. Example:
test-storr.R:243: warning: get_value
`st$get_value("nosuchhash")` generated a condition with class HashError/error/condition.
It is less fragile to test custom conditions with `class`
The solution is simple: just supply a class argument to expect_error(). I will put together a PR after we resolve #111.