Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
initial draft
  • Loading branch information
IndrajeetPatil committed Aug 14, 2019
1 parent 6272c87 commit 5e0ef0e
Show file tree
Hide file tree
Showing 163 changed files with 37,728 additions and 49 deletions.
40 changes: 35 additions & 5 deletions .Rbuildignore
@@ -1,9 +1,39 @@
^statsExpressions\.Rproj$
^\cache$
^codemeta\.json$
^Meta$
^doc$
^.*\.Rproj$
^\.Rproj\.user$
^LICENSE\.md$
^README\.Rmd$
^Rplots.pdf$
^README-.*\.png$
^CONDUCT\.md$
^SECURITY\.md$
^cran-comments\.md$
^CODE_OF_CONDUCT\.md$
^SUPPORT\.md$
^\.github$
^\.github/ISSUE_TEMPLATE$
^_pkgdown\.yml$
^NEWS$
^docs$
^revdep$
publication/*
^codecov\.yml$
^\.coveralls\.yml$
^\.travis\.yml$
^_pkgdown\.yml$
^appveyor\.yml$
^.gitlab-ci\.yml$
^data-raw$
^pkgdown$
^README\.Rmd$
^\.httr-oauth$
^CRAN-RELEASE$
tests\^spelling
^LICENSE\.md$
^\.lintr$
^\.circleci$
^tests/manual$
^revdep$
^\.covrignore$
^\.github/ISSUE_TEMPLATE$
^paper.*$
references.bib
2 changes: 2 additions & 0 deletions .coveralls.yml
@@ -0,0 +1,2 @@
service_name: travis-ci
repo_token: 5wbiuy6bido1qpCiI7GMA0lVNwvNdpWHP
25 changes: 25 additions & 0 deletions .github/CODE_OF_CONDUCT.md
@@ -0,0 +1,25 @@
# Contributor Code of Conduct

As contributors and maintainers of this project, we pledge to respect all people who
contribute through reporting issues, posting feature requests, updating documentation,
submitting pull requests or patches, and other activities.

We are committed to making participation in this project a harassment-free experience for
everyone, regardless of level of experience, gender, gender identity and expression,
sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.

Examples of unacceptable behavior by participants include the use of sexual language or
imagery, derogatory comments or personal attacks, trolling, public or private harassment,
insults, or other unprofessional conduct.

Project maintainers have the right and responsibility to remove, edit, or reject comments,
commits, code, wiki edits, issues, and other contributions that are not aligned to this
Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed
from the project team.

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by
opening an issue or contacting one or more of the project maintainers.

This Code of Conduct is adapted from the Contributor Covenant
(https://www.contributor-covenant.org), version 1.0.0, available at
https://contributor-covenant.org/version/1/0/0/.
48 changes: 48 additions & 0 deletions .github/CONTRIBUTING.md
@@ -0,0 +1,48 @@
# Contributing to statsExpressions

This outlines how to propose a change to statsExpressions. For more detailed
info about contributing to this, and other tidyverse packages, please see the
[**development contributing guide**](https://rstd.io/tidy-contrib).

### Fixing typos

Small typos or grammatical errors in documentation may be edited directly using
the GitHub web interface, so long as the changes are made in the _source_ file.

* YES: you edit a roxygen comment in a `.R` file below `R/`.
* NO: you edit an `.Rd` file below `man/`.

### Prerequisites

Before you make a substantial pull request, you should always file an issue and
make sure someone from the team agrees that it鈥檚 a problem. If you鈥檝e found a
bug, create an associated issue and illustrate the bug with a minimal
[reprex](https://www.tidyverse.org/help/#reprex).

### Pull request process

* We recommend that you create a Git branch for each pull request (PR).
* Look at the Travis and AppVeyor build status before and after making changes.
The `README` should contain badges for any continuous integration services used
by the package.
* New code should follow the tidyverse [style guide](https://style.tidyverse.org).
You can use the [styler](https://CRAN.R-project.org/package=styler) package to
apply these styles, but please don't restyle code that has nothing to do with
your PR.
* We use [roxygen2](https://cran.r-project.org/package=roxygen2), with
[Markdown syntax](https://cran.r-project.org/web/packages/roxygen2/vignettes/markdown.html),
for documentation.
* We use [testthat](https://cran.r-project.org/package=testthat). Contributions
with test cases included are easier to accept.
* For user-facing changes, add a bullet to the top of `NEWS.md` below the
current development version header describing the changes made followed by your
GitHub username, and links to relevant issue(s)/PR(s).

### Code of Conduct

Please note that the statsExpressions project is released with a
[Contributor Code of Conduct](CODE_OF_CONDUCT.md). By contributing to this
project you agree to abide by its terms.

### See tidyverse [development contributing guide](https://rstd.io/tidy-contrib)
for further details.
3 changes: 3 additions & 0 deletions .gitignore
@@ -1,3 +1,6 @@
.Rproj.user
.Rhistory
.RData
inst/doc
doc
Meta
1 change: 1 addition & 0 deletions .lintr
@@ -0,0 +1 @@
linters: with_defaults(object_name_linter=NULL,line_length_linter(100),trailing_whitespace_linter=NULL, open_curly_linter = NULL, closed_curly_linter = NULL)
154 changes: 154 additions & 0 deletions .travis.yml
@@ -0,0 +1,154 @@
# documentation at https://docs.travis-ci.com/user/languages/r

language: r
sudo: true
dist: trusty
cache: packages
latex: true
warnings_are_errors: true

repos:
CRAN: https://cloud.r-project.org
ropensci: http://packages.ropensci.org

env:
global:
- R_MAX_NUM_DLLS=999
- _R_CHECK_FORCE_SUGGESTS_=true
- _R_CHECK_CRAN_INCOMING_=true
- MAKEFLAGS="-j 2"

#r_check_args: "--run-dontrun"



notifications:
email:
on_success: change
on_failure: change

matrix:
include:
- os: linux
dist: trusty
r: release
r_binary_packages:
- stringi
- magrittr
- curl
- jsonlite
- Rcpp
- RcppEigen
- openssl
- utf8
- gss
- haven
- minqa
- mvtnorm
- nloptr
- SparseM
- httpuv
- markdown
- sem
- readxl
- openxlsx
- pander
- lme4
- psych
- git2r
- data.table
- LaplacesDemon
- logspline
- MCMCpack
- MCMCglmm
r_packages:
- rlang
- bindrcpp
- purrr
- tidyr
- dplyr
- coin
- jmv
- sjstats
- WRS2
- bridgesampling
- BH
- remotes
r_github_packages:
- jimhester/lintr
- r-lib/covr
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
- os: linux
dist: trusty
r: devel
r_binary_packages:
- stringi
- magrittr
- curl
- jsonlite
- Rcpp
- RcppEigen
- openssl
- utf8
- gss
- haven
- minqa
- mvtnorm
- nloptr
- SparseM
- httpuv
- markdown
- sem
- readxl
- openxlsx
- pander
- lme4
- psych
- git2r
- data.table
- LaplacesDemon
- logspline
- MCMCpack
- MCMCglmm
r_packages:
- rlang
- bindrcpp
- purrr
- tidyr
- dplyr
- coin
- jmv
- sjstats
- WRS2
- bridgesampling
- BH
- remotes
r_github_packages:
- jimhester/lintr
- r-lib/covr
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"

before_install:
- mkdir -p ~/.R/
- echo "CXX14 = g++-7 -fPIC -flto=2" >> ~/.R/Makevars
- echo "CXX14FLAGS = -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -Wno-unused-local-typedefs -Wno-ignored-attributes -Wno-deprecated-declarations -Wno-attributes -O3" >> ~/.R/Makevars

after_success:
- Rscript -e 'covr::codecov()'
- Rscript -e 'covr::coveralls()'
- R CMD INSTALL $PKG_TARBALL
- Rscript -e 'lintr::lint_package()'
76 changes: 64 additions & 12 deletions DESCRIPTION
@@ -1,16 +1,68 @@
Type: Package
Package: statsExpressions
Title: What the Package Does (One Line, Title Case)
Version: 0.0.0.9000
Title: Expressions with Statistical Details
Version: 0.0.1.9000
Authors@R:
person(given = "First",
family = "Last",
role = c("aut", "cre"),
email = "first.last@example.com",
comment = c(ORCID = "YOUR-ORCID-ID"))
Description: What the package does (one paragraph).
License: GPL-3 + file LICENSE
c(person(given = "Indrajeet",
family = "Patil",
role = c("cre", "aut", "ctb"),
email = "patilindrajeet.science@gmail.com",
comment = c(ORCID = "0000-0003-1995-6531")),
person(given = "Chuck",
family = "Powell",
role = "ctb",
email = "ibecav@gmail.com",
comment = c(ORCID = "0000-0002-3606-2188")))
Maintainer: Indrajeet Patil <patilindrajeet.science@gmail.com>
Description: Backend for 'ggstatsplot' package. It creates
expressions with details from statistical tests. Currently, it
supports only the most common types of statistical tests: parametric,
nonparametric, robust, and bayesian versions of t-test/anova,
correlation analyses, contingency table analysis, and regression
analyses.
License: GPL-3 | file LICENSE
URL: https://indrajeetpatil.github.io/statsExpressions/,
https://github.com/IndrajeetPatil/statsExpressions
BugReports:
https://github.com/IndrajeetPatil/statsExpressions/issues
Depends:
R (>= 3.5.0)
Imports:
BayesFactor (>= 0.9.12-4.2),
boot (>= 1.3-22),
broomExtra (>= 0.0.4),
crayon (>= 1.3.4),
dplyr (>= 0.8.3),
ellipsis (>= 0.2.0.1),
ez (>= 4.4-0),
groupedstats,
magrittr (>= 1.5),
MCMCpack (>= 1.4-4),
methods,
psych,
purrr (>= 0.3.2),
purrrlyr (>= 0.0.5),
rcompanion (>= 2.2.2),
rlang (>= 0.4.0),
stats,
tibble (>= 2.1.3),
tidyr (>= 0.8.3),
utils,
WRS2 (>= 1.0-0)
Suggests:
broom,
forcats,
ggplot2,
jmv,
knitr,
rmarkdown,
spelling,
stringr,
testthat
VignetteBuilder:
knitr
Encoding: UTF-8
LazyData: true
Suggests:
spelling
Language: en-US
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 6.1.1.9000

0 comments on commit 5e0ef0e

Please sign in to comment.