Resolving Pkg.test("Pumas") errors

Hi all,

I recently installed JuliaPro v1.4.0-1 and Pumas on my Mac (Mojave, 10.14.6). When I run the package test, I see several errors:

Test Summary:                       | Pass  Fail  Total
Maximum-likelihood interface        |   45     2     47
  Types (constructors, api, etc...) |   26           26
  Naive estimation                  |   17     2     19
    Single subject                  |    6            6
    Readme roundtrip                |    1     2      3
    with random                     |   10           10
  Show methods                      |             No tests
  Soft failing infer                |    2            2
ERROR: LoadError: LoadError: Some tests did not pass: 45 passed, 2 failed, 0 errored, 0 broken.
in expression starting at /Users/rodani14/.juliapro/JuliaPro_v1.4.0-1/packages/Pumas/Kxgzs/test/nlme/runtests.jl:4
in expression starting at /Users/rodani14/.juliapro/JuliaPro_v1.4.0-1/packages/Pumas/Kxgzs/test/runtests.jl:12
ERROR: Package Pumas errored during testing

Does anyone know how to fix these (or if these errors are no big deal)? I pasted the complete results of Pkg.test(“Pumas”) below.

Many thanks,
Daniel

julia> Pkg.test("Pumas")
    Testing Pumas
