Skip to content

Commit

Permalink
Merge pull request #43 from rsquaredacademy/develop
Browse files Browse the repository at this point in the history
0.4.1 release candidate
  • Loading branch information
aravindhebbali authored Mar 20, 2018
2 parents f267359 + 886e825 commit 4d17ed3
Show file tree
Hide file tree
Showing 11 changed files with 73 additions and 31 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: descriptr
Type: Package
Title: Generate Descriptive Statistics & Explore Statistical Distributions
Version: 0.4.0.9000
Version: 0.4.1
Authors@R: person("Aravind", "Hebbali", email = "hebbali.aravind@gmail.com", role = c("aut", "cre"))
Description: Generate descriptive statistics such as measures of location,
dispersion, frequency tables, cross tables, group summaries and multiple
Expand Down Expand Up @@ -36,7 +36,7 @@ Suggests:
tools,
vdiffr
License: MIT + file LICENSE
URL: https://rsquaredacademy.github.io/descriptr/, https://github.com/rsquaredacademy/descriptr
URL: https://descriptr.rsquaredacademy.com/, https://github.com/rsquaredacademy/descriptr
BugReports: https://github.com/rsquaredacademy/descriptr/issues
Encoding: UTF-8
LazyData: true
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ importFrom(graphics,plot)
importFrom(graphics,points)
importFrom(graphics,polygon)
importFrom(graphics,text)
importFrom(magrittr,"%<>%")
importFrom(magrittr,"%>%")
importFrom(magrittr,add)
importFrom(magrittr,extract)
Expand Down
42 changes: 42 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@
# descriptr 0.4.1

## New Features

- Feature request: add turn off button in the app
([#29](https://github.com/rsquaredacademy/descriptr/issues/29))
- Show frequency of missing values in frequency table
([#32](https://github.com/rsquaredacademy/descriptr/issues/32))
- `ds_freq_cont()` should return a tibble
([#34](https://github.com/rsquaredacademy/descriptr/issues/34))

The following now return tibbles to facilitate further analysis:

- `ds_twoway_table()`
- `ds_freq_table()`
- `ds_freq_cont()`
- `ds_group_summary()`

New to descriptr are the following which generate summary statistics:

- [`ds_measures_location()`](https://descriptr.rsquaredacademy.com/reference/ds_measures_location.html)
- [`ds_measures_variation()`](https://descriptr.rsquaredacademy.com/reference/ds_measures_variation.html)
- [`ds_measures_symmetry()`](https://descriptr.rsquaredacademy.com/reference/ds_measures_symmetry.html)
- [`ds_percentiles()`](https://descriptr.rsquaredacademy.com/reference/ds_percentiles.html)
- [`ds_extreme_obs()`](https://descriptr.rsquaredacademy.com/reference/ds_extreme_obs.html)

## Bug Fixes

- `descriptr:::print_screen()` fails if a variable has more than one class
([#26](https://github.com/rsquaredacademy/descriptr/issues/26))
- `ds_summary_stats()` does not show missing values
([#30](https://github.com/rsquaredacademy/descriptr/issues/30))
- Multiple variable statistics throws error in the presence of NA
([#33](https://github.com/rsquaredacademy/descriptr/issues/33))
- Error in cross table in presence of NA
([#40](https://github.com/rsquaredacademy/descriptr/issues/40))

## Acknowledgements

A big thanks to [@GegznaV](https://github.com/GegznaV) and [@adam_medcalf](https://twitter.com/adam_medcalf) who contributed code, opened issues and provided valuable feedback.


# descriptr 0.4.0

## New Features
Expand Down
1 change: 1 addition & 0 deletions R/ds-cross-table.R
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ plot.ds_cross_table <- function(x, stacked = FALSE, proportional = FALSE, ...) {
}

#' @importFrom dplyr summarise tally ungroup mutate inner_join
#' @importFrom magrittr %<>%
#' @rdname ds_cross_table
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion R/ds-descriptr.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ if (getRversion() >= "2.15.1") {
utils::globalVariables(c(
".", "breaks",
"cumulative", "frequency", "values", "s", "tp", "type", "xvar", "yvar",
"data", "varnames", "frequency", "varname", "bins", "n", "value", "y"
"data", "varnames", "frequency", "varname", "bins", "n", "value", "y", "count"
))
}
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ Use `ds_launch_shiny_app()` to explore the package using a shiny app.

## Vignettes

- [Descriptive Statistics](http://www.rsquaredacademy.com/descriptr/articles/descriptive-stats.html)
- [Statistical Distributions](http://www.rsquaredacademy.com/descriptr/articles/distributions.html)
- [Descriptive Statistics](https://descriptr.rsquaredacademy.com/articles/descriptive-stats.html)
- [Statistical Distributions](https://descriptr.rsquaredacademy.com/articles/distributions.html)

## Usage

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ Use `ds_launch_shiny_app()` to explore the package using a shiny app.
## Vignettes

- [Descriptive
Statistics](http://www.rsquaredacademy.com/descriptr/articles/descriptive-stats.html)
Statistics](https://descriptr.rsquaredacademy.com/articles/descriptive-stats.html)
- [Statistical
Distributions](http://www.rsquaredacademy.com/descriptr/articles/distributions.html)
Distributions](https://descriptr.rsquaredacademy.com/articles/distributions.html)

## Usage

Expand Down
4 changes: 2 additions & 2 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ navbar:
home:
links:
- text: Learn more
href: http://www.rsquaredacademy.com
href: https://www.rsquaredacademy.com
- text: Shiny App
href: http://rsquaredlabs.com:3838/explorer/
href: https://apps.rsquaredacademy.com/
- text: Docker Image
href: https://hub.docker.com/r/rsquaredacademy/descriptr/

Expand Down
8 changes: 4 additions & 4 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
This is a minor release with API changes and bug fixes.
This is a patch release for bug fixes.

## Test environments
* local Windows 10, R 3.4.3
* ubuntu 12.04 (on travis-ci), R 3.3.3, R 3.4.3, R-devel
* local Windows 10, R 3.4.4
* ubuntu 12.04 (on travis-ci), R 3.3.3, R 3.4.4, R-devel
* win-builder (devel and release)

## R CMD check results
Expand All @@ -11,6 +11,6 @@ This is a minor release with API changes and bug fixes.

## Reverse dependencies

We checked 1 dependency (olsrr) and it returned a NOTE.
We checked 2 dependencies (olsrr and inferr) and it returned a NOTE.


34 changes: 16 additions & 18 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified revdep/checks.rds
Binary file not shown.

0 comments on commit 4d17ed3

Please sign in to comment.