Skip to content

CompatHelper: bump compat for Optim to 2, (keep existing compat) #472

CompatHelper: bump compat for Optim to 2, (keep existing compat)

CompatHelper: bump compat for Optim to 2, (keep existing compat) #472

Triggered via pull request January 10, 2026 01:56
Status Failure
Total duration 7m 3s
Artifacts

Documenter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build: ../../../.julia/packages/Documenter/xvqbW/src/utilities/utilities.jl#L47
failed to run `@example` block in docs/src/index.md:56-67 ```@example using Copulas, Distributions, Random, Plots X₁ = Gamma(2,3) X₂ = Beta(1,4) X₃ = Normal() C = ClaytonCopula(3,5.2) # A 3-variate Clayton Copula with θ = 0.7 D = SklarDist(C,(X₁,X₂,X₃)) # The final distribution simu = rand(D,1000) # Generate a dataset D̂ = fit(SklarDist{ClaytonCopula,Tuple{Gamma,Normal,Normal}}, simu) # estimate a model plot(D̂) # plot the result ``` exception = TypeError: in keyword argument autodiff, expected ADTypes.AbstractADType, got a value of type Symbol Stacktrace: [1] _fit(CT::Type{ClaytonCopula}, U::Matrix{Float64}, ::Val{:mle}; start::Symbol, xtol::Float64) @ Copulas ~/work/Copulas.jl/Copulas.jl/src/ArchimedeanCopula.jl:242 [2] _fit(CT::Type{ClaytonCopula}, U::Matrix{Float64}, ::Val{:mle}) @ Copulas ~/work/Copulas.jl/Copulas.jl/src/ArchimedeanCopula.jl:228 [3] macro expansion @ ./timing.jl:461 [inlined] [4] fit(::Type{CopulaModel}, CT::Type{ClaytonCopula}, U::Matrix{Float64}; method::Symbol, quick_fit::Bool, derived_measures::Bool, vcov::Bool, vcov_method::Nothing, kwargs::@kwargs{}) @ Copulas ~/work/Copulas.jl/Copulas.jl/src/Fitting.jl:200 [5] fit @ ~/work/Copulas.jl/Copulas.jl/src/Fitting.jl:195 [inlined] [6] fit(::Type{CopulaModel}, ::Type{SklarDist{ClaytonCopula, Tuple{Distributions.Gamma, Distributions.Normal, Distributions.Normal}}}, X::Matrix{Float64}; quick_fit::Bool, copula_method::Symbol, sklar_method::Symbol, margins_kwargs::@NamedTuple{}, copula_kwargs::@NamedTuple{}, derived_measures::Bool, vcov::Bool, vcov_method::Nothing) @ Copulas ~/work/Copulas.jl/Copulas.jl/src/Fitting.jl:266 [7] fit @ ~/work/Copulas.jl/Copulas.jl/src/Fitting.jl:242 [inlined] [8] fit(T::Type{SklarDist{ClaytonCopula, Tuple{Distributions.Gamma, Distributions.Normal, Distributions.Normal}}}, U::Matrix{Float64}) @ Copulas ~/work/Copulas.jl/Copulas.jl/src/Fitting.jl:140 [9] top-level scope @ index.md:65 [10] eval(m::Module, e::Any) @ Core ./boot.jl:489 [11] #61 @ ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:879 [inlined] [12] cd(f::Documenter.var"#61#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [13] (::Documenter.var"#59#60"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:878 [14] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#59#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [15] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#59#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:542 [16] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:653 [17] capture(f::Documenter.var"#59#60"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [18] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:877
build: ../../../.julia/packages/Documenter/xvqbW/src/utilities/utilities.jl#L47
failed to run `@example` block in docs/src/examples/lossalae.md:108-117 ```@example 6 using StatsBase Uhat = Copulas.pseudos(data) S = reduce(hcat, (rosenblatt(fit_clayton.C, Uhat[:,i]) for i in 1:size(Uhat,1))) ts = range(0.0, 1.0; length=400) E1 = ecdf(S[1,:]); E2 = ecdf(S[2,:]) plot(ts, ts; label="Uniform", color=:blue) plot!(ts, E1.(ts); seriestype=:steppost, label="s₁", color=:black) plot!(ts, E2.(ts); seriestype=:steppost, label="s₂", color=:gray) ``` exception = UndefVarError: `fit_clayton` not defined in `Main.__atexample__named__6` Suggestion: add an appropriate import or assignment. This global was declared but not assigned. Stacktrace: [1] (::Main.__atexample__named__6.var"#5#6")(i::Int64) @ Main.__atexample__named__6 ./none:-1 [2] MappingRF @ ./reduce.jl:92 [inlined] [3] _foldl_impl(op::Base.MappingRF{Main.__atexample__named__6.var"#5#6", Base.BottomRF{typeof(hcat)}}, init::Base._InitialValue, itr::UnitRange{Int64}) @ Base ./reduce.jl:50 [4] foldl_impl @ ./reduce.jl:40 [inlined] [5] mapfoldl_impl(f::typeof(identity), op::typeof(hcat), nt::Base._InitialValue, itr::Base.Generator{UnitRange{Int64}, Main.__atexample__named__6.var"#5#6"}) @ Base ./reduce.jl:36 [6] mapfoldl(f::Function, op::Function, itr::Base.Generator{UnitRange{Int64}, Main.__atexample__named__6.var"#5#6"}; init::Base._InitialValue) @ Base ./reduce.jl:167 [7] mapfoldl @ ./reduce.jl:167 [inlined] [8] mapreduce @ ./reduce.jl:299 [inlined] [9] reduce(op::Function, itr::Base.Generator{UnitRange{Int64}, Main.__atexample__named__6.var"#5#6"}) @ Base ./reduce.jl:479 [10] top-level scope @ lossalae.md:111 [11] eval(m::Module, e::Any) @ Core ./boot.jl:489 [12] #61 @ ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:879 [inlined] [13] cd(f::Documenter.var"#61#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [14] (::Documenter.var"#59#60"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:878 [15] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#59#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [16] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#59#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:542 [17] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:653 [18] capture(f::Documenter.var"#59#60"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [19] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:877
build: ../../../.julia/packages/Documenter/xvqbW/src/utilities/utilities.jl#L47
failed to run `@example` block in docs/src/examples/lossalae.md:91-104 ```@example 6 using Copulas: MCopula Cs = ( fit_gaussian.C, fit_clayton.C, fit_gumbel.C, fit_frank.C, MCopula(2), ) labels = ("Gaussian", "Clayton", "Gumbel", "Frank", "M bound") ps = [plot(C, :pdf; seriestype=:contourf, aspect_ratio=1, c=:viridis, title=labels[i]) for (i,C) in enumerate(Cs)] plot(ps...; layout=(2,3), size=(950,600)) ``` exception = UndefVarError: `fit_clayton` not defined in `Main.__atexample__named__6` Suggestion: add an appropriate import or assignment. This global was declared but not assigned. Stacktrace: [1] top-level scope @ lossalae.md:93 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] #61 @ ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:879 [inlined] [4] cd(f::Documenter.var"#61#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#59#60"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:878 [6] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#59#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#59#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:542 [8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:653 [9] capture(f::Documenter.var"#59#60"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:877
build: ../../../.julia/packages/Documenter/xvqbW/src/utilities/utilities.jl#L47
failed to run `@example` block in docs/src/examples/lossalae.md:78-81 ```@example 6 u = rand(fit_clayton.C, 1500) scatter(u[1,:],u[2,:]) ``` exception = UndefVarError: `fit_clayton` not defined in `Main.__atexample__named__6` Suggestion: add an appropriate import or assignment. This global was declared but not assigned. Stacktrace: [1] top-level scope @ lossalae.md:79 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] #61 @ ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:879 [inlined] [4] cd(f::Documenter.var"#61#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#59#60"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:878 [6] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#59#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#59#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:542 [8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:653 [9] capture(f::Documenter.var"#59#60"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:877
build: ../../../.julia/packages/Documenter/xvqbW/src/utilities/utilities.jl#L47
failed to run `@example` block in docs/src/examples/lossalae.md:68-74 ```@example 6 n = size(data,2) plot( scatter(sort(log.(loss)), log.(quantile.(Ref(fit_clayton.m[1]),(1:n)./(n+1))), label="Loss"), scatter(sort(log.(alae)), log.(quantile.(Ref(fit_clayton.m[2]),(1:n)./(n+1))), label="Alae") ) ``` exception = UndefVarError: `fit_clayton` not defined in `Main.__atexample__named__6` Suggestion: add an appropriate import or assignment. This global was declared but not assigned. Stacktrace: [1] top-level scope @ lossalae.md:70 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] #61 @ ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:879 [inlined] [4] cd(f::Documenter.var"#61#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#59#60"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:878 [6] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#59#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#59#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:542 [8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:653 [9] capture(f::Documenter.var"#59#60"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:877
build: ../../../.julia/packages/Documenter/xvqbW/src/utilities/utilities.jl#L47
failed to run `@example` block in docs/src/examples/lossalae.md:49-51 ```@example 6 fit_clayton ``` exception = UndefVarError: `fit_clayton` not defined in `Main.__atexample__named__6` Suggestion: add an appropriate import or assignment. This global was declared but not assigned. Stacktrace: [1] eval(m::Module, e::Any) @ Core ./boot.jl:489 [2] #61 @ ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:879 [inlined] [3] cd(f::Documenter.var"#61#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [4] (::Documenter.var"#59#60"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:878 [5] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#59#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [6] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#59#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:542 [7] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:653 [8] capture(f::Documenter.var"#59#60"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [9] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:877
build: ../../../.julia/packages/Documenter/xvqbW/src/utilities/utilities.jl#L47
failed to run `@example` block in docs/src/examples/lossalae.md:57-59 ```@example 6 nllhs = [-loglikelihood(fit,data) for fit in (fit_gaussian,fit_clayton,fit_gumbel,fit_frank)] ``` exception = UndefVarError: `fit_clayton` not defined in `Main.__atexample__named__6` Suggestion: add an appropriate import or assignment. This global was declared but not assigned. Stacktrace: [1] top-level scope @ lossalae.md:58 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] #61 @ ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:879 [inlined] [4] cd(f::Documenter.var"#61#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#59#60"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:878 [6] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#59#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#59#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:542 [8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:653 [9] capture(f::Documenter.var"#59#60"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:877
build: ../../../.julia/packages/Documenter/xvqbW/src/utilities/utilities.jl#L47
failed to run `@example` block in docs/src/examples/lossalae.md:48-54 ```@example 6 fit_gaussian = fit(SklarDist{GaussianCopula,Tuple{LogNormal,LogNormal}}, data) fit_clayton = fit(SklarDist{ClaytonCopula,Tuple{LogNormal,LogNormal}}, data) fit_gumbel = fit(SklarDist{GumbelCopula,Tuple{LogNormal,LogNormal}}, data) fit_frank = fit(SklarDist{FrankCopula,Tuple{LogNormal,LogNormal}}, data) nothing # hide ``` exception = TypeError: in keyword argument autodiff, expected ADTypes.AbstractADType, got a value of type Symbol Stacktrace: [1] _fit(CT::Type{ClaytonCopula}, U::Matrix{Float64}, ::Val{:mle}; start::Symbol, xtol::Float64) @ Copulas ~/work/Copulas.jl/Copulas.jl/src/ArchimedeanCopula.jl:242 [2] _fit(CT::Type{ClaytonCopula}, U::Matrix{Float64}, ::Val{:mle}) @ Copulas ~/work/Copulas.jl/Copulas.jl/src/ArchimedeanCopula.jl:228 [3] macro expansion @ ./timing.jl:461 [inlined] [4] fit(::Type{CopulaModel}, CT::Type{ClaytonCopula}, U::Matrix{Float64}; method::Symbol, quick_fit::Bool, derived_measures::Bool, vcov::Bool, vcov_method::Nothing, kwargs::@kwargs{}) @ Copulas ~/work/Copulas.jl/Copulas.jl/src/Fitting.jl:200 [5] fit @ ~/work/Copulas.jl/Copulas.jl/src/Fitting.jl:195 [inlined] [6] fit(::Type{CopulaModel}, ::Type{SklarDist{ClaytonCopula, Tuple{Distributions.LogNormal, Distributions.LogNormal}}}, X::Matrix{Float64}; quick_fit::Bool, copula_method::Symbol, sklar_method::Symbol, margins_kwargs::@NamedTuple{}, copula_kwargs::@NamedTuple{}, derived_measures::Bool, vcov::Bool, vcov_method::Nothing) @ Copulas ~/work/Copulas.jl/Copulas.jl/src/Fitting.jl:266 [7] fit @ ~/work/Copulas.jl/Copulas.jl/src/Fitting.jl:242 [inlined] [8] fit(T::Type{SklarDist{ClaytonCopula, Tuple{Distributions.LogNormal, Distributions.LogNormal}}}, U::Matrix{Float64}) @ Copulas ~/work/Copulas.jl/Copulas.jl/src/Fitting.jl:140 [9] top-level scope @ lossalae.md:50 [10] eval(m::Module, e::Any) @ Core ./boot.jl:489 [11] #61 @ ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:879 [inlined] [12] cd(f::Documenter.var"#61#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [13] (::Documenter.var"#59#60"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:878 [14] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#59#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [15] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#59#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:542 [16] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:653 [17] capture(f::Documenter.var"#59#60"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [18] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:877
build: ../../../.julia/packages/Documenter/xvqbW/src/utilities/utilities.jl#L47
failed to run `@example` block in docs/src/examples/fitting_sklar.md:45-51 ```@example 5 U = Copulas.pseudos(data) # pseudo-observations (uniforms) Usim = rand(fitted_model.C, size(data,2)) # simulate same length from fitted copula P1 = scatter(U[1,:], U[2,:]; ms=2, alpha=0.6, xlim=(0,1), ylim=(0,1), title="Empirical uniforms", legend=false) P2 = scatter(Usim[1,:], Usim[2,:]; ms=2, alpha=0.6, xlim=(0,1), ylim=(0,1), title="Fitted copula uniforms", legend=false) plot(P1, P2; layout=(1,2), size=(850,350)) ``` exception = UndefVarError: `fitted_model` not defined in `Main.__atexample__named__5` Suggestion: add an appropriate import or assignment. This global was declared but not assigned. Stacktrace: [1] top-level scope @ fitting_sklar.md:47 [2] eval(m::Module, e::Any) @ Core ./boot.jl:489 [3] #61 @ ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:879 [inlined] [4] cd(f::Documenter.var"#61#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#59#60"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:878 [6] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#59#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#59#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:542 [8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:653 [9] capture(f::Documenter.var"#59#60"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:877
build: ../../../.julia/packages/Documenter/xvqbW/src/utilities/utilities.jl#L47
failed to run `@example` block in docs/src/examples/fitting_sklar.md:20-25 ```@example 5 MyCop = SurvivalCopula{4,ClaytonCopula,(2,4)} MyMargs = Tuple{LogNormal,Pareto,Gamma,Normal} MyD = SklarDist{MyCop, MyMargs} fitted_model = fit(MyD,data) ``` exception = TypeError: in keyword argument autodiff, expected ADTypes.AbstractADType, got a value of type Symbol Stacktrace: [1] _fit(CT::Type{ClaytonCopula}, U::Matrix{Float64}, ::Val{:mle}; start::Symbol, xtol::Float64) @ Copulas ~/work/Copulas.jl/Copulas.jl/src/ArchimedeanCopula.jl:242 [2] _fit(CT::Type{ClaytonCopula}, U::Matrix{Float64}, ::Val{:mle}) @ Copulas ~/work/Copulas.jl/Copulas.jl/src/ArchimedeanCopula.jl:228 [3] _fit(::Type{SurvivalCopula{4, ClaytonCopula, (2, 4)}}, U::Matrix{Float64}, m::Val{:mle}; kwargs::@kwargs{}) @ Copulas ~/work/Copulas.jl/Copulas.jl/src/MiscellaneousCopulas/SurvivalCopula.jl:93 [4] _fit(::Type{SurvivalCopula{4, ClaytonCopula, (2, 4)}}, U::Matrix{Float64}, m::Val{:mle}) @ Copulas ~/work/Copulas.jl/Copulas.jl/src/MiscellaneousCopulas/SurvivalCopula.jl:88 [5] macro expansion @ ./timing.jl:461 [inlined] [6] fit(::Type{CopulaModel}, CT::Type{SurvivalCopula{4, ClaytonCopula, (2, 4)}}, U::Matrix{Float64}; method::Symbol, quick_fit::Bool, derived_measures::Bool, vcov::Bool, vcov_method::Nothing, kwargs::@kwargs{}) @ Copulas ~/work/Copulas.jl/Copulas.jl/src/Fitting.jl:200 [7] fit @ ~/work/Copulas.jl/Copulas.jl/src/Fitting.jl:195 [inlined] [8] fit(::Type{CopulaModel}, ::Type{SklarDist{SurvivalCopula{4, ClaytonCopula, (2, 4)}, Tuple{Distributions.LogNormal, Distributions.Pareto, Distributions.Gamma, Distributions.Normal}}}, X::Matrix{Float64}; quick_fit::Bool, copula_method::Symbol, sklar_method::Symbol, margins_kwargs::@NamedTuple{}, copula_kwargs::@NamedTuple{}, derived_measures::Bool, vcov::Bool, vcov_method::Nothing) @ Copulas ~/work/Copulas.jl/Copulas.jl/src/Fitting.jl:266 [9] fit @ ~/work/Copulas.jl/Copulas.jl/src/Fitting.jl:242 [inlined] [10] fit(T::Type{SklarDist{SurvivalCopula{4, ClaytonCopula, (2, 4)}, Tuple{Distributions.LogNormal, Distributions.Pareto, Distributions.Gamma, Distributions.Normal}}}, U::Matrix{Float64}) @ Copulas ~/work/Copulas.jl/Copulas.jl/src/Fitting.jl:140 [11] top-level scope @ fitting_sklar.md:24 [12] eval(m::Module, e::Any) @ Core ./boot.jl:489 [13] #61 @ ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:879 [inlined] [14] cd(f::Documenter.var"#61#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [15] (::Documenter.var"#59#60"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:878 [16] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#59#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [17] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#59#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:542 [18] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:653 [19] capture(f::Documenter.var"#59#60"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [20] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/xvqbW/src/expander_pipeline.jl:877