Re: [Rd] Spurious warning from checkReplaceFuns about a non-replacement function

2019-03-12 Thread Kurt Hornik
> Hugh Parsonage writes: > If a function contains the pattern `<-` it is (with a few exceptions) > deemed to be a replacement function and in particular must have second > argument `value` to pass R CMD check. > Consider the function %<->% or any other function containing <- within > grapes.

[Rd] Spurious warning from checkReplaceFuns about a non-replacement function

2019-03-09 Thread Hugh Parsonage
If a function contains the pattern `<-` it is (with a few exceptions) deemed to be a replacement function and in particular must have second argument `value` to pass R CMD check. Consider the function %<->% or any other function containing <- within grapes. I claim that such functions should not