On Fri, Oct 25, 2013 at 11:15 PM, Hadley Wickham
<notifications@github.com>wrote:

> In R/test-files.r:
>
> >    files <- sort(dir(path, pattern))
> > +  if (chdir) {
> > +    old <- setwd(path)
> > +    on.exit(setwd(old))
>
> Do you also need path <- "." ?
>

I do not understand. For what purpose ?


> —
> Reply to this email directly or view it on GitHub<https://github.com/hadley/testthat/pull/98/files#r7228671>
> .
>