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

Switch from timetk to slider for sliding window #7

Merged
merged 1 commit into from
May 1, 2023
Merged

Conversation

dschafer
Copy link
Owner

@dschafer dschafer commented May 1, 2023

timetk got archived from CRAN at one point, causing this package to get archived as well.

While timetk is back up, we only use it for a single function, and that function is basically a re-export from the lower-level slider package.

So this removes our dependency on timetk and replaces it with a dependency on slider instead.

As it turns out, this also gives us better results, since we're able to more clearly note that we're looking for a sliding window on the "time" column of 30 seconds. So the test is updated, and the results look more correct.

Resolves #3

`timetk` got archived from CRAN at one point, causing this package to get archived as well.

While `timetk` is back up, we only use it for a single function, and that function is basically a re-export from the lower-level `slider` package.

So this removes our dependency on `timetk` and replaces it with a dependency on `slider` instead.

As it turns out, this also gives us better results, since we're able to more clearly note that we're looking for a sliding window on the "time" column of 30 seconds. So the test is updated, and the results look more correct.

Resolves #2
@dschafer dschafer merged commit d81bcbd into master May 1, 2023
@dschafer dschafer deleted the useslider branch May 1, 2023 17:49
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.

Remove timetk dependency
1 participant