Status `/private/var/folders/py/s0hlsbpx0g148k9mw6_5ppp4vv422g/T/jl_nbpm8g/Manifest.toml`
  [621f4979] AbstractFFTs v0.5.0
  [80f14c24] AbstractMCMC v0.5.6
  [1520ce14] AbstractTrees v0.3.2
  [79e6a3ab] Adapt v1.0.1
  [0bf59076] AdvancedHMC v0.2.7
  [dce04be8] ArgCheck v2.0.0
  [ec485272] ArnoldiMethod v0.0.4
  [7d9fca2a] Arpack v0.4.0
  [68821587] Arpack_jll v3.5.0+3
  [4fba245c] ArrayInterface v2.6.2
  [4c555306] ArrayLayouts v0.2.1
  [39de3d68] AxisArrays v0.4.2
  [b99e7846] BinaryProvider v0.5.91
  [336ed68f] CSV v0.5.26
  [49dc2e85] Calculus v0.5.1
  [a603d957] CanonicalTraits v0.2.1
  [324d7699] CategoricalArrays v0.7.7
  [d360d2e6] ChainRulesCore v0.7.1
  [861a8166] Combinatorics v1.0.0
  [38540f10] CommonSolve v0.2.0
  [bbf7d656] CommonSubexpressions v0.2.0
  [34da2185] Compat v3.6.0
  [e66e0078] CompilerSupportLibraries_jll v0.3.3+0
  [88cd18e8] ConsoleProgressMonitor v0.1.2
  [187b0558] ConstructionBase v1.0.0
  [9a962f9c] DataAPI v1.1.0
  [a93c6f00] DataFrames v0.20.2
  [82cc6244] DataInterpolations v1.3.1
  [864edb3b] DataStructures v0.17.10
  [e2d170a0] DataValueInterfaces v1.0.0
  [e7dc6d0d] DataValues v0.4.13
  [bcd4f6db] DelayDiffEq v5.23.0
  [2b5f629d] DiffEqBase v6.25.1
  [459566f4] DiffEqCallbacks v2.12.1
  [c894b116] DiffEqJump v6.5.0
  [77a26b50] DiffEqNoiseProcess v3.9.0
  [41bf760c] DiffEqSensitivity v6.10.2
  [163ba53b] DiffResults v1.0.2
  [b552c78f] DiffRules v1.0.1
  [b4f34e82] Distances v0.8.2
  [31c24e10] Distributions v0.22.6
  [ffbed154] DocStringExtensions v0.8.1
  [e30172f5] Documenter v0.24.7
  [fdbdab4c] ElasticArrays v1.0.0
  [2904ab23] ElasticPDMats v0.2.1
  [da5c29d0] EllipsisNotation v0.4.0
  [d4d017d3] ExponentialUtilities v1.6.0
  [7a1cc6ca] FFTW v1.2.0
  [f5851436] FFTW_jll v3.3.9+5
  [442a2c76] FastGaussQuadrature v0.4.2
  [48062228] FilePathsBase v0.7.0
  [1a297f60] FillArrays v0.8.6
  [6a86dc24] FiniteDiff v2.3.0
  [59287772] Formatting v0.4.1
  [f6369f11] ForwardDiff v0.10.10
  [069b7b12] FunctionWrappers v1.1.1
  [38e38edf] GLM v1.3.9
  [891a1506] GaussianProcesses v0.11.2
  [6b9d7cbe] GeneralizedGenerated v0.2.2
  [01680d73] GenericSVD v0.3.0
  [19dc6840] HCubature v1.4.0
  [7869d1d1] IRTools v0.3.1
  [d25df0c9] Inflate v0.1.2
  [505f98c9] InplaceOps v0.3.0
  [1d5cc7b8] IntelOpenMP_jll v2018.0.3+0
  [8197267c] IntervalSets v0.4.0
  [41ab1584] InvertedIndices v1.0.0
  [c8e1da08] IterTools v1.3.0
  [1c8ee90f] IterableTables v1.0.0
  [42fd0dbc] IterativeSolvers v0.8.3
  [82899510] IteratorInterfaceExtensions v1.0.0
  [682c06a0] JSON v0.21.0
  [b14d175d] JuliaVariables v0.2.0
  [b964fa9f] LaTeXStrings v1.1.0
  [2ee39098] LabelledArrays v1.1.0
  [23fbe1c1] Latexify v0.13.0
  [a5e1c1ea] LatinHypercubeSampling v1.6.3
  [5078a376] LazyArrays v0.16.1
  [1d6d02ad] LeftChildRightSiblingTrees v0.1.2
  [093fc24a] LightGraphs v1.3.1
  [d3d80556] LineSearches v7.0.1
  [e6f89c97] LoggingExtras v0.4.0
  [c7f686f2] MCMCChains v3.0.9
  [856f044c] MKL_jll v2019.0.117+2
  [d8e11817] MLStyle v0.3.1
  [1914dd2f] MacroTools v0.5.4
  [eff96d63] Measurements v2.1.1
  [e1d29d7a] Missings v0.4.3
  [961ee093] ModelingToolkit v1.4.2
  [4886b29c] MonteCarloIntegration v0.0.1
  [46d2c3a1] MuladdMacro v0.2.2
  [d41bc354] NLSolversBase v7.6.1
  [2774e3e8] NLsolve v4.3.0
  [872c559c] NNlib v0.6.6
  [77ba4419] NaNMath v0.3.3
  [71a1bf82] NameResolution v0.1.3
  [4536629a] OpenBLAS_jll v0.3.9+0
  [efe28fd5] OpenSpecFun_jll v0.5.3+3
  [429524aa] Optim v0.20.6
  [bac558e1] OrderedCollections v1.1.0
  [1dea7af3] OrdinaryDiffEq v5.32.1
  [90014a1f] PDMats v0.9.12
  [d96e819e] Parameters v0.12.0
  [69de0a69] Parsers v0.3.12
  [e409e4f3] PoissonRandom v0.4.0
  [f27b6e38] Polynomials v0.6.1
  [2dfb63ee] PooledArrays v0.5.3
  [85a6dd25] PositiveFactorizations v0.2.3
  [8162dcfd] PrettyPrint v0.1.0
  [33c8b6b6] ProgressLogging v0.1.2
  [92933f4c] ProgressMeter v1.2.0
  [4f2c3c20] Pumas v0.11.0
  [1fd47b50] QuadGK v2.3.1
  [67601950] Quadrature v1.0.0
  [8a4e6c94] QuasiMonteCarlo v0.1.2
  [1a8c2f83] Query v0.12.2
  [2aef5ad7] QueryOperators v0.9.1
  [e6cf234a] RandomNumbers v1.4.0
  [b3c3ace0] RangeArrays v0.3.2
  [3cdcf5f2] RecipesBase v0.8.0
  [731186ca] RecursiveArrayTools v2.1.2
  [f2c3362d] RecursiveFactorization v0.1.0
  [189a3867] Reexport v0.2.0
  [ae029012] Requires v1.0.1
  [ae5879a3] ResettableStacks v1.0.0
  [37e2e3b7] ReverseDiff v1.1.0
  [79098fc4] Rmath v0.6.1
  [f50d1b31] Rmath_jll v0.2.2+0
  [f2b01f46] Roots v1.0.1
  [1bc83da4] SafeTestsets v0.0.1
  [6e75b9c4] ScikitLearnBase v0.5.0
  [1277b4bf] ShiftedArrays v1.0.0
  [699a6c99] SimpleTraits v0.9.1
  [ed01d8cd] Sobol v1.3.0
  [a2af1166] SortingAlgorithms v0.3.1
  [47a9eef4] SparseDiffTools v1.4.0
  [276daf66] SpecialFunctions v0.10.0
  [90137ffa] StaticArrays v0.12.1
  [2913bbd2] StatsBase v0.32.2
  [4c63d2b9] StatsFuns v0.9.4
  [3eaba693] StatsModels v0.6.10
  [789caeaf] StochasticDiffEq v6.19.1
  [09ab397b] StructArrays v0.4.3
  [5e66a065] TableShowUtils v0.2.5
  [3783bdb8] TableTraits v1.0.0
  [382cd787] TableTraitsUtils v1.0.1
  [bd369af6] Tables v1.0.3
  [5d786b92] TerminalLoggers v0.1.1
  [9f7883ad] Tracker v0.2.6
  [84d833dd] TransformVariables v0.3.4
  [a2a6695c] TreeViews v0.3.0
  [3a884ed6] UnPack v0.1.0
  [1986cc42] Unitful v1.0.0
  [19fa3120] VertexSafeGraphs v0.1.1
  [ea10d353] WeakRefStrings v0.6.2
  [e88e6eb3] Zygote v0.4.8
  [700de1a5] ZygoteRules v0.2.0
  [2a0f44e3] Base64 
  [ade2ca70] Dates 
  [8bb1440f] DelimitedFiles 
  [8ba89e20] Distributed 
  [9fa8497b] Future 
  [b77e0a4c] InteractiveUtils 
  [76f85450] LibGit2 
  [8f399da3] Libdl 
  [37e2e46d] LinearAlgebra 
  [56ddb016] Logging 
  [d6f4376e] Markdown 
  [a63ad114] Mmap 
  [44cfe95a] Pkg 
  [de0858da] Printf 
  [3fa0cd96] REPL 
  [9a3f8284] Random 
  [ea8e919c] SHA 
  [9e88b42a] Serialization 
  [1a1011a3] SharedArrays 
  [6462fe0b] Sockets 
  [2f01184e] SparseArrays 
  [10745b16] Statistics 
  [4607b0f0] SuiteSparse 
  [8dfed614] Test 
  [cf7118a7] UUIDs 
  [4ec0a83e] Unicode 
