I want to print the C code of the bh
function in the R package frailtysurv
.
So I typed:
> frailtySurv:::bh
function (d_, R_star, K_, Y_, N_, N_dot, beta, theta, frailty,
weights, abstol, reltol, maxit)
{
.Call("_frailtySurv_bh", PACKAGE = "frailtySurv",
d_, R_star, K_, Y_, N_, N_dot, beta, theta, frailty,
weights, abstol, reltol, maxit)
}
<bytecode: 0x0000025263262be0>
<environment: namespace:frailtySurv>
With this warning at the top of the corresponding Github page:
# Generated by using Rcpp::compileAttributes() -> do not edit by hand
But then I don't find a src file in the 'frailtySurv' library or another file where I could find the _frailtySurv_bh
function.
No trace of any .Rcpp
functions in the package source.
I know that similar questions were already asked few times (example: here, here or here among others) to print functions called by .Call
.
These were not helpful in my case.
Any tip on where can I find the _frailtySurv_bh
function?
Thanks :-)