Skip to content

Commit

Permalink
Lifecycle stable
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkowa committed Jul 15, 2019
1 parent 1914a48 commit 706f1bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ output: github_document

[![Travis build status](https://img.shields.io/travis/statistikat/surveysd.svg?logo=travis)](https://travis-ci.org/statistikat/surveysd)
[![Coverage Status](https://img.shields.io/coveralls/github/statistikat/surveysd.svg?colorB=red&logo=codecov)](https://coveralls.io/github/statistikat/surveysd?branch=master)
[![Lifecycle: maturing](https://img.shields.io/badge/lifecycle-maturing-blue.svg?logo=github)](https://www.tidyverse.org/lifecycle/#maturing)
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-maturing-blue.svg?logo=github)](https://www.tidyverse.org/lifecycle/#stable)
[![GitHub last commit](https://img.shields.io/github/last-commit/statistikat/surveysd.svg?logo=github)](https://github.com/statistikat/surveysd/commits/master)
[![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/statistikat/surveysd.svg?logo=github)](https://github.com/statistikat/surveysd)
[![Downloads](http://cranlogs.r-pkg.org/badges/surveysd)](https://CRAN.R-project.org/package=surveysd)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ status](https://img.shields.io/travis/statistikat/surveysd.svg?logo=travis)](htt
[![Coverage
Status](https://img.shields.io/coveralls/github/statistikat/surveysd.svg?colorB=red&logo=codecov)](https://coveralls.io/github/statistikat/surveysd?branch=master)
[![Lifecycle:
maturing](https://img.shields.io/badge/lifecycle-maturing-blue.svg?logo=github)](https://www.tidyverse.org/lifecycle/#maturing)
stable](https://img.shields.io/badge/lifecycle-maturing-blue.svg?logo=github)](https://www.tidyverse.org/lifecycle/#stable)
[![GitHub last
commit](https://img.shields.io/github/last-commit/statistikat/surveysd.svg?logo=github)](https://github.com/statistikat/surveysd/commits/master)
[![GitHub code size in
Expand Down

2 comments on commit 706f1bb

@lintr-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

R/calc.stError.R:116:1: style: Lines should not be more than 80 characters.

#' \deqn{fun(var,weights,...),fun(var,b.weights[1],...),fun(var,b.weights[2],...),...}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/calc.stError.R:118:1: style: Lines should not be more than 80 characters.

#' \deqn{fun(var,weights,...),fun(var.1,b.weights[1],...),fun(var.2,b.weights[2],...),...}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/computeFrac.R:21:1: style: Lines should not be more than 80 characters.

#'   \out{<center>&sum; f<sub>i</sub> w<sub>i</sub> x<sub>i</sub> = target</center>}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/computeFrac.R:24:1: style: Lines should not be more than 80 characters.

#'   \out{<center>&sum; f<sub>i</sub> w<sub>i</sub> = &sum; w<sub>i</sub></center>}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/ipf.r:132:15: style: Variable and function names should not be longer than 30 characters.

wValue <- representativeHouseholdForCalibration <- NULL
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/ipf.r:213:24: style: Variable and function names should not be longer than 30 characters.

value <- wValue <- representativeHouseholdForCalibration <- NULL
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/ipf.r:320:3: style: Variable and function names should not be longer than 30 characters.

representativeHouseholdForCalibration <- OriginalSortingVariable <-
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/ipf.r:372:1: style: Lines should not be more than 80 characters.

#' [here](http://www.ajs.or.at/index.php/ajs/article/viewFile/doi10.17713ajs.v45i3.120/512).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/ipf.r:380:1: style: Lines should not be more than 80 characters.

#' \out{\deqn{1-epsP < \frac{w_{i+1}}{w_i} < 1+epsP}{1-epsP < w(i+1)/w(i) < 1+epsP} }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/ipf.r:543:24: style: Variable and function names should not be longer than 30 characters.

value <- wValue <- representativeHouseholdForCalibration <- NULL
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/ipf.r:569:11: style: Variable and function names should not be longer than 30 characters.

dat[, representativeHouseholdForCalibration := 1]
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/ipf.r:573:11: style: Variable and function names should not be longer than 30 characters.

dat[, representativeHouseholdForCalibration :=
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/recalib.R:168:1: style: Trailing whitespace is superfluous.

^~

R/recalib.R:183:1: style: Trailing whitespace is superfluous.

^~

R/recalib.R:185:43: style: Commas should always have a space after.

ellipsisContent <- paste0("ellipsis[['",ellipsisNames,"']]")
                                          ^

R/recalib.R:185:57: style: Commas should always have a space after.

ellipsisContent <- paste0("ellipsis[['",ellipsisNames,"']]")
                                                        ^

R/recalib.R:191:5: style: Place a space before left parenthesis, except in a function call.

if((!is.null(ellipsis[["conP"]]))|(!is.null(ellipsis[["conH"]]))){
    ^

R/recalib.R:191:36: style: Put spaces around all infix operators.

if((!is.null(ellipsis[["conP"]]))|(!is.null(ellipsis[["conH"]]))){
                                  ~^~

R/recalib.R:191:37: style: Place a space before left parenthesis, except in a function call.

if((!is.null(ellipsis[["conP"]]))|(!is.null(ellipsis[["conH"]]))){
                                    ^

R/recalib.R:192:1: style: Lines should not be more than 80 characters.

​    message("recalib: conP and conH are estimated internally from conP.var and conH.var for now\n",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test_ipf.R:118:1: style: Lines should not be more than 80 characters.

​    max(abs(xtabs(calibWeight ~ gender + region, data = calibweights2) - conP2) /
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@lintr-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

R/calc.stError.R:116:1: style: Lines should not be more than 80 characters.

#' \deqn{fun(var,weights,...),fun(var,b.weights[1],...),fun(var,b.weights[2],...),...}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/calc.stError.R:118:1: style: Lines should not be more than 80 characters.

#' \deqn{fun(var,weights,...),fun(var.1,b.weights[1],...),fun(var.2,b.weights[2],...),...}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/computeFrac.R:21:1: style: Lines should not be more than 80 characters.

#'   \out{<center>&sum; f<sub>i</sub> w<sub>i</sub> x<sub>i</sub> = target</center>}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/computeFrac.R:24:1: style: Lines should not be more than 80 characters.

#'   \out{<center>&sum; f<sub>i</sub> w<sub>i</sub> = &sum; w<sub>i</sub></center>}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/ipf.r:132:15: style: Variable and function names should not be longer than 30 characters.

wValue <- representativeHouseholdForCalibration <- NULL
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/ipf.r:213:24: style: Variable and function names should not be longer than 30 characters.

value <- wValue <- representativeHouseholdForCalibration <- NULL
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/ipf.r:320:3: style: Variable and function names should not be longer than 30 characters.

representativeHouseholdForCalibration <- OriginalSortingVariable <-
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/ipf.r:372:1: style: Lines should not be more than 80 characters.

#' [here](http://www.ajs.or.at/index.php/ajs/article/viewFile/doi10.17713ajs.v45i3.120/512).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/ipf.r:380:1: style: Lines should not be more than 80 characters.

#' \out{\deqn{1-epsP < \frac{w_{i+1}}{w_i} < 1+epsP}{1-epsP < w(i+1)/w(i) < 1+epsP} }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/ipf.r:543:24: style: Variable and function names should not be longer than 30 characters.

value <- wValue <- representativeHouseholdForCalibration <- NULL
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/ipf.r:569:11: style: Variable and function names should not be longer than 30 characters.

dat[, representativeHouseholdForCalibration := 1]
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/ipf.r:573:11: style: Variable and function names should not be longer than 30 characters.

dat[, representativeHouseholdForCalibration :=
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/recalib.R:168:1: style: Trailing whitespace is superfluous.

^~

R/recalib.R:183:1: style: Trailing whitespace is superfluous.

^~

R/recalib.R:185:43: style: Commas should always have a space after.

ellipsisContent <- paste0("ellipsis[['",ellipsisNames,"']]")
                                          ^

R/recalib.R:185:57: style: Commas should always have a space after.

ellipsisContent <- paste0("ellipsis[['",ellipsisNames,"']]")
                                                        ^

R/recalib.R:191:5: style: Place a space before left parenthesis, except in a function call.

if((!is.null(ellipsis[["conP"]]))|(!is.null(ellipsis[["conH"]]))){
    ^

R/recalib.R:191:36: style: Put spaces around all infix operators.

if((!is.null(ellipsis[["conP"]]))|(!is.null(ellipsis[["conH"]]))){
                                  ~^~

R/recalib.R:191:37: style: Place a space before left parenthesis, except in a function call.

if((!is.null(ellipsis[["conP"]]))|(!is.null(ellipsis[["conH"]]))){
                                    ^

R/recalib.R:192:1: style: Lines should not be more than 80 characters.

​    message("recalib: conP and conH are estimated internally from conP.var and conH.var for now\n",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test_ipf.R:118:1: style: Lines should not be more than 80 characters.

​    max(abs(xtabs(calibWeight ~ gender + region, data = calibweights2) - conP2) /
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please sign in to comment.