Test Summary:           |
Duplicate Example Check | No tests
 32.915112 seconds (28.22 M allocations: 1.365 GiB, 2.27% gc time)
Subject{NamedTuple{(:dv,),Tuple{Array{Union{Missing, Float64},1}}},Nothing,Array{Pumas.Event{Float64,Float64,Float64,Float64,Float64,Float64,Int64},1},Array{Float64,1},Pumas.NoCovar,Float64}[Subject
  ID: 1
  Events: 4
  Observables: dv: (n=73)
]Test Summary: | Pass  Total
Parsing Tests |   61     61
 53.652382 seconds (41.82 M allocations: 2.089 GiB, 2.70% gc time)
Test Summary: | Pass  Total
DSL           |   11     11
246.635643 seconds (252.45 M allocations: 14.207 GiB, 4.16% gc time)
Test Summary: | Pass  Total
Mixed PK      |    3      3
 29.903550 seconds (31.41 M allocations: 1.704 GiB, 2.76% gc time)
Test Summary: | Pass  Total
Parameters    |   11     11
  3.896903 seconds (3.61 M allocations: 193.723 MiB, 2.11% gc time)
Test Summary:       | Pass  Total
Single Dosage Tests |    5      5
 55.489937 seconds (49.38 M allocations: 2.816 GiB, 3.14% gc time)
