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

Latest release throws error on load #8

Closed
baggepinnen opened this issue Sep 1, 2020 · 2 comments
Closed

Latest release throws error on load #8

baggepinnen opened this issue Sep 1, 2020 · 2 comments

Comments

@baggepinnen
Copy link

It looks like some code for testing was left behind in a file, which is no longer present on master. Maybe it's time to tag a new release?

@v1.5) pkg> add ExperimentalDesign
   Updating registry at `~/.julia/registries/General`
  Resolving package versions...
  Installed ShiftedArrays ────── v1.0.0
  Installed Primes ───────────── v0.5.0
  Installed StatsModels ──────── v0.6.13
  Installed ExperimentalDesign ─ v0.1.0
Updating `~/.julia/environments/v1.5/Project.toml`
  [4babbea4] + ExperimentalDesign v0.1.0
Updating `~/.julia/environments/v1.5/Manifest.toml`
  [4babbea4] + ExperimentalDesign v0.1.0
  [27ebfcd6] + Primes v0.5.0
  [1277b4bf] + ShiftedArrays v1.0.0
  [3eaba693] + StatsModels v0.6.13
[ Info: Precompiling ExperimentalDesign [4babbea4-9e7d-11e9-116f-e1ada04bd296]
ERROR: LoadError: LoadError: MethodError: no method matching term(::String)
Closest candidates are:
  term(::Symbol) at /home/fredrikb/.julia/packages/StatsModels/h6g21/src/terms.jl:598
  term(::Number) at /home/fredrikb/.julia/packages/StatsModels/h6g21/src/terms.jl:597
  term(::StatsModels.AbstractTerm) at /home/fredrikb/.julia/packages/StatsModels/h6g21/src/terms.jl:599
Stacktrace:
 [1] _broadcast_getindex_evalf at ./broadcast.jl:648 [inlined]
 [2] _broadcast_getindex at ./broadcast.jl:621 [inlined]
 [3] getindex at ./broadcast.jl:575 [inlined]
 [4] copy at ./broadcast.jl:876 [inlined]
 [5] materialize at ./broadcast.jl:837 [inlined]
 [6] linear_model(::DataFrames.DataFrame) at /home/fredrikb/.julia/packages/ExperimentalDesign/Cqcyh/src/d_optimal/variance_predictions.jl:14
 [7] optimize_design(; factors::Int64, levels::Int64, experiments::Int64, design::DataFrames.DataFrame, candidate_set::DataFrames.DataFrame, iterations::Int64, refresh_candidate_set::Bool) at /home/fredrikb/.julia/packages/ExperimentalDesign/Cqcyh/src/d_optimal/variance_predictions.jl:122
 [8] measure_optimize_design_refresh(::Bool) at /home/fredrikb/.julia/packages/ExperimentalDesign/Cqcyh/src/d_optimal/variance_predictions.jl:210
 [9] top-level scope at /home/fredrikb/.julia/packages/ExperimentalDesign/Cqcyh/src/d_optimal/variance_predictions.jl:246
 [10] include(::Function, ::Module, ::String) at ./Base.jl:380
 [11] include at ./Base.jl:368 [inlined]
 [12] include(::String) at /home/fredrikb/.julia/packages/ExperimentalDesign/Cqcyh/src/ExperimentalDesign.jl:3
 [13] top-level scope at /home/fredrikb/.julia/packages/ExperimentalDesign/Cqcyh/src/ExperimentalDesign.jl:32
 [14] include(::Function, ::Module, ::String) at ./Base.jl:380
 [15] include(::Module, ::String) at ./Base.jl:368
 [16] top-level scope at none:2
 [17] eval at ./boot.jl:331 [inlined]
 [18] eval(::Expr) at ./client.jl:467
 [19] top-level scope at ./none:3
in expression starting at /home/fredrikb/.julia/packages/ExperimentalDesign/Cqcyh/src/d_optimal/variance_predictions.jl:246
in expression starting at /home/fredrikb/.julia/packages/ExperimentalDesign/Cqcyh/src/ExperimentalDesign.jl:32
@phrb
Copy link
Owner

phrb commented Sep 1, 2020

Thanks for the heads up, the current release does not work on Julia v1.5. To use it right now, you can run:

pkg> add ExperimentalDesign#master

I will release a v1.5 version today, this should work without the #master tag.

@phrb
Copy link
Owner

phrb commented Sep 1, 2020

The new version has been released, and will be available trough pkg> add soon.

@phrb phrb closed this as completed Sep 7, 2020
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

2 participants