diff --git a/test/Project.toml b/test/Project.toml index 0c363327..62dd5dde 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -1,2 +1,3 @@ [deps] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597" diff --git a/test/mean.jl b/test/mean.jl index c04361c0..0a7df347 100644 --- a/test/mean.jl +++ b/test/mean.jl @@ -30,7 +30,6 @@ @test mean_vec_sym.sem[2] ≈ 27.36836524766856 atol = 1e-4 ############################## ### Categorical Array - estimating proportions - using CategoricalArrays apisrs_categ = copy(apisrs_original) apisrs_categ.stype = CategoricalArray(apisrs_categ.stype) # Convert a column to CategoricalArray srs_design_categ = SimpleRandomSample(apisrs_categ, popsize = :fpc) diff --git a/test/runtests.jl b/test/runtests.jl index 6d667f52..00e850b5 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,5 +1,6 @@ using Survey using Test +using CategoricalArrays @testset "Survey.jl" begin apiclus1 = load_data("apiclus1")