Re: [Rd] invisible functions

2018-10-17 Thread Duncan Murdoch
On 17/10/2018 11:16 AM, S Ellison wrote: 2. change cfun[[1]] <- quote(cord.work) to cfun[[1]] <- quote(survival:::cord.work). You say this will mess up your test bed. That suggests that your test bed is broken. This is a perfectly legal and valid solution. Valid in a package, but forces code

Re: [Rd] invisible functions

2018-10-17 Thread S Ellison
> 2. change cfun[[1]] <- quote(cord.work) to cfun[[1]] <- > quote(survival:::cord.work). You say this will mess up your test bed. > That suggests that your test bed is broken. This is a perfectly legal > and valid solution. Valid in a package, but forces code to call a loaded library version of

Re: [Rd] invisible functions

2018-10-16 Thread Duncan Murdoch
On 16/10/2018 6:42 PM, Therneau, Terry M., Ph.D. via R-devel wrote: The survival package, like many others, has several helper functions that are not declared in the namespace, since their only use is to be called by other "main" functions of the package.  This works well since the functions

[Rd] invisible functions

2018-10-16 Thread Therneau, Terry M., Ph.D. via R-devel
The survival package, like many others, has several helper functions that are not declared in the namespace, since their only use is to be called by other "main" functions of the package.  This works well since the functions in the survival namespace can see them --- without ::: arguments