Test Summary:         | Pass  Total
Multiple Dosage Tests |    4      4
 25.671182 seconds (24.32 M allocations: 1.431 GiB, 3.00% gc time)
Test Summary:         | Pass  Broken  Total
Generated Doses Tests |    5       2      7
 49.805413 seconds (42.49 M allocations: 2.498 GiB, 2.72% gc time)
Test Summary:          | Pass  Total
SS=2 and Overlap Tests |    2      2
 20.913960 seconds (17.19 M allocations: 1.056 GiB, 3.01% gc time)
Test Summary:   | Pass  Total
Eventless Tests |    1      1
  2.128738 seconds (2.44 M allocations: 121.259 MiB, 2.27% gc time)
Test Summary:            | Pass  Total
Template Model EV System |   95     95
105.134318 seconds (100.00 M allocations: 5.932 GiB, 3.73% gc time)
Test Summary:           | Pass  Total
Multiple Response Tests |    9      9
 48.656250 seconds (45.84 M allocations: 2.649 GiB, 3.28% gc time)
Test Summary:           | Pass  Total
DCP Rate Handling Tests |    3      3
 25.787115 seconds (23.07 M allocations: 1.244 GiB, 3.72% gc time)
Test Summary:                   |
Non-Constant Subject Type Tests | No tests
 27.238093 seconds (25.84 M allocations: 1.509 GiB, 3.78% gc time)
Test Summary:        | Broken  Total
Type-Stability Tests |      6      6
  1.614699 seconds (842.70 k allocations: 49.554 MiB)
Test Summary:     | Pass  Total
StaticArray Tests |    3      3
 59.476162 seconds (58.94 M allocations: 3.488 GiB, 3.08% gc time)
Test Summary:                | Pass  Total
Time-Varying Covariate Tests |    2      2
 54.110729 seconds (52.71 M allocations: 3.170 GiB, 4.88% gc time)
Test Summary: | Pass  Total
Neutropenia   |    1      1
 49.487178 seconds (49.62 M allocations: 2.641 GiB, 4.09% gc time)
Test Summary:  | Pass  Total
Error Handling |    6      6
 23.701880 seconds (20.22 M allocations: 1.211 GiB, 3.59% gc time)
Test Summary:                   | Pass  Broken  Total
Automatic Differentiation Tests |   14       4     18
795.886976 seconds (786.82 M allocations: 40.626 GiB, 3.86% gc time)
Test Summary:     | Pass  Total
Analytical models |   65     65
 16.563455 seconds (13.19 M allocations: 644.272 MiB, 1.92% gc time)
Test Summary:   | Pass  Total
User experience |    1      1
  1.219919 seconds (1.15 M allocations: 59.081 MiB)
364.678667 seconds (24.12 M allocations: 1.383 GiB, 0.92% gc time)
 51.482361 seconds (14.34 M allocations: 874.121 MiB, 6.89% gc time)
