Skip to content

Commit

Permalink
fixed lintr issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AnestisTouloumis committed Oct 31, 2019
1 parent 9e2cb55 commit 2282299
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/SimCorMultRes_internals.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ check_xformula <- function(xformula) {
linear_predictor_formula
}

# nolint start
check_intercepts <- function(intercepts, cluster_size, rfctn,
sample_size = NULL) {
if (!is.numeric(intercepts)) {
Expand Down Expand Up @@ -141,6 +142,7 @@ check_intercepts <- function(intercepts, cluster_size, rfctn,
}
intercepts
}
# nolint end

check_betas <- function(betas, cluster_size) {
if (!(is.vector(betas) & !is.list(betas)) & !is.matrix(betas)) {
Expand Down

0 comments on commit 2282299

Please sign in to comment.