Skip to content

Commit db509aa

Browse files
authored
Merge pull request #203 from tidymodels/develop
v0.4.0
2 parents b513ffd + 64aad2d commit db509aa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+3166
-7856
lines changed

.Rbuildignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
^CRAN-RELEASE$
12
^.*\.Rproj$
23
^\.Rproj\.user$
34
^README\.Rmd$
@@ -18,3 +19,5 @@
1819
^TO-DO\.md$
1920
^\.httr-oauth$
2021
^_pkgdown.yml
22+
^_pkgdown\.yml$
23+
^docs$

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ notifications:
1919

2020
r_packages:
2121
- devtools
22-
22+
2323
r_github_packages:
2424
- hadley/pkgdown
2525
- tidymodels/infer
@@ -35,9 +35,6 @@ deploy:
3535
github_token: $GITHUBTRAVIS
3636
# target-branch: gh-pages-dev
3737
target-branch: gh-pages
38-
on:
39-
# branch: develop
40-
branch: master
4138

4239
after_success:
4340
- Rscript -e 'covr::codecov()'

DESCRIPTION

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
Package: infer
22
Type: Package
33
Title: Tidy Statistical Inference
4-
Version: 0.3.1
4+
Version: 0.4.0
55
Authors@R: c(
66
person("Andrew", "Bray", email = "[email protected]", role = c("aut", "cre")),
77
person("Chester", "Ismay", email = "[email protected]", role = "aut"),
88
person("Ben", "Baumer", email = "[email protected]", role = "aut"),
99
person("Mine", "Cetinkaya-Rundel", email = "[email protected]", role = "aut"),
10+
person("Evgeni", "Chasnovski", email = "[email protected]", role = "ctb"),
1011
person("Ted", "Laderas", email = "[email protected]", role = "ctb"),
1112
person("Nick", "Solomon", email = "[email protected]", role = "ctb"),
1213
person("Johanna", "Hardin", email = "[email protected]", role = "ctb"),
13-
person("Albert", "Kim", email = "[email protected]", role = "ctb"),
14+
person("Albert Y.", "Kim", email = "[email protected]", role = "ctb"),
1415
person("Neal", "Fultz", email = "[email protected]", role = "ctb"),
1516
person("Doug", "Friedman", email = "[email protected]", role = "ctb"),
1617
person("Richie", "Cotton", email = "[email protected]", role = "ctb"),
17-
person("Evgeni", "Chasnovski", email = "evgeni.chasnovski@gmail.com", role = "ctb"))
18+
person("Brian", "Fannin", email = "captain@pirategrunt.com", role = "ctb"))
1819
Description: The objective of this package is to perform inference using an expressive statistical grammar that coheres with the tidy design framework.
1920
License: CC0
2021
Encoding: UTF-8
@@ -26,7 +27,8 @@ Imports:
2627
rlang (>= 0.2.0),
2728
ggplot2,
2829
magrittr,
29-
glue
30+
glue (>= 1.3.0),
31+
grDevices
3032
Depends:
3133
R (>= 3.1.2)
3234
Suggests:

NAMESPACE

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,27 @@
22

33
S3method(print,infer)
44
export("%>%")
5+
export(GENERATION_TYPES)
56
export(calculate)
67
export(chisq_stat)
78
export(chisq_test)
89
export(conf_int)
910
export(generate)
1011
export(get_ci)
1112
export(get_confidence_interval)
13+
export(get_p_value)
1214
export(get_pvalue)
1315
export(hypothesize)
1416
export(p_value)
1517
export(rep_sample_n)
18+
export(shade_ci)
19+
export(shade_confidence_interval)
20+
export(shade_p_value)
21+
export(shade_pvalue)
1622
export(specify)
1723
export(t_stat)
1824
export(t_test)
25+
export(visualise)
1926
export(visualize)
2027
importFrom(dplyr,bind_rows)
2128
importFrom(dplyr,group_by)
@@ -36,6 +43,7 @@ importFrom(ggplot2,ggtitle)
3643
importFrom(ggplot2,stat_function)
3744
importFrom(ggplot2,xlab)
3845
importFrom(ggplot2,ylab)
46+
importFrom(glue,glue_collapse)
3947
importFrom(magrittr,"%>%")
4048
importFrom(methods,hasArg)
4149
importFrom(rlang,"!!")

NEWS.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
# infer 0.4.0
2+
3+
## Breaking changes
4+
5+
- Changed method of computing two-sided p-value to a more conventional one. It also makes `get_pvalue()` and `visualize()` more aligned (#205).
6+
7+
## Deprecation changes
8+
9+
- Deprecated `p_value()` (use `get_p_value()` instead) (#180).
10+
- Deprecated `conf_int()` (use `get_confidence_interval()` instead) (#180).
11+
- Deprecated (via warnings) plotting p-value and confidence interval in `visualize()` (use new functions `shade_p_value()` and `shade_confidence_interval()` instead) (#178).
12+
13+
## New functions
14+
15+
- `shade_p_value()` - {ggplot2}-like layer function to add information about p-value region to `visualize()` output. Has alias `shade_pvalue()`.
16+
- `shade_confidence_interval()` - {ggplot2}-like layer function to add information about confidence interval region to `visualize()` output. Has alias `shade_ci()`.
17+
18+
## Other
19+
20+
- Account for `NULL` value in left hand side of formula in `specify()` (#156) and `type` in `generate()` (#157).
21+
- Update documentation code to follow tidyverse style guide (#159).
22+
- Remove help page for internal `set_params()` (#165).
23+
- Fully use {tibble} (#166).
24+
- Fix `calculate()` to not depend on order of `p` for `type = "simulate"` (#122).
25+
- Reduce code duplication (#173).
26+
- Make transparancy in `visualize()` to not depend on method and data volume.
27+
- Make `visualize()` work for "One sample t" theoretical type with `method = "both"`.
28+
- Add `stat = "sum"` and `stat = "count"` options to `calculate()` (#50).
29+
130
# infer 0.3.1
231

332
- Stop using package {assertive} in favor of custom type checks (#149)

0 commit comments

Comments
 (0)