Test Summary:     | Pass  Total
Parallelism Tests |    3      3
416.178837 seconds (38.47 M allocations: 2.236 GiB, 1.66% gc time)
NCASubject:
  ID: 1
    concentration: mg L^-1
    time:          hr
    auc:           mg hr L^-1
    aumc:          mg hr^2 L^-1
    λz:            hr^-1
    dose:          NothingTest Summary: | Pass  Total
Input Tests   |   35     35
 52.263535 seconds (39.40 M allocations: 1.827 GiB, 3.44% gc time)
Test Summary:       | Pass  Broken  Total
Single Dosage Tests |  592      15    607
196.512655 seconds (131.06 M allocations: 6.452 GiB, 5.54% gc time)
Test Summary:         | Pass  Total
Multiple Dosage Tests |   51     51
199.059309 seconds (72.71 M allocations: 3.601 GiB, 12.05% gc time)
NCAPopulation (5 subjects):
  ID: [1, 2, 3, 4, 5]
  Group: ["METABOLITE" => "Metabolite 1", "METABOLITE" => "Metabolite 2", "METABOLITE" => "Metabolite 3", "METABOLITE" => "Metabolite 4"]
    concentration: Float64
    time:          Float64
    auc:           Float64
    aumc:          Float64
    λz:            Float64
    dose:          Float64NCASubject:
  ID: 1
  Group: "METABOLITE" => "Metabolite 1"
    concentration: Float64
    time:          Float64
    auc:           Float64
    aumc:          Float64
    λz:            Float64
    dose:          Float64Test Summary:  | Pass  Total
Grouping Tests |   15     15
 46.502028 seconds (27.17 M allocations: 1.340 GiB, 3.08% gc time)
Test Summary:  | Pass  Total
Infusion Tests |    8      8
  7.870669 seconds (8.74 M allocations: 439.530 MiB, 2.04% gc time)
┌ Warning: No concentration data given
└ @ Pumas.NCA ~/.juliapro/JuliaPro_v1.4.0-1/packages/Pumas/Kxgzs/src/nca/utils.jl:50
┌ Warning: No time data given
└ @ Pumas.NCA ~/.juliapro/JuliaPro_v1.4.0-1/packages/Pumas/Kxgzs/src/nca/utils.jl:62
┌ Warning: No concentration data given
└ @ Pumas.NCA ~/.juliapro/JuliaPro_v1.4.0-1/packages/Pumas/Kxgzs/src/nca/utils.jl:50
┌ Warning: No time data given
└ @ Pumas.NCA ~/.juliapro/JuliaPro_v1.4.0-1/packages/Pumas/Kxgzs/src/nca/utils.jl:62
Test Summary:           | Pass  Total
Pumas Integration Tests |   57     57
 36.709430 seconds (48.99 M allocations: 3.019 GiB, 3.20% gc time)
Test Summary: | Pass  Total
Urine Tests   |   35     35
 11.925364 seconds (19.09 M allocations: 1005.443 MiB, 3.13% gc time)
