Skip to content

Commit

Permalink
fix more linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
SaranjeetKaur committed Dec 16, 2024
1 parent c9e1ef6 commit a7d47d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion man/load_config.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/testthat/test-health-plots.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ test_that("riskfactors function works correctly", {
expect_error(
riskfactors("invalid_riskft", data_weighted),
"Invalid risk factor. Choose from: 'bmi', 'energyintake', 'fat', 'obesity', 'protein', 'sodium'."

Check warning on line 31 in tests/testthat/test-health-plots.R

View workflow job for this annotation

GitHub Actions / lint

file=tests/testthat/test-health-plots.R,line=31,col=81,[line_length_linter] Lines should not be more than 80 characters. This line is 101 characters.
)
)
})

# Testing riskfactors_diff() function
Expand Down

0 comments on commit a7d47d1

Please sign in to comment.