Closed jamesmbaazam closed 10 months ago
From a devtools::check() run
devtools::check()
>devtools::check() > Found if() conditions comparing class() to string: File ‘serofoi/R/modelling.R’: if (class(fit@sim$samples) != "NULL") ... File ‘serofoi/R/visualisation.R’: if (class(seromodel_object$fit@sim$samples) != "NULL") ... File ‘serofoi/R/visualisation.R’: if (class(seromodel_object$fit@sim$samples) != "NULL") ... File ‘serofoi/R/visualisation.R’: if (class(seromodel_object$fit@sim$samples) != "NULL") ... File ‘serofoi/R/visualisation.R’: if (class(seromodel_object$fit@sim$samples) != "NULL") ...
I'm happy to submit a PR to fix it. Do let me know.
From a
devtools::check()
runI'm happy to submit a PR to fix it. Do let me know.