Skip to content

first pr#1

Open
Jacqui-123 wants to merge 1 commit intomainfrom
first_PR
Open

first pr#1
Jacqui-123 wants to merge 1 commit intomainfrom
first_PR

Conversation

@Jacqui-123
Copy link
Copy Markdown
Owner

No description provided.

Comment on lines +2 to +8
test_that("testing mean_med_annual function", {

df <- data.frame(STATION_NUMBER = "00701ADD", waterYear = 1989, Value = .56)
df_out <- tibble::tibble(STATION_NUMBER = "00701ADD", waterYear = 1989, annual_mean = .56, annual_median = .56, annual_sd = NA_real_)
expect_equal(mean_med_annual(df), df_out)

})
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great test!

@@ -0,0 +1,6 @@

test_that("path operations work", {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
test_that("path operations work", {
test_that("math operations work", {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants