Closed vathymut closed 5 years ago
Hi,
thanks for reporting this issue and for the kind words! This was indeed a simple bug in the way cutpointr
tried to fetch the name of the method
function.
There are two ways of dealing with this problem:
Import minimize_boot_metric
via the NAMESPACE file. If you are using roxygen
, you can simply do so with #' @importFrom cutpointr minimize_boot_metric
.
Install the current version of cutpointr
(v0.7.6) that includes the bugfix from Github with devtools::install_github("thie1e/cutpointr")
. This is of course not a good option, if you want to upload your package to CRAN soon.
Great - thanks for the quick answer. I've opted for option (2) as v0.7.6 includes metric_constrain
and other neat features.
Hi, Thank you so much for
cutpointr
.It's more a question than a bug, perhaps. I may have missed something obvious, but when I call
cutpointr
functions from its namespace (as I would for inclusion in my own package), I get an error. Here's my minimal reproducible example:What's the recommended way, if any, to do this? Thanks again.
Best, V.