-
Notifications
You must be signed in to change notification settings - Fork 0
Add gapfilling functions #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
About the error we saw yesterday in the pkgdown site examples saying that the functions were not found, I couldn't reproduce it, it worked fine for me (after also adding zoo to DESCRIPTION imports). Few things that come to mind:
- Try to manually delete the
mananddocsfolders, and theNAMESPACEfile. - Generate again using
devtools::document() devtools::install() pkgdown::build_site()
- Double check if your new functions appear in the
NAMESPACEfile. - Try rerunning code in clean R sessions when something goes wrong, just in case.
I will leave more comments about the code itself after you complete the PR with style fixes and tests.
|
If you have time, please have a look at some R packages that might be useful regarding imputation of missing data:
There's nothing wrong with using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
air
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 5 in 1b726ef
| year = c(2015, 2016, 2017, 2018, 2019, 2020, 2015, 2016, 2017, 2018, 2019, 2020), |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 12 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 15 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 18 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 21 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Lines 23 to 24 in 1b726ef
| testthat::expect_equal(result$value[result$Source_value == "Original"], c(3, 0, 1, 5)) | |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 32 in 1b726ef
| year = c(2015, 2016, 2017, 2018, 2019, 2020, 2015, 2016, 2017, 2018, 2019, 2020), |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Lines 37 to 39 in 1b726ef
| result <- linear_fill(test_data, value, year, category, method = "interpolate") | |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 42 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 45 in 1b726ef
| interpolated_values <- category_a$value[category_a$Source_value == "Linear interpolation"] |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 52 in 1b726ef
| year = c(2015, 2016, 2017, 2018, 2019, 2020, 2015, 2016, 2017, 2018, 2019, 2020), |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Lines 57 to 59 in 1b726ef
| result <- linear_fill(test_data, value, year, category, method = "interp_back") | |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 63 in 1b726ef
| testthat::expect_false("First value carried backwards" %in% result$Source_value) |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 69 in 1b726ef
| year = c(2015, 2016, 2017, 2018, 2019, 2020, 2015, 2016, 2017, 2018, 2019, 2020), |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Lines 74 to 76 in 1b726ef
| result <- linear_fill(test_data, value, year, category, method = "interp_forward") | |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 79 in 1b726ef
| testthat::expect_true("First value carried backwards" %in% result$Source_value) |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 86 in 1b726ef
| year = c(2015, 2016, 2017, 2018, 2019, 2020, 2015, 2016, 2017, 2018, 2019, 2020), |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 91 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 93 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 96 in 1b726ef
| testthat::expect_true(any(c("Last value carried forward", "First value carried backwards") %in% result$Source_value)) |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 102 in 1b726ef
| year = c(2015, 2016, 2017, 2018, 2019, 2020, 2015, 2016, 2017, 2018, 2019, 2020), |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 107 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 119 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 121 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 134 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 136 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 143 in 1b726ef
| # 10 + (20-10) * 2/4 |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 149 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 164 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 166 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Lines 169 to 171 in 1b726ef
| testthat::expect_equal(result$Source_value[1], "First value carried backwards") | |
| testthat::expect_equal(result$Source_value[2], "First value carried backwards") | |
| testthat::expect_equal(result$Source_value[3], "First value carried backwards") |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 181 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 183 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 198 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 200 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 215 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 217 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Lines 220 to 222 in 1b726ef
| testthat::expect_equal(result$Source_value[1], "First value carried backwards") | |
| testthat::expect_equal(result$Source_value[2], "First value carried backwards") | |
| testthat::expect_equal(result$Source_value[3], "First value carried backwards") |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Lines 233 to 235 in 1b726ef
| result <- linear_fill(grouped_data, value, year, group, method = "interpolate") | |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 246 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 265 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 267 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Lines 288 to 290 in 1b726ef
| result <- linear_fill(single_value_data, value, year, method = "fill_everything") | |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 293 in 1b726ef
| testthat::expect_equal(result$Source_value[1], "First value carried backwards") |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 302 in 1b726ef
| year = c(2015, 2016, 2017, 2018, 2019, 2020, 2015, 2016, 2017, 2018, 2019, 2020), |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 307 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 309 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 312 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 324 in 1b726ef
| proxy_sources <- c("Proxy interpolated", "Proxy carried forward", "Proxy carried backwards") |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 337 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 339 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 353 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 365 in 1b726ef
| year = c(2015, 2016, 2017, 2018, 2019, 2020, 2015, 2016, 2017, 2018, 2019, 2020), |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 368 in 1b726ef
| change_variable =c(1,2,3,4,1,1,0,0,0,0,0,1) |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 370 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 372 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 375 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 380 in 1b726ef
| original_rows <- result[result$Source_value == "Original" & !is.na(result$Source_value), ] |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 393 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 395 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 420 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 422 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 426 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 450 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 453 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 459 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 471 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 473 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 477 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 487 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 489 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 498 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 512 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 514 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 519 in 1b726ef
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 530 in 1b726ef
| year = c(2015, 2016, 2017, 2018, 2019, 2020, 2015, 2016, 2017, 2018, 2019, 2020), |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Lines 535 to 537 in 1b726ef
| # Test that functions can be chained together | |
| result1 <- linear_fill(test_data, value, year, category, method = "interpolate") |
|
Check the formatting issues. It can also be fixed directly from here.
3. In the end, commit those suggestions
This can be handy if you don't have a local |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
air
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Lines 169 to 171 in b98122c
| testthat::expect_equal(result$Source_value[1], "First value carried backwards") | |
| testthat::expect_equal(result$Source_value[2], "First value carried backwards") | |
| testthat::expect_equal(result$Source_value[3], "First value carried backwards") |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 181 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 183 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 198 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 200 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 215 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 217 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Lines 220 to 222 in b98122c
| testthat::expect_equal(result$Source_value[1], "First value carried backwards") | |
| testthat::expect_equal(result$Source_value[2], "First value carried backwards") | |
| testthat::expect_equal(result$Source_value[3], "First value carried backwards") |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Lines 233 to 235 in b98122c
| result <- linear_fill(grouped_data, value, year, group, method = "interpolate") | |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 246 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 265 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 267 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Lines 288 to 290 in b98122c
| result <- linear_fill(single_value_data, value, year, method = "fill_everything") | |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 293 in b98122c
| testthat::expect_equal(result$Source_value[1], "First value carried backwards") |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 302 in b98122c
| year = c(2015, 2016, 2017, 2018, 2019, 2020, 2015, 2016, 2017, 2018, 2019, 2020), |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 307 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 309 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 312 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 324 in b98122c
| proxy_sources <- c("Proxy interpolated", "Proxy carried forward", "Proxy carried backwards") |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 337 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 339 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 353 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 365 in b98122c
| year = c(2015, 2016, 2017, 2018, 2019, 2020, 2015, 2016, 2017, 2018, 2019, 2020), |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 368 in b98122c
| change_variable =c(1,2,3,4,1,1,0,0,0,0,0,1) |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 370 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 372 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 375 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 380 in b98122c
| original_rows <- result[result$Source_value == "Original" & !is.na(result$Source_value), ] |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 393 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 395 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 420 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 422 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 426 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 450 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 453 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 459 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 471 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 473 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 477 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 487 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 489 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 498 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 512 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 514 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 519 in b98122c
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 530 in b98122c
| year = c(2015, 2016, 2017, 2018, 2019, 2020, 2015, 2016, 2017, 2018, 2019, 2020), |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Lines 535 to 537 in b98122c
| # Test that functions can be chained together | |
| result1 <- linear_fill(test_data, value, year, category, method = "interpolate") |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
air
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 513 in fb337e8
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 515 in fb337e8
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 519 in fb337e8
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 543 in fb337e8
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 546 in fb337e8
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 552 in fb337e8
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 564 in fb337e8
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 566 in fb337e8
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 570 in fb337e8
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 580 in fb337e8
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 582 in fb337e8
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 591 in fb337e8
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 605 in fb337e8
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 607 in fb337e8
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 612 in fb337e8
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Line 623 in fb337e8
| year = c(2015, 2016, 2017, 2018, 2019, 2020, 2015, 2016, 2017, 2018, 2019, 2020), |
[air] reported by reviewdog 🐶
whep/tests/testthat/test_gapfilling.R
Lines 628 to 630 in fb337e8
| # Test that functions can be chained together | |
| result1 <- linear_fill(test_data, value, year, category, method = "interpolate") |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…a/whep into edu/add-old-functions
lbm364dl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great start! I think many of these comments are related to the workflow, so hopefully you'll catch up soon. I only reviewed linear_fill, will check the others later.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the tests look better now. I managed to read through all of them so I really think they're easier to maintain now. I also agree that the fixtures usage is clean. Most of the comments I left are related to making the code even cleaner, I hope they help, but as I said in them, you don't have to apply all of them if you think your style is better.
An additional question (I think I can't comment on a binary file). Why was the testthat-problems.rds file added? What does it do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lbm364dl, I applied your suggestions and I think there is nothing left to be revised.
I added @jinfama as a reviewer because he is also working on gapfilling functions and he has many suggestions and also other functions to propose... @lbm364dl, do you think @jinfama should give his feedback on this PR (it may take a few weeks) or we should close this one and make a new one?
About the
Shall I delete it and add it to .gitignore? |
When we're done with my suggestions we can merge. @jinfama can add his review when he has time, and then we can create an issue with his suggestions and do them in a new PR. Even if a PR is merged/closed, you can still add your review or comments.
You have no snapshot tests in the current code. Maybe you tried to add one at some point. Anyway, I think this file shouldn't appear again if you currently have no snapshot tests. Just delete the file, no need to add to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few small comments. We're almost there!
PS: Remember to also remove the testthat-comments.rds file.
7370da9 to
9015863
Compare
lbm364dl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Great job for the first PR!


Create gapfilling functions