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

Tests fail locally #304

Closed
galenlynch opened this issue Apr 7, 2019 · 3 comments
Closed

Tests fail locally #304

galenlynch opened this issue Apr 7, 2019 · 3 comments

Comments

@galenlynch
Copy link
Contributor

When I try to test GLM (master) locally on my computer, I get the following error:

(v1.1) pkg> test GLM
   Testing GLM
 Resolving package versions...
    Status `/tmp/tmphxBEyJ/Manifest.toml`
  [7d9fca2a] Arpack v0.3.0
  [9e28174c] BinDeps v0.8.10
  [b99e7846] BinaryProvider v0.5.3
  [336ed68f] CSV v0.4.3
  [324d7699] CategoricalArrays v0.5.2
  [944b1d66] CodecZlib v0.5.2
  [34da2185] Compat v1.5.1
  [a93c6f00] DataFrames v0.17.1
  [9a8bc11e] DataStreams v0.4.1
  [864edb3b] DataStructures v0.15.0
  [31c24e10] Distributions v0.17.0
  [8f5d6c58] EzXML v0.9.1
  [5789e2e9] FileIO v1.0.6
  [38e38edf] GLM v1.1.1+ [`~/.julia/dev/GLM`]
  [82899510] IteratorInterfaceExtensions v0.1.1
  [e1d29d7a] Missings v0.3.1
  [78c3b35d] Mocking v0.5.7
  [bac558e1] OrderedCollections v1.0.2
  [90014a1f] PDMats v0.9.6
  [69de0a69] Parsers v0.2.22
  [1fd47b50] QuadGK v2.0.3
  [df47a6cb] RData v0.6.0
  [ce6b1742] RDatasets v0.6.1
  [189a3867] Reexport v0.2.0
  [ae029012] Requires v0.5.2
  [79098fc4] Rmath v0.5.0
  [a2af1166] SortingAlgorithms v0.3.1
  [276daf66] SpecialFunctions v0.7.2
  [2913bbd2] StatsBase v0.29.0+ [`~/.julia/dev/StatsBase`]
  [4c63d2b9] StatsFuns v0.8.0
  [3eaba693] StatsModels v0.5.0+ #master (https://github.com/JuliaStats/StatsModels.jl.git)
  [3783bdb8] TableTraits v0.4.1
  [bd369af6] Tables v0.1.18
  [f269a46b] TimeZones v0.9.0
  [3bb67fe8] TranscodingStreams v0.9.3
  [30578b45] URIParser v0.4.0
  [ea10d353] WeakRefStrings v0.5.8
  [2a0f44e3] Base64  [`@stdlib/Base64`]
  [ade2ca70] Dates  [`@stdlib/Dates`]
  [8bb1440f] DelimitedFiles  [`@stdlib/DelimitedFiles`]
  [8ba89e20] Distributed  [`@stdlib/Distributed`]
  [9fa8497b] Future  [`@stdlib/Future`]
  [b77e0a4c] InteractiveUtils  [`@stdlib/InteractiveUtils`]
  [76f85450] LibGit2  [`@stdlib/LibGit2`]
  [8f399da3] Libdl  [`@stdlib/Libdl`]
  [37e2e46d] LinearAlgebra  [`@stdlib/LinearAlgebra`]
  [56ddb016] Logging  [`@stdlib/Logging`]
  [d6f4376e] Markdown  [`@stdlib/Markdown`]
  [a63ad114] Mmap  [`@stdlib/Mmap`]
  [44cfe95a] Pkg  [`@stdlib/Pkg`]
  [de0858da] Printf  [`@stdlib/Printf`]
  [9abbd945] Profile  [`@stdlib/Profile`]
  [3fa0cd96] REPL  [`@stdlib/REPL`]
  [9a3f8284] Random  [`@stdlib/Random`]
  [ea8e919c] SHA  [`@stdlib/SHA`]
  [9e88b42a] Serialization  [`@stdlib/Serialization`]
  [1a1011a3] SharedArrays  [`@stdlib/SharedArrays`]
  [6462fe0b] Sockets  [`@stdlib/Sockets`]
  [2f01184e] SparseArrays  [`@stdlib/SparseArrays`]
  [10745b16] Statistics  [`@stdlib/Statistics`]
  [4607b0f0] SuiteSparse  [`@stdlib/SuiteSparse`]
  [8dfed614] Test  [`@stdlib/Test`]
  [cf7118a7] UUIDs  [`@stdlib/UUIDs`]
  [4ec0a83e] Unicode  [`@stdlib/Unicode`]
Test Summary: | Pass  Total
lm            |   18     18
rankdeficient: Error During Test at /home/glynch/.julia/dev/GLM/test/runtests.jl:48
  Got exception outside of a @test
  MethodError: no method matching ~(::Nothing, ::Tuple{ConstantTerm{Int64},Term,Term,InteractionTerm{Tuple{Term,Term}}})
  Closest candidates are:
    ~(!Matched::Union{AbstractTerm, Tuple{Vararg{AbstractTerm,N}} where N}, ::Union{AbstractTerm, Tuple{Vararg{AbstractTerm,N}} where N}) at /home/glynch/.julia/packages/StatsModels/Vg3mz/src/terms.jl:397
  Stacktrace:
   [1] top-level scope at none:0
   [2] eval(::Module, ::Any) at ./boot.jl:328
   [3] top-level scope at /home/glynch/.julia/dev/GLM/test/runtests.jl:53
   [4] top-level scope at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Test/src/Test.jl:1083
   [5] top-level scope at /home/glynch/.julia/dev/GLM/test/runtests.jl:50
   [6] include at ./boot.jl:326 [inlined]
   [7] include_relative(::Module, ::String) at ./loading.jl:1038
   [8] include(::Module, ::String) at ./sysimg.jl:29
   [9] include(::String) at ./client.jl:403
   [10] top-level scope at none:0
   [11] eval(::Module, ::Any) at ./boot.jl:328
   [12] exec_options(::Base.JLOptions) at ./client.jl:243
   [13] _start() at ./client.jl:436
Test Summary: | Error  Total
rankdeficient |     1      1
ERROR: LoadError: Some tests did not pass: 0 passed, 0 failed, 1 errored, 0 broken.
in expression starting at /home/glynch/.julia/dev/GLM/test/runtests.jl:48
ERROR: Package GLM errored during testing
@nalimilan
Copy link
Member

I think you should go back to the latest version of StatsModels.

@kleinschmidt
Copy link
Member

kleinschmidt commented Apr 8, 2019 via email

@galenlynch
Copy link
Contributor Author

@nalimilan you were right, going back to the last tagged version of StatsModels fixed it.

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

3 participants