Re: [R-pkg-devel] Two packages with the same generic function

2020-06-22 Thread Mark Leeds
Hi Duncan: I maintain dynlm and your example is the exact reason I've been getting emails from people regarding it not working correctly. I've been telling them to load dplyr by using library(dplyr, exclude = c("filter", "lag")) On Mon, Jun 22, 2020 at 7:57 PM Duncan Murdoch wrote: > On 22/

Re: [R-pkg-devel] dir() function use in R packages

2020-03-04 Thread Mark Leeds
I think you want file.path(). you can use that to make a directory that includes a path to it. See ?file.path for more details. Then, you can do something like mydir ,- file.path(whatever)1, whatever2). setwd(mydir) but mydir needs to exist before you do that so check existence first using file.