Skip to content

Commit 81d2f39

Browse files
committed
get rid of R CMD CHECK notes
1 parent a1a0385 commit 81d2f39

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ Description: Fit Bayesian generalized (non-)linear multilevel models
4242
and link functions are supported, allowing users to fit
4343
linear, robust linear, binomial, Poisson, survival, response times, ordinal,
4444
zero-inflated, hurdle, and even non-linear models all in a multilevel context.
45-
Further modeling options include autocorrelation and smoothing terms,
46-
user defined covariance structures, censored data, meta-analytic
45+
Further modeling options include auto-correlation and smoothing terms,
46+
user defined dependence structures, censored data, meta-analytic
4747
standard errors, and quite a few more.
4848
In addition, all parameters of the response distribution can be predicted
4949
in order to perform distributional regression.

R/brm.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
#' and link functions are supported, allowing users to fit
66
#' linear, robust linear, binomial, Poisson, survival, response times, ordinal,
77
#' zero-inflated, hurdle, and even non-linear models all in a multilevel context.
8-
#' Further modeling options include autocorrelation and smoothing terms,
9-
#' user defined covariance structures, censored data, meta-analytic
8+
#' Further modeling options include auto-correlation and smoothing terms,
9+
#' user defined dependence structures, censored data, meta-analytic
1010
#' standard errors, and quite a few more.
1111
#' In addition, all parameters of the response distribution can be predicted
1212
#' in order to perform distributional regression.

R/misc.R

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,10 +405,9 @@ use_alias <- function(arg, alias = NULL, default = NULL,
405405
if (!is_equal(alias, default)) {
406406
arg <- alias
407407
if (grepl("^dots\\$", alias_name)) {
408-
alias_name <- sub("^dots\\$", "", alias_name)
408+
alias_name <- gsub("^dots\\$", "", alias_name)
409409
} else if (grepl("^dots\\[\\[", alias_name)) {
410-
alias_name <- sub("^dots\\[\\[\"", "", alias_name)
411-
alias_name <- sub("\"\\]\\]$", "", alias_name)
410+
alias_name <- gsub("^dots\\[\\[\"|\"\\]\\]$", "", alias_name)
412411
}
413412
if (warn) {
414413
warning2("Argument '", alias_name, "' is deprecated. ",

man/brm.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)