Skip to content

Commit

Permalink
Rel 4.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
goedman committed Apr 27, 2024
1 parent c85c121 commit 696f0ca
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:

env:
CMDSTAN: "/home/worker/cmdstan-2.33.0/"
CMDSTAN: "/home/worker/cmdstan-2.34.1/"

jobs:
test:
Expand Down Expand Up @@ -41,17 +41,17 @@ jobs:
OLDWD=`pwd`
cd ~
pwd
wget https://github.com/stan-dev/cmdstan/releases/download/v2.33.0/cmdstan-2.33.0.tar.gz
tar -xzpf cmdstan-2.33.0.tar.gz
wget https://github.com/stan-dev/cmdstan/releases/download/v2.34.1/cmdstan-2.34.1.tar.gz
tar -xzpf cmdstan-2.34.1.tar.gz
ls -lia .
ls -lia ./cmdstan-2.33.0
ls -lia ./cmdstan-2.33.0/make
touch ./cmdstan-2.33.0/make/local
echo "STAN_THREADS=true" > ./cmdstan-2.33.0/make/local
ls -lia ./cmdstan-2.34.1
ls -lia ./cmdstan-2.34.1/make
touch ./cmdstan-2.34.1/make/local
echo "STAN_THREADS=true" > ./cmdstan-2.34.1/make/local
make -C $CMDSTAN build
cd $OLDWD
env:
CMDSTAN: "/home/runner/cmdstan-2.33.0/"
CMDSTAN: "/home/runner/cmdstan-2.34.1/"
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
Expand All @@ -70,7 +70,7 @@ jobs:
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
env:
CMDSTAN: "/home/runner/cmdstan-2.33.0/"
CMDSTAN: "/home/runner/cmdstan-2.34.1/"
- uses: julia-actions/julia-processcoverage@v1
if: matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.num_threads == 1
- uses: codecov/codecov-action@v1
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "StanDiagnose"
uuid = "fb13fc95-9a72-5e81-90ef-432a29d7f4c2"
authors = ["Rob J Goedman <[email protected]>"]
version = "4.5.0"
version = "4.5.1"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pkg> add StanDiagnose.jl
You need a working [Stan's cmdstan](https://mc-stan.org/users/interfaces/cmdstan.html) installation, the path of which you should specify either in `CMDSTAN` or `JULIA_CMDSTAN_HOME`, eg in your `~/.julia/config/startup.jl` have a line like
```julia
# CmdStan setup
ENV["JULIA_CMDSTAN_HOME"] = expanduser("~/src/cmdstan-2.19.1/") # replace with your path
ENV["JULIA_CMDSTAN_HOME"] = expanduser("~/src/cmdstan-2.34.1/") # replace with your path
```

This package is derived from Tamas Papp's [StanRun.jl]() package.
Expand Down
2 changes: 1 addition & 1 deletion src/stanmodel/DiagnoseModel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Create a DiagnoseModel and compile the Stan Language Model..
function DiagnoseModel(
name::AbstractString,
model::AbstractString,
tmpdir = CMDSTAN_HOME)
tmpdir = mktempdir())

!isdir(tmpdir) && mkdir(tmpdir)

Expand Down

0 comments on commit 696f0ca

Please sign in to comment.