Closed seabbs closed 1 week ago
Perhaps just using withr
would be enough.
I tried with withr::with_environment
and that didn't seem to work.
Submit a issue/PR to fitdistrplus to change the way that it (optionally) finds custom distribution functions.
I'm currently favouring this I think
@Bisaloo any chance you have any good ideas here? I think this is blocking a CRAN release but its also really useful functionality for people who can't/don't want to use CRAN.
This is the assignment I can't find a way around
Issue over on fitdistrplus
: https://github.com/lbbe-software/fitdistrplus/issues/33
The problematic line is here: https://github.com/lbbe-software/fitdistrplus/blob/89f00a69b35bc687f6003355354b8ec712b31c74/R/fitdist.R#L34
As the title and as flagged in #61. There are two options I see:
fitdistrplus
to change the way that it (optionally) finds custom distribution functions.I think the current implementation is not CRAN compliant and so I think this needs to be resolved before CRAN submission.