Skip to content

fix #1 & add unittest #63

fix #1 & add unittest

fix #1 & add unittest #63

Triggered via push January 11, 2024 17:43
Status Success
Total duration 33m 46s
Billable time 1h 5m
Artifacts

ci.yml

on: push
Matrix: Documentation
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

29 warnings
Documentation (1.8.4, 4.2.1): ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/examples/gp.md:7-34 ```@example gp using Random using Plots using LaTeXStrings using MonotoneDecomposition: sigmoid, gp function plot_functions() n = 100 Random.seed!(1) x = sort(rand(n)) * 2 .- 1 figsize = (400, 400) fig1 = plot(x, x .^ 3, label = L"x^3", ls = :solid, size = figsize, legend = :top) plot!(fig1, x, x .^ 2, label = L"x^2", ls = :dash) plot!(fig1, x, exp.(x) .- 1, label = L"\exp(x)-1", ls = :dot) plot!(fig1, x, sigmoid.(x), label = L"1/(1+\exp(-5x))", ls = :dashdot) plot!(fig1, x, sin.(2π * x), label = L"\sin(2\pi x)", ls = :dashdotdot) # plot(x, gp(x, kernel = "SE_0.1")) fig2 = plot(x, gp(x, kernel = "SE_1"), label = "SE_1", ls = :solid, size = figsize, legend = :topright) plot!(fig2, x, gp(x, kernel = "SE_0.1"), label = "SE_0.1", ls = :dash) plot!(fig2, x, gp(x, kernel = "SE_0.5"), label = "SE_0.5", ls = :dot) fig3 = plot(x, gp(x, kernel = "Mat12_1"), label = "Mat12", ls = :solid, size = figsize, legend = :topleft) plot!(fig3, x, gp(x, kernel = "Mat32_1"), label = "Mat32", ls = :dash) plot!(fig3, x, gp(x, kernel = "Mat52_1"), label = "Mat52", ls = :dot) plot!(fig3, x, gp(x, kernel = "RQ_1_0.5"), label = "RQ", ls = :dashdot) plot!(fig3, x, gp(x, kernel = "Periodic_1_1"), ls = :dashdotdot, label = "Periodic") return plot(fig1, fig2, fig3, layout = (1, 3), size = (3*figsize[1], figsize[2]) ) # savefig("~/PGitHub/overleaf/MonoDecomp/figs/funcs.pdf") # saved for paper end ``` value = ArgumentError: Package LaTeXStrings not found in current path. - Run `import Pkg; Pkg.add("LaTeXStrings")` to install the LaTeXStrings package.
Documentation (1.8.4, 4.2.1): ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/examples/gp.md:12-14 ```@example gp plot_functions() ``` value = UndefVarError: plot_functions not defined
Documentation (1.8.4, 4.2.1): ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/examples/md_SE.md:26-31 ```@example md_SE ss = 10.0 .^ (-6:0.1:0) D, μmin, μs, errs, σerrs, yhat, yhatnew = cv_mono_decomp_cs(x, y, ss = ss, fixJ = true, x0 = x0); nothing #hide ``` value = BoundsError: attempt to access Tuple{MonotoneDecomposition.MonoDecomp{Float64}, Float64, Matrix{Float64}, Matrix{Float64}} at index [5]
Documentation (1.8.4, 4.2.1): ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/examples/md_SE.md:35-37 ```@example md_SE plot([x, y], [x0, y0], D, yhatnew, prefix_title = "SE (ℓ = 1, σ = 0.5): ") ``` value = UndefVarError: yhatnew not defined
Documentation (1.8.4, 4.2.1): ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/examples/md_SE.md:41-43 ```@example md_SE cvplot(errs, σerrs, 1.0 * D.workspace.J:D.workspace.J, μs) ``` value = UndefVarError: σerrs not defined
Documentation (1.8.4, 4.2.1): ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/examples/md_SE.md:47-53 ```@example md_SE Js = 4:50 D, μmin, μs, errs, σerrs = cv_mono_decomp_cs(x, y, ss = ss, fixJ = false, x0 = x0, Js = Js); J, yhat, yhatnew = cv_cubic_spline(x, y, x0, Js = Js) plot([x, y], [x0, y0], D, yhatnew, prefix_title = "SE (ℓ = 1, σ = 0.5): ") ``` value = BoundsError: attempt to access Tuple{MonotoneDecomposition.MonoDecomp{Float64}, Float64, Matrix{Float64}, Matrix{Float64}} at index [5]
Documentation (1.8.4, 4.2.1): ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/examples/md_SE.md:57-59 ```@example md_SE cvplot(errs, σerrs, Js * 1.0, ss) ``` value = UndefVarError: σerrs not defined
Documentation (1.8.4, 4.2.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Documentation (1.8.4, 4.2.1)
no DISPLAY variable so Tk is not available
Documentation (1.8.4, 4.2.1)
no DISPLAY variable so Tk is not available
Documentation (1.8.4, 4.2.1)
no DISPLAY variable so Tk is not available
Documentation (1.8.4, 4.2.1)
no DISPLAY variable so Tk is not available
Documentation (1.8.4, 4.2.1)
no DISPLAY variable so Tk is not available
Documentation (1.8.4, 4.2.1)
no DISPLAY variable so Tk is not available
Documentation (1.8.4, 4.2.1)
Fortran 2018 deleted feature: Arithmetic IF statement at (1)
Documentation (1.8.4, 4.2.1)
Fortran 2018 deleted feature: Arithmetic IF statement at (1)
Documentation (1.8.4, 4.2.1)
Fortran 2018 deleted feature: Arithmetic IF statement at (1)
Documentation (1.8.4, 4.2.1)
Fortran 2018 deleted feature: Arithmetic IF statement at (1)
test (1.8.4, 4.2.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (1.8.4, 4.2.1)
no DISPLAY variable so Tk is not available
test (1.8.4, 4.2.1)
no DISPLAY variable so Tk is not available
test (1.8.4, 4.2.1)
no DISPLAY variable so Tk is not available
test (1.8.4, 4.2.1)
no DISPLAY variable so Tk is not available
test (1.8.4, 4.2.1)
no DISPLAY variable so Tk is not available
test (1.8.4, 4.2.1)
no DISPLAY variable so Tk is not available
test (1.8.4, 4.2.1)
Fortran 2018 deleted feature: Arithmetic IF statement at (1)
test (1.8.4, 4.2.1)
Fortran 2018 deleted feature: Arithmetic IF statement at (1)
test (1.8.4, 4.2.1)
Fortran 2018 deleted feature: Arithmetic IF statement at (1)
test (1.8.4, 4.2.1)
Fortran 2018 deleted feature: Arithmetic IF statement at (1)