550.845215 seconds (347.14 M allocations: 17.650 GiB, 7.23% gc time)
261.372407 seconds (436.83 M allocations: 25.877 GiB, 3.81% gc time)
Calculating: variance-covariance matrix. Done.
Readme roundtrip: Test Failed at /Users/rodani14/.juliapro/JuliaPro_v1.4.0-1/packages/Pumas/Kxgzs/test/nlme/single_subject.jl:114
  Expression: sprint(((io, t)->begin
                show(io, (MIME"text/plain")(), t)
            end), infer(fitnp)) == "FittedPumasModelInference\n\nSuccessful minimization:                true\n\nLikelihood approximation:  Pumas.NaivePooled\nDeviance:                        1.4996119e6\nTotal number of observation records:  121000\nNumber of active observation records: 121000\nNumber of subjects:                     1000\n\n--------------------------------------------------------------------\n          Estimate           SE                      95.0% C.I.\n--------------------------------------------------------------------\ntvcl       3.9995          0.0031928         [ 3.9933  ;  4.0058  ]\ntvv       69.907           0.093962          [69.723   ; 70.092   ]\npmoncl    -0.69962         0.00059607        [-0.70079 ; -0.69845 ]\nσ_prop     0.040164        0.00017112        [ 0.039828;  0.040499]\n--------------------------------------------------------------------\n"
   Evaluated: "FittedPumasModelInference\n\nSuccessful minimization:                true\n\nLikelihood approximation:  Pumas.NaivePooled\nDeviance:                        1.4992595e6\nTotal number of observation records:  121000\nNumber of active observation records: 121000\nNumber of subjects:                     1000\n\n--------------------------------------------------------------------\n          Estimate           SE                      95.0% C.I.\n--------------------------------------------------------------------\ntvcl       3.9973          0.0033449         [ 3.9907  ;  4.0039  ]\ntvv       69.972           0.093451          [69.789   ; 70.156   ]\npmoncl    -0.70018         0.00060726        [-0.70137 ; -0.69899 ]\nσ_prop     0.039998        0.0001654         [ 0.039674;  0.040322]\n--------------------------------------------------------------------\n" == "FittedPumasModelInference\n\nSuccessful minimization:                true\n\nLikelihood approximation:  Pumas.NaivePooled\nDeviance:                        1.4996119e6\nTotal number of observation records:  121000\nNumber of active observation records: 121000\nNumber of subjects:                     1000\n\n--------------------------------------------------------------------\n          Estimate           SE                      95.0% C.I.\n--------------------------------------------------------------------\ntvcl       3.9995          0.0031928         [ 3.9933  ;  4.0058  ]\ntvv       69.907           0.093962          [69.723   ; 70.092   ]\npmoncl    -0.69962         0.00059607        [-0.70079 ; -0.69845 ]\nσ_prop     0.040164        0.00017112        [ 0.039828;  0.040499]\n--------------------------------------------------------------------\n"
Stacktrace:
 [1] top-level scope at /Users/rodani14/.juliapro/JuliaPro_v1.4.0-1/packages/Pumas/Kxgzs/test/nlme/single_subject.jl:114
 [2] top-level scope at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.4.app/Contents/Resources/julia/share/julia/stdlib/v1.4/Test/src/Test.jl:1113
 [3] top-level scope at /Users/rodani14/.juliapro/JuliaPro_v1.4.0-1/packages/Pumas/Kxgzs/test/nlme/single_subject.jl:38
Readme roundtrip: Test Failed at /Users/rodani14/.juliapro/JuliaPro_v1.4.0-1/packages/Pumas/Kxgzs/test/nlme/single_subject.jl:137
  Expression: sprint(((io, t)->begin
                show(io, (MIME"text/plain")(), t)
            end), fit2s) == "Vector{<:FittedPumasModel} with 1000 entries\n\nParameter statistics\n-------------------------------------\n          Mean               Std\n-------------------------------------\ntvcl       3.9988          0.083047\ntvv       70.001           2.9683\npmoncl    -0.70006         0.0045627\nσ_prop     0.039554        0.0053568\n-------------------------------------\n"
   Evaluated: "Vector{<:FittedPumasModel} with 1000 entries\n\nParameter statistics\n-------------------------------------\n          Mean               Std\n-------------------------------------\ntvcl       3.9947          0.086455\ntvv       70.054           2.9754\npmoncl    -0.70028         0.0047259\nσ_prop     0.039374        0.005178\n-------------------------------------\n" == "Vector{<:FittedPumasModel} with 1000 entries\n\nParameter statistics\n-------------------------------------\n          Mean               Std\n-------------------------------------\ntvcl       3.9988          0.083047\ntvv       70.001           2.9683\npmoncl    -0.70006         0.0045627\nσ_prop     0.039554        0.0053568\n-------------------------------------\n"
