Skip to content

Commit

Permalink
Add .lintr
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulthran committed Sep 21, 2023
1 parent 05d1da0 commit 6e459cd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .lintr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
linters: linters_with_defaults(
line_length_linter(120)
)
encoding: "UTF-8"
10 changes: 8 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@ Type: Package
Title: A zero-inflated beta random effect model
Version: 0.1
Date: 2017-01-25
Authors@R: c(person("Eric", "Zhang Chen", email = "chvlyl@gmail.com", role = c("aut")),
person("Charlie", "Bushman", email = "ctbushman@gmail.com", role = c("cre")))
Authors@R: c(person("Eric",
"Zhang Chen",
email = "chvlyl@gmail.com",
role = c("aut")),
person("Charlie",
"Bushman",
email = "ctbushman@gmail.com",
role = c("cre")))
Description: A zero-inflated beta random effect model for longitudinal
microbiome data.
License: file LICENSE
Expand Down
2 changes: 1 addition & 1 deletion R/simulate_logistic_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ simulate_logistic_data <- function() {
set.seed(sim.seed + 3)
Y <- rbinom(subject.n * time.n, 1, p)

return(list(X = X, Y = Y, b = b, subject.ind = subject.ind, time.ind = time.ind))
list(X = X, Y = Y, b = b, subject.ind = subject.ind, time.ind = time.ind)
}

0 comments on commit 6e459cd

Please sign in to comment.