Issue 14: Add using primarycensoreddist with stan vignette #14
Annotations
1 error and 5 warnings
Extract and lint files changed by this PR
Process completed with exit code 31.
|
Extract and lint files changed by this PR:
tests/testthat/test-pcd-stan-tools.R#L123
file=tests/testthat/test-pcd-stan-tools.R,line=123,col=25,[string_boundary_linter] Use !is.na(x) & endsWith(x, string) to detect a fixed terminal substring, or, if missingness is not a concern, just endsWith. Doing so is more readable and more efficient.
|
Extract and lint files changed by this PR:
tests/testthat/test-pcd-stan-tools.R#L130
file=tests/testthat/test-pcd-stan-tools.R,line=130,col=25,[fixed_regex_linter] This regular expression is static, i.e., its matches can be expressed as a fixed substring expression, which is faster to compute. Here, you can use "expgrowth" with fixed = TRUE.
|
Extract and lint files changed by this PR:
tests/testthat/test-pcd-stan-tools.R#L137
file=tests/testthat/test-pcd-stan-tools.R,line=137,col=25,[fixed_regex_linter] This regular expression is static, i.e., its matches can be expressed as a fixed substring expression, which is faster to compute. Here, you can use "expgrowth" with fixed = TRUE.
|
Extract and lint files changed by this PR:
tests/testthat/test-pcd-stan-tools.R#L138
file=tests/testthat/test-pcd-stan-tools.R,line=138,col=25,[fixed_regex_linter] This regular expression is static, i.e., its matches can be expressed as a fixed substring expression, which is faster to compute. Here, you can use "primary_censored" with fixed = TRUE.
|
Extract and lint files changed by this PR:
vignettes/using-stan-tools.Rmd#L48
file=vignettes/using-stan-tools.Rmd,line=48,col=1,[unused_import_linter] Package 'tidybayes' is attached but never used.
|
Loading