Stacktrace:
 [1] top-level scope at /Users/rodani14/.juliapro/JuliaPro_v1.4.0-1/packages/Pumas/Kxgzs/test/nlme/single_subject.jl:137
 [2] top-level scope at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.4.app/Contents/Resources/julia/share/julia/stdlib/v1.4/Test/src/Test.jl:1113
 [3] top-level scope at /Users/rodani14/.juliapro/JuliaPro_v1.4.0-1/packages/Pumas/Kxgzs/test/nlme/single_subject.jl:38
Calculating: variance-covariance matrix. Done.
Calculating: variance-covariance matrix. Done.
Calculating: variance-covariance matrix. Done.
Calculating: variance-covariance matrix. Done.
Calculating: variance-covariance matrix. Done.
 78.652443 seconds (100.28 M allocations: 11.777 GiB, 4.73% gc time)
 28.464731 seconds (43.90 M allocations: 5.470 GiB, 6.25% gc time)
Calculating: variance-covariance matrix. Failed.
Calculating: variance-covariance matrix. Failed.
 14.456861 seconds (22.38 M allocations: 1.181 GiB, 3.66% gc time)
Test Summary:                       | Pass  Fail  Total
Maximum-likelihood interface        |   45     2     47
  Types (constructors, api, etc...) |   26           26
  Naive estimation                  |   17     2     19
    Single subject                  |    6            6
    Readme roundtrip                |    1     2      3
    with random                     |   10           10
  Show methods                      |             No tests
  Soft failing infer                |    2            2
ERROR: LoadError: LoadError: Some tests did not pass: 45 passed, 2 failed, 0 errored, 0 broken.
in expression starting at /Users/rodani14/.juliapro/JuliaPro_v1.4.0-1/packages/Pumas/Kxgzs/test/nlme/runtests.jl:4
in expression starting at /Users/rodani14/.juliapro/JuliaPro_v1.4.0-1/packages/Pumas/Kxgzs/test/runtests.jl:12
ERROR: Package Pumas errored during testing
Stacktrace:
 [1] pkgerror(::String, ::Vararg{String,N} where N) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.4.app/Contents/Resources/julia/share/julia/stdlib/v1.4/Pkg/src/Types.jl:53
 [2] test(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.4.app/Contents/Resources/julia/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:1503
 [3] test(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.4.app/Contents/Resources/julia/share/julia/stdlib/v1.4/Pkg/src/API.jl:316
 [4] test(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.4.app/Contents/Resources/julia/share/julia/stdlib/v1.4/Pkg/src/API.jl:303
 [5] #test#68 at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.4.app/Contents/Resources/julia/share/julia/stdlib/v1.4/Pkg/src/API.jl:297 [inlined]
 [6] test at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.4.app/Contents/Resources/julia/share/julia/stdlib/v1.4/Pkg/src/API.jl:297 [inlined]
 [7] #test#67 at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.4.app/Contents/Resources/julia/share/julia/stdlib/v1.4/Pkg/src/API.jl:296 [inlined]
 [8] test at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.4.app/Contents/Resources/julia/share/julia/stdlib/v1.4/Pkg/src/API.jl:296 [inlined]
 [9] test(::String; kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.4.app/Contents/Resources/julia/share/julia/stdlib/v1.4/Pkg/src/API.jl:295
 [10] test(::String) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.4.app/Contents/Resources/julia/share/julia/stdlib/v1.4/Pkg/src/API.jl:295
 [11] top-level scope at none:0

julia>

Hi Daniel

Thanks for reporting this. The reason for the test failure is that we are running our test suite single threaded while you are running your code multithreaded (because that’s the default in JuliaPro). The failing test sets the seed for the random number generator, then simulates data with simobs and fits the model. The current default for simobs is to use multiple threads which means that the results are only reproducible when running the tests single threaded. Hence, the test failure doesn’t indicate a problem with the fitting function but is just a result of a different sequence of random numbers used in the simulation. The test failure will be resolved in the next release of Pumas.

1 Like