Fix a typo in README.md.
Merge pull request #82 from craigcitro/typo

Fix a typo in README.md.
added citation file
started adding line_number test reporting
added srcref fetching in expect_that, supplied to the reporter in in result$srcref. It is used by SummaryReporter to report the file and line number of failures
started adding line_number test reporting
Merge branch 'srcrefs' of https://github.com/kforner/testthat into srcrefs
implemented hadley style corrections and tried to make code more readable
Remove a race condition in `watch`.

Currently, `dir_state` can fail in unfortuate ways when a file disappears
between reading a directory listing and calculating a hash of its contents;
this patch fixes the problem by catching the failure and returning NA.
Add code to test `test_that`.

This change adds a new reporter that simply gathers expectation failures
silently, and rewrites `inst/tests/test-xxx.r` to use it.
Merge pull request #80 from craigcitro/tests

Make testthat tests more reliable when called from the interpreter.
Merge pull request #83 from craigcitro/testtest

Add code to test test_that calls.
tried harder to conform to hadley's style
Fix minor typo in check_package documentation

Documentation on line 5 in `testthat/R/test-package.r` has 

> either \code{inst/tests}, or (better) \code{tests/testhat}.

Latter directory name should probably be `\code{tests/testthat}`.
Add rstudio project
Redocument
Fix typo: testhat -> testtthat
Change `dir_state` to not return `NA` on missing files, and do some cleanup.

Karl Millar pointed out that the `compare_state` function ran into trouble
when `dir_state` returns `NA`; one could work around this by complicating the
comparison logic, but the larger issue is that it doesn't make sense to have
`dir_state` return `NA`. The only case where this arises is when a file is
deleted between listing a directory and computing the digest; if the file's
gone, we don't want to include it in the result of `dir_state`.

Testing this code revealed a few underlying issues due to me being a little
sloppy with interpreter state when I wrote 94d5fc6648; in particular, the
catchall in `safe_digest` was eating the exception that mentioned I hadn't
loaded the `digest` package. I've made this catch less broadly, but also
moved `digest` from `Imports` to `Depends`.
Code review feedback.
Update roxygen comment and regenerate docs.