Skip to content
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

Remove observe_process() #431

Closed
athowes opened this issue Nov 13, 2024 · 1 comment · Fixed by #439
Closed

Remove observe_process() #431

athowes opened this issue Nov 13, 2024 · 1 comment · Fixed by #439
Assignees
Labels
high Required for next release

Comments

@athowes
Copy link
Collaborator

athowes commented Nov 13, 2024

In PR #390 we updated the preprocessing functionality, but we left observe_process() in the package. I think if possible we should get rid of this. Similarly, if possible we should get rid of the filter_obs functions.

@athowes athowes added the high Required for next release label Nov 13, 2024
@athowes athowes self-assigned this Nov 13, 2024
@athowes
Copy link
Collaborator Author

athowes commented Nov 13, 2024

Instances of observe_process() being used (that are not auto generated, or the definition itself):

  • inst/make_hexsticker.R: Line 18
    • observe_process
  • tests/testthat/setup.R: Lines 23, 44, 79
    • observe_process() |>
  • vignettes/approx-inference.Rmd: Line 118
    • observe_process() |>
  • vignettes/ebola.Rmd: Lines 171, 174
    • Line 171: Next, we use observe_process() to add interval censoring columns giving the lower and upper bounds on the primary and secondary event times:
    • Line 174: obs_cens <- observe_process(sierra_leone_ebola_data)
  • vignettes/epidist.Rmd: Lines 160, 161
    • Line 160: # observe_process() should be renamed and include a "daily" i.e. 1 argument
    • Line 161: obs_cens <- obs |> observe_process()
  • vignettes/faq.Rmd: Line 46
    • observe_process() |>

seabbs added a commit that referenced this issue Nov 19, 2024
* Remove observe_process

* Update NAMESPACE

* Simplify columns created

* Fix names

* Lint fix

* Need to have obs_time in there also

* Set obs_time for Ebola vignette

* Redoc

* Missing part

* Reabase fix for Ebola vignette

* Rebase

* Linter on imports

* Change to nolint strategy

* Increase tol

* Increase tol again

* Update make_hexsticker.R

---------

Co-authored-by: Sam Abbott <s.e.abbott12@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high Required for next release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant