bcbi / ClassImbalance.jl

Sampling-based methods for correcting for class imbalance in two-category classification problems
Other
11 stars 9 forks source link

Add Distributions to REQUIRE -dilum #1

Closed sinhaishan closed 6 years ago

DilumAluthge commented 6 years ago

Hi - I just wanted to follow up on this PR from a while back. ClassImbalance.jl loads Distributions on line 4 of this file. However, Distributions is not listed in REQUIRE.

To reproduce the bug, follow the following steps:

  1. In bash: mv ~/.julia ~/.julia_backup
  2. In julia: Pkg.clone(https://github.com/bcbi/ClassImbalance.jl); using ClassImbalance

This will fail with the error "ERROR: LoadError: ArgumentError: Module Distributions not found in current path."

This PR fixes the bug by adding Distributions to REQUIRE.

DilumAluthge commented 6 years ago

Superseded by #3

DilumAluthge commented 6 years ago

@paulstey Can you close this? It's no longer necessary.