Refactor likelihood
functions
#59
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
lint-changed-files.yaml Required
on: pull_request
lint-changed-files
1m 34s
Annotations
1 error and 5 warnings
lint-changed-files
Process completed with exit code 31.
|
lint-changed-files:
R/likelihood.R#L42
file=R/likelihood.R,line=42,col=4,[indentation_linter] Indentation should be 2 spaces but is 4 spaces.
|
lint-changed-files:
R/likelihood.R#L65
file=R/likelihood.R,line=65,col=81,[line_length_linter] Lines should not be more than 80 characters.
|
lint-changed-files:
R/likelihood.R#L83
file=R/likelihood.R,line=83,col=4,[indentation_linter] Indentation should be 6 spaces but is 4 spaces.
|
lint-changed-files:
R/likelihood.R#L118
file=R/likelihood.R,line=118,col=52,[unnecessary_lambda_linter] Pass exp directly as a symbol to lapply() instead of wrapping it in an unnecessary anonymous function. For example, prefer lapply(DF, sum) to lapply(DF, function(x) sum(x)).
|
lint-changed-files:
R/likelihood.R#L127
file=R/likelihood.R,line=127,col=11,[brace_linter] There should be a space before an opening curly brace.
|