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

2020-06-22 Thread Tom Wainwright
t;foo" has no defined methods, so it is not redefined if their are previous methods. I haven't had time to try this in the two-package example, but it might work, although I'm not sure how to handle the Namespace declarations. Tom Wainwright On Mon, Jun 22, 2020 at 10:41 AM Be

Re: [R-pkg-devel] creating indelible file during unit test

2017-12-12 Thread Tom Wainwright
#x27;Permission denied' > > Sys.chmod("test", mode="0777") > > file.remove(file.path("test",'file1')) > [1] TRUE > > > Not sure if this will work in Windows, though. Regards, Tom Wainwright On Tue, Dec 12, 2017 at 4:24 AM,

Re: [R-pkg-devel] relation between vignettes and help files

2016-07-15 Thread Tom Wainwright
>From a user perspective, I think a distinction needs to be made between three things: help files, demos, and vignettes. I expect the help file for functions to explain the API and (briefly) the methods implemented (with references) and to have a few terse but useful examples in the Examples sectio

Re: [R-pkg-devel] not resolved from current namespace error

2015-08-11 Thread Tom Wainwright
R is safest. Tom Wainwright The contents of this message are mine personally and do not necessarily reflect any position of the Government or the National Oceanic and Atmospheric Administration. On Tue, Aug