Skip to content

Commit

Permalink
actually spell check
Browse files Browse the repository at this point in the history
  • Loading branch information
gergness committed Feb 21, 2023
1 parent 7314eaf commit fa9298b
Show file tree
Hide file tree
Showing 7 changed files with 179 additions and 5 deletions.
2 changes: 2 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Imports:
vctrs (>= 0.3.0)
License: GPL-2 | GPL-3
Suggests:
spelling,
convey,
DBI,
dbplyr,
Expand All @@ -43,3 +44,4 @@ Suggests:
Encoding: UTF-8
VignetteBuilder: knitr
RoxygenNote: 7.2.3
Language: en-US
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ for user-supplied replicate weights. (#153, thanks @bschneidr)
* main user facing improvements are:
* `dplyr::across()` now works within it
* dplyr functions like `dplyr::cur_group()`, `dplyr::cur_group_id()`, `dplyr::cur_data()`
work in it (as well as new anlagous functions srvyr-specific `cur_svy()` and
work in it (as well as new analogous functions srvyr-specific `cur_svy()` and
`cur_svy_full()`)
* The only known breaking change is:
* objects in the `summarize` will refer to the output of `summarize` before the input.
Expand Down
2 changes: 1 addition & 1 deletion R/summarise.r
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ summarise_.grouped_svy <- function(.data, ..., .dots) {
#' You can use expressions both in the \code{...} of \code{summarize} and also
#' in the arguments to the summarizing functions. Though this is valid syntactically
#' it can also allow you to calculate incorrect results (for example if you multiply
#' the mean by 100, the standard error is also multipled by 100, but the variance
#' the mean by 100, the standard error is also multiplied by 100, but the variance
#' is not).
#'
#' @examples
Expand Down
169 changes: 169 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
AAPOR
ACS
Amostrais
Andree
Análise
Batra
COVID
Chisquared
Codecov
Complexos
Dados
Damico's
Damico’s
Datbase
Djalma
Dịch
ESS
Filering
Gelman's
Gelman’s
Github
Guay
Hadley
Hartley
Healy's
Healy’s
Horvitz
INEGI
IPUMS
Jager
Kieran
Likert
Lohr's
Lohr’s
Lumley's
Lumley’s
MonetDBLite
NSE
Nascimento
Neale
Ontiveros
Overton's
PMA
PUMS
Pessoa
RSQLite
Rao
Rebecca
Rstudio's
Rstudio’s
STS
Serological
Skovron
Statist
Summarise
Suárez
Taub
Tiếng
Usando
Valle
Việt
Wakefield
Wickham's
Wickham’s
YG
Yay
Zimmer
acs
ajdamico
al
asdfree
blogpost
ci
coef
cv
công
cộng
dbplyr
de
deff
degf
del
dep
deviaton
df
dplyr
dplyr's
dplyr’s
dụng
eg
español
et
eval
forbearers
gdfe
gini
github
http
https
học
iNZight
ifelse
ing
intead
io
jugar
los
microdata
microdatos
notstatschat
nse
overton
pkgdown
português
pps
ppsmat
pre
programmatically
purrr
quasiquotation
quosure
quosures
rearchitected
rlang
rlang's
rlang’s
rowwise
rstats
rstudio's
rstudio’s
sd
se
serosurvey
soooo
sql
srvyr's
srvyr’s
stackoverflow
stringr
summarise
svy
svyby
svyciprop
svydesign
svygini
svymean
svyquantile
svyratio
svytotal
tbl
tbls
tibble
tidycensus
tidyr
tidyselect
tidyverse
twophase
tế
tễ
uid
un
ungrouped
unpeeling
vardpoor
vartype
với
ứng
’s
2 changes: 1 addition & 1 deletion man/summarise.Rd

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

3 changes: 3 additions & 0 deletions tests/spelling.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if(requireNamespace('spelling', quietly = TRUE))
spelling::spell_check_test(vignettes = TRUE, error = FALSE,
skip_on_cran = TRUE)
4 changes: 2 additions & 2 deletions vignettes/srvyr-vs-survey.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ strat_design %>%
summarize(percentage = 100 * survey_mean())
```

3) and you can even create varables inside of `group_by`
3) and you can even create variables inside of `group_by`
```{r, message = FALSE}
strat_design %>%
group_by(api99_above_700 = api99 > 700) %>%
Expand Down Expand Up @@ -396,7 +396,7 @@ Here are some free resources put together by the community about srvyr:

**Still need help?**

I think the best way to get help is to form a specific question and ask it in some place like [rstudio's community webiste](https://community.rstudio.com) (known for it's friendly community) or [stackoverflow.com](https://stackoverflow.com) (maybe not known for being quite as friendly, but probably has more people). If you think you've found a bug in srvyr's code, please file an [issue on GitHub](https://github.com/gergness/srvyr/issues/new), but note that I'm not a great resource for helping specific issue, both because I have limited capacity but also because I do not consider myself an expert in the statistical methods behind survey analysis.
I think the best way to get help is to form a specific question and ask it in some place like [rstudio's community website](https://community.rstudio.com) (known for it's friendly community) or [stackoverflow.com](https://stackoverflow.com) (maybe not known for being quite as friendly, but probably has more people). If you think you've found a bug in srvyr's code, please file an [issue on GitHub](https://github.com/gergness/srvyr/issues/new), but note that I'm not a great resource for helping specific issue, both because I have limited capacity but also because I do not consider myself an expert in the statistical methods behind survey analysis.

**Have something to add?**

Expand Down

0 comments on commit fa9298b

Please sign in to comment.