Skip to content

Commit 20fb39e

Browse files
committed
Merge branch 'hotfix/v0.6.1'
2 parents b3bf97a + 30c0b48 commit 20fb39e

File tree

5 files changed

+55
-43
lines changed

5 files changed

+55
-43
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
language: r
2+
r:
3+
- oldrel
4+
- release
25

36
# Be strict when checking our package
47
warnings_are_errors: false
@@ -15,12 +18,15 @@ os:
1518
- osx
1619

1720
# Use cache for packages
18-
cache: packages
21+
cache:
22+
apt: true
23+
packages: true
1924

2025
# System dependencies for HTTP calling
2126
addons:
2227
apt:
2328
packages:
29+
- libgit2-dev
2430
- libcurl4-openssl-dev
2531
- libxml2-dev
2632

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: hBayesDM
22
Title: Hierarchical Bayesian Modeling of Decision-Making Tasks
3-
Version: 0.6.0
4-
Date: 2018-09-11
3+
Version: 0.6.1
4+
Date: 2018-10-09
55
Authors@R: c(
66
person("Woo-Young", "Ahn", email = "wooyoung.ahn@gmail.com", role = c("aut", "cre")),
77
person("Nate", "Haines", email = "haines.175@osu.edu", role = c("aut")),

R/peer_ocu.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,9 @@ peer_ocu <- function(data = "choose",
258258
mu_p = c(qnorm(inits_fixed[1]/2), log(inits_fixed[2]), inits_fixed[3]),
259259
sigma = c(1.0, 1.0, 1.0),
260260
rho_p = rep(qnorm(inits_fixed[1]/2), numSubjs),
261-
tau_p = rep(log(inits_fixed[2]), numSubjs,
262-
ocu_p = rep(inits_fixed[3]), numSubjs)
263-
)
261+
tau_p = rep(log(inits_fixed[2]), numSubjs),
262+
ocu_p = rep(inits_fixed[3], numSubjs)
263+
)
264264
}
265265
} else {
266266
genInitList <- "random"

inst/NEWS

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1+
Oct 9, 2018 (0.6.1)
2+
* Solve an issue with built binary files.
3+
* Fix an error on peer_ocu with misplaced parentheses.
4+
15
Sep 11, 2018 (0.6.0)
26
* Add new tasks (Balloon Analogue Risk Task, Choice under Risk and Ambiguity Task, Probabilistic Selection Task, Risky Decision Task (a.k.a. Happiness task), Wisconsin Card Sorting Task)
3-
* Add a new model for the Iowa Gambling Task (igt_orl)
7+
* Add a new model for the Iowa Gambling Task (igt_orl)
48
* Change priors (Half-Cauchy(0, 5) --> Half-Cauchy(0, 1) or Half-Normal(0, 0.2)
5-
* printFit function now provides LOOIC weights and/or WAIC weights
9+
* printFit function now provides LOOIC weights and/or WAIC weights
610

711
March 26, 2018 (0.5.1)
812
* Add models for the Two Step task
@@ -14,14 +18,14 @@ Dec 25, 2017 (0.5.0)
1418
* Support variational Bayesian methods (vb=TRUE)
1519
* Allow posterior predictive checks, except for drift-diffusion models (inc_postpred=TRUE)
1620
* Add the peer influence task (Chung et al., 2015, USE WITH CAUTION for now and PLEASE GIVE US FEEDBACK!)
17-
* Add 'prl_fictitious_rp' model
18-
* Made changes to be compatible with the newest Stan version (e.g., // instead of # for commenting).
21+
* Add 'prl_fictitious_rp' model
22+
* Made changes to be compatible with the newest Stan version (e.g., // instead of # for commenting).
1923
* In 'prl_*' models, 'rewlos' is replaced by 'outcome' so that column names and labels would be consistent across tasks as much as possible.
2024
* Email feature is disabled as R mail package does not allow users to send anonymous emails anymore.
2125
* When outputs are saved as a file (*.RData), the file name now contains the name of the data file.
2226

2327
May 20, 2017 (0.4.0)
24-
* Add a choice reaction time task and evidence accumulation models
28+
* Add a choice reaction time task and evidence accumulation models
2529
- Drift diffusion model (both hierarchical and single-subject)
2630
- Linear Ballistic Accumulator (LBA) model (both hierarchical and single-subject)
2731
* Add PRL models that can fit multiple blocks
@@ -34,26 +38,26 @@ Jan 22, 2017 (0.3.1)
3438
* Rewrite the "printFit" function.
3539

3640
Jan 20, 2017 (0.3.0)
37-
* Made several changes following the guidelines for R packages providing interfaces to Stan.
38-
* Stan models are precompiled and models will run immediately when called.
39-
* The default number of chains is set to 4.
41+
* Made several changes following the guidelines for R packages providing interfaces to Stan.
42+
* Stan models are precompiled and models will run immediately when called.
43+
* The default number of chains is set to 4.
4044
* The default value of `adapt_delta` is set to 0.95 to reduce the potential for divergences.
41-
* The “printFit” function uses LOOIC by default. Users can select WAIC or both (LOOIC & WAIC) if needed.
45+
* The “printFit” function uses LOOIC by default. Users can select WAIC or both (LOOIC & WAIC) if needed.
4246

4347
Dec 28, 2016 (0.2.3.3)
4448
1. Change
4549
* Add help files
46-
* Add a function for checking Rhat values (rhat).
50+
* Add a function for checking Rhat values (rhat).
4751
* Change a link to its tutorial website
4852

4953
Dec 21, 2016 (0.2.3.2)
5054
1. Change
5155
* Use wide normal distributions for unbounded parameters (gng_* models).
52-
* Automatic removal of rows (trials) containing NAs.
56+
* Automatic removal of rows (trials) containing NAs.
5357

5458
Sep 29, 2016 (0.2.3.1)
5559
1. Change
56-
* Add a function for plotting individual parameters (plotInd)
60+
* Add a function for plotting individual parameters (plotInd)
5761

5862
Sat July 16 2016 (0.2.3)
5963
1. Change
@@ -65,11 +69,11 @@ Sat July 16 2016 (0.2.3)
6569
* ‘plotHDI’ function -> add ‘fontSize’ argument & change the color of histogram
6670

6771
Sat Apr 02 2016 (0.2.1)
68-
1. Bug fixes
72+
1. Bug fixes
6973
* All models: Fix errors when indPars=“mode”
7074
* ra_prospect model: Add description for column names of a data (*.txt) file
7175
2. Change
72-
* Change standard deviations of ‘b’ and ‘pi’ priors in gng_* models
76+
* Change standard deviations of ‘b’ and ‘pi’ priors in gng_* models
7377

7478
Fri Mar 25 2016 (0.2.0)
75-
Initially released.
79+
Initially released.

man/igt_orl.Rd

Lines changed: 24 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)