Skip to content

Fixed failing doctests because of changes to Random.jl #2679

Fixed failing doctests because of changes to Random.jl

Fixed failing doctests because of changes to Random.jl #2679

Triggered via pull request October 10, 2024 16:15
Status Failure
Total duration 1h 13m 26s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 notices
Documentation: src/abstractdataframe/abstractdataframe.jl#L2587
doctest failure in ~/work/DataFrames.jl/DataFrames.jl/src/abstractdataframe/abstractdataframe.jl:2587-2602 ```jldoctest julia> using Random julia> rng = MersenneTwister(1234); julia> shuffle!(rng, DataFrame(a=1:5, b=1:5)) 5×2 DataFrame Row │ a b │ Int64 Int64 ─────┼────────────── 1 │ 3 3 2 │ 4 4 3 │ 1 1 4 │ 2 2 5 │ 5 5 ``` Subexpression: shuffle!(rng, DataFrame(a=1:5, b=1:5)) Evaluated output: 5×2 DataFrame Row │ a b │ Int64 Int64 ─────┼────────────── 1 │ 2 2 2 │ 1 1 3 │ 4 4 4 │ 3 3 5 │ 5 5 Expected output: 5×2 DataFrame Row │ a b │ Int64 Int64 ─────┼────────────── 1 │ 3 3 2 │ 4 4 3 │ 1 1 4 │ 2 2 5 │ 5 5 diff = Warning: Diff output requires color. 5×2 DataFrame Row │ a b │ Int64 Int64 ─────┼────────────── 1 │ 3 3 2 2 2 │ 4 4 3 │ 1 1 3 │ 4 4 4 │ 2 2 3 3 5 │ 5 5
Documentation: src/abstractdataframe/abstractdataframe.jl#L2549
doctest failure in ~/work/DataFrames.jl/DataFrames.jl/src/abstractdataframe/abstractdataframe.jl:2549-2564 ```jldoctest julia> using Random julia> rng = MersenneTwister(1234); julia> shuffle(rng, DataFrame(a=1:5, b=1:5)) 5×2 DataFrame Row │ a b │ Int64 Int64 ─────┼────────────── 1 │ 3 3 2 │ 4 4 3 │ 1 1 4 │ 2 2 5 │ 5 5 ``` Subexpression: shuffle(rng, DataFrame(a=1:5, b=1:5)) Evaluated output: 5×2 DataFrame Row │ a b │ Int64 Int64 ─────┼────────────── 1 │ 2 2 2 │ 1 1 3 │ 4 4 4 │ 3 3 5 │ 5 5 Expected output: 5×2 DataFrame Row │ a b │ Int64 Int64 ─────┼────────────── 1 │ 3 3 2 │ 4 4 3 │ 1 1 4 │ 2 2 5 │ 5 5 diff = Warning: Diff output requires color. 5×2 DataFrame Row │ a b │ Int64 Int64 ─────┼────────────── 1 │ 3 3 2 2 2 │ 4 4 3 │ 1 1 3 │ 4 4 4 │ 2 2 3 3 5 │ 5 5
Documentation
Process completed with exit code 1.
Julia 1.6 - ubuntu-latest - x64 - pull_request
[setup-julia] If you are testing 1.6 as a Long Term Support (lts) version, consider using the new "lts" version specifier instead of "1.6" explicitly, which will automatically resolve the current lts.
[julia-buildpkg] Caching of the julia depot was not detected
Consider using `julia-actions/cache` to speed up runs https://github.com/julia-actions/cache. To ignore, set input `ignore-no-cache: true`