mixOmicsTeam / mixOmics

Development repository for the Bioconductor package 'mixOmics '
http://mixomics.org/
150 stars 51 forks source link

note regarding lack of visible binding in R-CMD-CHECK #284

Closed Max-Bladen closed 1 year ago

Max-Bladen commented 1 year ago

🐞 Describe the bug:

Following note raised during R-CMD-CHECK:

❯ checking R code for possible problems ... NOTE
  Check.entry.pls: no visible binding for global variable 'indY'
  auroc.list: no visible binding for global variable 'Specificity'
  auroc.list: no visible binding for global variable 'Sensitivity'
  auroc.list: no visible binding for global variable 'model'
  auroc.list: no visible binding for global variable 'Outcome'
  Undefined global functions or variables:
    Outcome Sensitivity Specificity indY model

💡 Possible solution: Declare as global variables or set as NULL within functions. Former is not desirable. Read here for more info