Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHatherly committed Nov 22, 2024
1 parent dd91dbc commit 90349bc
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions test/testsets/integrations/RCall.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ test_example(joinpath(@__DIR__, "../../examples/integrations/RCall.qmd")) do jso
Dict("width" => 600, "height" => 450)
end

test_example(joinpath(@__DIR__, "../../examples/integrations/RCallSVG.qmd")) do json
cells = json["cells"]
cell = cells[4]
output = cell["outputs"][1]
# Don't run this on macOS CI, since that appears to be missing the required libs.
if !(get(ENV, "CI", "false") == "true" && Sys.isapple())
test_example(joinpath(@__DIR__, "../../examples/integrations/RCallSVG.qmd")) do json
cells = json["cells"]
cell = cells[4]
output = cell["outputs"][1]

@test !isempty(output["data"]["image/svg+xml"])
@test isempty(cell["outputs"][1]["metadata"])
@test !isempty(output["data"]["image/svg+xml"])
@test isempty(cell["outputs"][1]["metadata"])
end
end

0 comments on commit 90349bc

Please sign in to comment.