From 3c6ce5cf632c8c7f732804f047546d45852c367a Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Wed, 26 Jul 2023 16:49:31 -0400 Subject: [PATCH 1/2] Import `DataFrames` for tests Without this, we cannot construct a `DataFrame` object --- test/runtests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index d7a169b..9099dcd 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,5 +1,5 @@ using MetaAnalysis -using Test +using Test, DataFrames @testset "MetaAnalysis.jl" begin # Write your tests here. From a81cc6fc8d28779ed89d592a5a74284b23dec5bd Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Wed, 26 Jul 2023 16:51:20 -0400 Subject: [PATCH 2/2] Fix naming of `tauSquare` -> `tausq` --- test/runtests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index 9099dcd..6d11f1b 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -51,7 +51,7 @@ df2 = select(df, :study, :y, :v) # test tausq works -@test MetaAnalysis.tauSquare(df.y, df.v) +@test MetaAnalysis.tausq(df.y, df.v) # Now write the random effects model function