Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRAN submission failed with new message Apparent methods for exported generics not registered #112

Closed
xrobin opened this issue May 11, 2023 · 0 comments

Comments

@xrobin
Copy link
Owner

xrobin commented May 11, 2023

* checking S3 generic/method consistency ... NOTE
Mismatches for apparent methods not registered:
ci:
  function(...)
ci.auc.delong:
  function(roc, conf.level)

ci:
  function(...)
ci.delong.paired:
  function(calcs, conf.level)

roc:
  function(...)
roc.utils.calc.coords:
  function(roc, thr, se, sp, best.weights)

roc:
  function(...)
roc.utils.max.thresholds.idx:
  function(thresholds, sp, se)

roc:
  function(...)
roc.utils.thr.idx:
  function(roc, x)

roc:
  function(...)
roc.utils.thresholds:
  function(predictor, direction)

roc:
  function(...)
roc.utils.topercent:
  function(x)

roc:
  function(...)
roc.utils.unpercent:
  function(x)

roc:
  function(...)
roc.utils.match.coords.input.args:
  function(x, threshold)

roc:
  function(...)
roc.utils.min.partial.auc.auc:
  function(auc)

roc:
  function(...)
roc.utils.perfs:
  function(threshold, controls, cases, direction)

roc:
  function(...)
roc.utils.max.partial.auc.auc:
  function(roc)

roc:
  function(...)
roc.utils.match.coords.ret.args:
  function(x, threshold)

roc:
  function(...)
roc.utils.optim.crit:
  function(se, sp, max, weights, method)

roc:
  function(...)
roc.utils.is.perfect.curve:
  function(roc)

roc:
  function(...)
roc.utils.perfs.all.test:
  function(thresholds, controls, cases, direction)

roc:
  function(...)
roc.utils.max.partial.auc:
  function(partial.auc, percent)

roc:
  function(...)
roc.utils.perfs.all.safe:
  function(thresholds, controls, cases, direction)

roc:
  function(...)
roc.utils.perfs.dens:
  function(threshold, x, dens.controls, dens.cases, direction)

roc:
  function(...)
roc.utils.perfs.all.fast:
  function(thresholds, controls, cases, direction)

roc:
  function(...)
roc.utils.min.partial.auc:
  function(partial.auc, percent)

smooth:
  function(...)
smooth.roc.logcondens.smooth:
  function(roc, n)

smooth:
  function(...)
smooth.roc.logcondens:
  function(roc, n)

smooth:
  function(...)
smooth.roc.binormal:
  function(roc, n)

var:
  function(...)
var.theta.obuchowski:
  function(theta, kappa)

var:
  function(...)
var.delta.covvar:
  function(covvar)

var:
  function(...)
var.params.obuchowski:
  function(A, B, kappa, FPR1, FPR2)

var:
  function(...)
var.roc.obuchowski:
  function(roc)

power.roc.test:
  function(...)
power.roc.test.optimize.auc.function:
  function(x, ncontrols, ncases, zalpha, zbeta)

cov:
  function(...)
cov.roc.obuchowski:
  function(roc1, roc2)

cov:
  function(...)
cov.params.obuchowski:
  function(A1, B1, A2, B2, rn, ra, kappa, FPR11, FPR12, FPR21, FPR22)

sort:
  function(x, decreasing, ...)
sort.smooth.roc:
  function(roc)

sort:
  function(x, decreasing, ...)
sort.roc:
  function(roc)

print:
  function(x, ...)
print.dataline:
  function(x)

Apparent methods for exported generics not registered:
  ci.auc.bootstrap ci.auc.delong ci.delong.paired cov.params.obuchowski
  cov.roc.obuchowski ggroc.multiclass.roc multiclass.roc.multivariate
  multiclass.roc.univariate power.roc.test.optimize.auc.function
  roc.cc.nochecks roc.rp.nochecks roc.utils.calc.coords
  roc.utils.dumb.progress.bar roc.utils.extract.formula
  roc.utils.get.progress.bar roc.utils.is.perfect.curve
  roc.utils.match.coords.input.args roc.utils.match.coords.ret.args
  roc.utils.max.partial.auc roc.utils.max.partial.auc.auc
  roc.utils.max.thresholds.idx roc.utils.min.partial.auc
  roc.utils.min.partial.auc.auc roc.utils.optim.crit roc.utils.perfs
  roc.utils.perfs.all.fast roc.utils.perfs.all.safe
  roc.utils.perfs.all.test roc.utils.perfs.dens roc.utils.thr.idx
  roc.utils.thresholds roc.utils.topercent roc.utils.unpercent
  smooth.roc.binormal smooth.roc.density smooth.roc.fitdistr
  smooth.roc.logcondens smooth.roc.logcondens.smooth var.delta.covvar
  var.params.obuchowski var.roc.bootstrap var.roc.obuchowski
  var.theta.obuchowski
See section ‘Registering S3 methods’ in the ‘Writing R Extensions’
manual.

Can be reproduced by black magic (thanks joshuaulrich/quantmod#375 for finding it out):

_R_CHECK_S3_METHODS_SHOW_POSSIBLE_ISSUES_=true R CMD check pROC_1.18.1.tar.gz
@xrobin xrobin closed this as completed in 6b22bfc May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant