Skip to content

Conversation

nalimilan
Copy link
Member

Ensure that we don't accidentally stop exporting some functions and that
fallbacks defined in StatsAPI work.
Stop importing params and params! as they are neither used nor reexported

Ensure that we don't accidentally stop exporting some functions and that
fallbacks defined in StatsAPI work.
Stop importing `params` and `params!` as they are neither used nor reexported
cor, corm, cov2cor!, unscaled_covzm, quantile, sqrt!,
median, middle
using StatsAPI: StatisticalModel, RegressionModel
import StatsAPI: pairwise, pairwise!, params, params!,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why params is not tested?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not actually (and has never been) reexported, so if we tested something it would be that it's not defined. :-)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woops, actually the fact that we don't export it doesn't mean it's fine to stop importing it. Packages probably rely on StatsBase defining it. It was added by #274. I've added a commit to fix this.

@nalimilan nalimilan requested a review from bkamins February 20, 2022 18:00
@nalimilan nalimilan merged commit 071d10a into master Feb 20, 2022
@nalimilan nalimilan deleted the nl/tests branch February 20, 2022 21:39
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

Successfully merging this pull request may close these issues.

2 participants