great! works! thanks for your patience.
final question. I canβt get rid of these warnings about precompilation. are these indications about deprecated calls, i.e. do i need to do something here?
(MomentOpt) pkg> test MomentOpt
Testing MomentOpt
Resolving package versions...
WARNING: eval from module Plots to MomentOpt:
Expr(:call, Expr(:., :Sys, :(:islinux)))
** incremental compilation may be broken for this module **
WARNING: eval from module Plots to MomentOpt:
Expr(:block, #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1368 =#, Expr(:call, Expr(:., :Sys, :(:isapple))))
** incremental compilation may be broken for this module **
WARNING: eval from module Plots to MomentOpt:
Expr(:function, Expr(:call, :_show, Expr(:::, :io, :IO), Expr(:::, Expr(:curly, :MIME, Expr(:call, :Symbol, "application/postscript"))), Expr(:::, :plt, Expr(:curly, :Plot, :GRBackend))), Expr(:block, #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1379 =#, Expr(:call, Expr(:., :GR, :(:emergencyclosegks))), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1380 =#, :filepath = Expr(:call, :*, Expr(:call, :tempname), ".", "ps"), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1381 =#, :env = Expr(:call, :get, :ENV, "GKSwstype", "0"), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1382 =#, Expr(:ref, :ENV, "GKSwstype") = "ps", #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1383 =#, Expr(:ref, :ENV, "GKS_FILEPATH") = :filepath, #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1384 =#, Expr(:call, :gr_display, :plt, "ps"), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1385 =#, Expr(:call, Expr(:., :GR, :(:emergencyclosegks))), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1386 =#, Expr(:call, :write, :io, Expr(:call, :read, :filepath, :String)), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1387 =#, Expr(:call, :rm, :filepath), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1388 =#, Expr(:if, Expr(:call, :!=, :env, "0"), Expr(:block, #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1389 =#, Expr(:ref, :ENV, "GKSwstype") = :env), Expr(:block, #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1391 =#, Expr(:call, :pop!, :ENV, "GKSwstype")))))
** incremental compilation may be broken for this module **
WARNING: eval from module Plots to MomentOpt:
Expr(:function, Expr(:call, :_show, Expr(:::, :io, :IO), Expr(:::, Expr(:curly, :MIME, Expr(:call, :Symbol, "application/pdf"))), Expr(:::, :plt, Expr(:curly, :Plot, :GRBackend))), Expr(:block, #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1379 =#, Expr(:call, Expr(:., :GR, :(:emergencyclosegks))), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1380 =#, :filepath = Expr(:call, :*, Expr(:call, :tempname), ".", "pdf"), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1381 =#, :env = Expr(:call, :get, :ENV, "GKSwstype", "0"), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1382 =#, Expr(:ref, :ENV, "GKSwstype") = "pdf", #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1383 =#, Expr(:ref, :ENV, "GKS_FILEPATH") = :filepath, #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1384 =#, Expr(:call, :gr_display, :plt, "pdf"), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1385 =#, Expr(:call, Expr(:., :GR, :(:emergencyclosegks))), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1386 =#, Expr(:call, :write, :io, Expr(:call, :read, :filepath, :String)), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1387 =#, Expr(:call, :rm, :filepath), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1388 =#, Expr(:if, Expr(:call, :!=, :env, "0"), Expr(:block, #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1389 =#, Expr(:ref, :ENV, "GKSwstype") = :env), Expr(:block, #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1391 =#, Expr(:call, :pop!, :ENV, "GKSwstype")))))
** incremental compilation may be broken for this module **
WARNING: eval from module Plots to MomentOpt:
Expr(:function, Expr(:call, :_show, Expr(:::, :io, :IO), Expr(:::, Expr(:curly, :MIME, Expr(:call, :Symbol, "image/png"))), Expr(:::, :plt, Expr(:curly, :Plot, :GRBackend))), Expr(:block, #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1379 =#, Expr(:call, Expr(:., :GR, :(:emergencyclosegks))), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1380 =#, :filepath = Expr(:call, :*, Expr(:call, :tempname), ".", "png"), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1381 =#, :env = Expr(:call, :get, :ENV, "GKSwstype", "0"), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1382 =#, Expr(:ref, :ENV, "GKSwstype") = "png", #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1383 =#, Expr(:ref, :ENV, "GKS_FILEPATH") = :filepath, #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1384 =#, Expr(:call, :gr_display, :plt, "png"), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1385 =#, Expr(:call, Expr(:., :GR, :(:emergencyclosegks))), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1386 =#, Expr(:call, :write, :io, Expr(:call, :read, :filepath, :String)), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1387 =#, Expr(:call, :rm, :filepath), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1388 =#, Expr(:if, Expr(:call, :!=, :env, "0"), Expr(:block, #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1389 =#, Expr(:ref, :ENV, "GKSwstype") = :env), Expr(:block, #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1391 =#, Expr(:call, :pop!, :ENV, "GKSwstype")))))
** incremental compilation may be broken for this module **
WARNING: eval from module Plots to MomentOpt:
Expr(:function, Expr(:call, :_show, Expr(:::, :io, :IO), Expr(:::, Expr(:curly, :MIME, Expr(:call, :Symbol, "image/svg+xml"))), Expr(:::, :plt, Expr(:curly, :Plot, :GRBackend))), Expr(:block, #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1379 =#, Expr(:call, Expr(:., :GR, :(:emergencyclosegks))), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1380 =#, :filepath = Expr(:call, :*, Expr(:call, :tempname), ".", "svg"), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1381 =#, :env = Expr(:call, :get, :ENV, "GKSwstype", "0"), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1382 =#, Expr(:ref, :ENV, "GKSwstype") = "svg", #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1383 =#, Expr(:ref, :ENV, "GKS_FILEPATH") = :filepath, #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1384 =#, Expr(:call, :gr_display, :plt, "svg"), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1385 =#, Expr(:call, Expr(:., :GR, :(:emergencyclosegks))), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1386 =#, Expr(:call, :write, :io, Expr(:call, :read, :filepath, :String)), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1387 =#, Expr(:call, :rm, :filepath), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1388 =#, Expr(:if, Expr(:call, :!=, :env, "0"), Expr(:block, #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1389 =#, Expr(:ref, :ENV, "GKSwstype") = :env), Expr(:block, #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends/gr.jl"):1391 =#, Expr(:call, :pop!, :ENV, "GKSwstype")))))
** incremental compilation may be broken for this module **
WARNING: eval from module Plots to MomentOpt:
Expr(:call, Expr(:., :Sys, :(:isapple)))
** incremental compilation may be broken for this module **
WARNING: eval from module Plots to MomentOpt:
Expr(:||, Expr(:call, Expr(:., :Sys, :(:islinux))), Expr(:call, Expr(:., :Sys, :(:isbsd))))
** incremental compilation may be broken for this module **
WARNING: eval from module Plots to MomentOpt:
Expr(:call, Expr(:., :Sys, :(:iswindows)))
** incremental compilation may be broken for this module **
WARNING: eval from module Main to MomentOpt:
Expr(:block, #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends.jl"):320 =#, Expr(:import, Expr(:., :Plots)), #= Symbol("/Users/74097/.julia/packages/Plots/ex9On/src/backends.jl"):321 =#, Expr(:export, :Plots))
** incremental compilation may be broken for this module **
Test Summary: | Pass Total
Running MomentOpt tests | 8 8
Testing MomentOpt tests passed