Skip to content

Commit

Permalink
Report on whether R ran
Browse files Browse the repository at this point in the history
  • Loading branch information
richardreeve committed Oct 14, 2024
1 parent 18f7c51 commit f641458
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/run_rcall.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ using RCall
using DataFrames

global skipR = !rcopy(R"require(ape)")

if skipR
@warn "Skipping RCall tests, no ape package found"
else
@info "Running RCall tests"
end
# Run tree comparisons on increasing numbers of tips
@testset "RCall - testing Phylo vs ape" begin
@testset "For $TreeType" for TreeType in (skipR ? [] :
Expand Down

0 comments on commit f641458

Please sign in to comment.