Skip to content

Commit

Permalink
CompatHelper: bump compat for "PrettyTables" to "0.10" (#247)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: David Widmann <[email protected]>
  • Loading branch information
github-actions[bot] and devmotion authored Nov 16, 2020
1 parent eab7385 commit 2a654ff
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
9 changes: 4 additions & 5 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ uuid = "c7f686f2-ff18-58e9-bc7b-31028e88f75d"
keywords = ["markov chain monte carlo", "probablistic programming"]
license = "MIT"
desc = "Chain types and utility functions for MCMC simulations."
version = "4.2.4"
version = "4.3.0"

[deps]
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
Expand Down Expand Up @@ -36,7 +36,7 @@ Formatting = "0.4"
IteratorInterfaceExtensions = "0.1.1, 1"
MLJModelInterface = "0.3.5"
NaturalSort = "1"
PrettyTables = "0.9"
PrettyTables = "0.9, 0.10"
RecipesBase = "0.7, 0.8, 1.0"
SpecialFunctions = "^0.8, 0.9, 0.10"
StatsBase = "0.32, 0.33"
Expand All @@ -49,11 +49,10 @@ DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341"
KernelDensity = "5ab0869b-81aa-558d-bb23-cbf5423bbe9b"
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
MLJModels = "d491faf4-2d78-11e9-2867-c94bc002c0b7"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
StatsPlots = "f3b207a7-027a-5e70-b257-86293d7955fd"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228"
XGBoost = "009559a3-9522-5dbb-924b-0b6ed2b22bb9"

[targets]
test = ["DataFrames", "FFTW", "KernelDensity", "Logging", "StatsPlots", "Test", "UnicodePlots", "MLJModels", "XGBoost"]
test = ["DataFrames", "FFTW", "KernelDensity", "Logging", "StatsPlots", "Test", "UnicodePlots", "Pkg"]
3 changes: 1 addition & 2 deletions test/rstar_tests.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using MCMCChains
using Tables
using MLJModels
using MLJXGBoostInterface
using Test

N = 1000
Expand All @@ -12,7 +12,6 @@ chn = Chains(val, colnames, Dict(:internals => internal_colnames))
classif = @load XGBoostClassifier()

@testset "R star test" begin

# Compute R* statistic for a mixed chain.
R = rstar(classif, randn(N,2), rand(1:3,N))

Expand Down
13 changes: 9 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
using Pkg
using Test
using Random

# set seed for all testsets
Random.seed!(0)

@testset "MCMCChains" begin

# run tests related to rstar statistic
println("Rstar")
@time include("rstar_tests.jl")
# MLJXGBoostInterface requires Julia >= 1.3
if VERSION >= v"1.3"
# run tests related to rstar statistic
println("Rstar")
Pkg.add("MLJModels")
Pkg.add("MLJXGBoostInterface")
@time include("rstar_tests.jl")
end

# run tests for effective sample size
println("ESS")
Expand Down

2 comments on commit 2a654ff

@devmotion
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/24729

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v4.3.0 -m "<description of version>" 2a654ff01fd64af4ca0f66ef9dd3a422fc36288a
git push origin v4.3.0

Please sign in to comment.