[R-pkg-devel] escaped latex specials

2022-08-08 Thread Richard M. Heiberger
There is a new NOTE. This line with \& used to be acceptable. I am not seeing what the suggested replacement is. * checking Rd files ... [4s] NOTE checkRd: (-1) bivariateNormal.Rd:42: Escaped LaTeX specials: \& The full example is \note{ Based on the \code{galaxy} example on pages 204--205 in

Re: [R-pkg-devel] Using function with same name as argument as default argument

2022-08-08 Thread Andrew Simmons
Hello, This isn't something that can be fixed in the parser. If an argument isn't provided, its default value is evaluated inside the function, so it gives you a loop where schema = schema(x), but then what's schema, it's schema(x), thus the recursion error. you could do something like this: