Warning message when trying to run an NCA

julia> using Pumas.NCA
[ Info: Precompiling Pumas [4f2c3c20-a4ac-11e9-067b-e5872d3484cf]
WARNING: could not import LogDensityProblems.AbstractLogDensityProblem into Pumas
ERROR: LoadError: LoadError: UndefVarError: AbstractLogDensityProblem not defined
 [1] getproperty(::Module, ::Symbol) at .\sysimg.jl:13
 [2] top-level scope at none:0
 [3] include at .\boot.jl:326 [inlined]
 [4] include_relative(::Module, ::String) at .\loading.jl:1038
 [5] include at .\sysimg.jl:29 [inlined]
 [6] include(::String) at C:\Users\cradhakr\.juliapro\JuliaPro_v1.1.1.1\packages\Pumas\mxkQP\src\Pumas.jl:1
 [7] top-level scope at none:0
 [8] include at .\boot.jl:326 [inlined]
 [9] include_relative(::Module, ::String) at .\loading.jl:1038
 [10] include(::Module, ::String) at .\sysimg.jl:29
 [11] top-level scope at none:2
 [12] eval at .\boot.jl:328 [inlined]
 [13] eval(::Expr) at .\client.jl:404
 [14] top-level scope at .\none:3
in expression starting at C:\Users\cradhakr\.juliapro\JuliaPro_v1.1.1.1\packages\Pumas\mxkQP\src\estimation\bayes.jl:18
in expression starting at C:\Users\cradhakr\.juliapro\JuliaPro_v1.1.1.1\packages\Pumas\mxkQP\src\Pumas.jl:31
ERROR: Failed to precompile Pumas [4f2c3c20-a4ac-11e9-067b-e5872d3484cf] to C:\Users\cradhakr\.juliapro\JuliaPro_v1.1.1.1\compiled\v1.1\Pumas\OjQAZ.ji.
 [1] compilecache(::Base.PkgId, ::String) at .\loading.jl:1197
 [2] _require(::Base.PkgId) at .\loading.jl:960
 [3] require(::Base.PkgId) at .\loading.jl:858
 [4] require(::Module, ::Symbol) at .\loading.jl:853

The error message could indicate that you are not using the most recent version of Pumas. Could you please try

] up Pumas

then restart Julia, and

using Pumas

Thanks, got that resolved. and having another issue - I am new to Julian

julia> file = Pumas.example_nmtran_data("nca_test_data/dapa_IV")
ERROR: UndefVarError: example_nmtran_data not define

julia> file = Pumas.example_nmtran_data(“nca_test_data/dapa_IV”)

Where did you find that example? It’s been a while since we renamed example_nmtran_data to example_data.

Thanks. We’ll fix that.

Thanks for your help. Also if I need to do weighting on the data how can I do whats the command