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

Fix slice_sample() handling of n= and prop= #6172

Merged
merged 2 commits into from
Feb 3, 2022
Merged

Conversation

romainfrancois
Copy link
Member

related to Nowosad/motif#66

@romainfrancois romainfrancois changed the title Fix slice_sample() handling of n= and prop= Fix slice_sample() handling of n= and prop= Feb 2, 2022
R/slice.R Show resolved Hide resolved
R/slice.R Outdated Show resolved Hide resolved
@romainfrancois
Copy link
Member Author

Thanks @DavisVaughan. I've fusion both functions, and removed the unnecessary min/max because the original slice() already takes care of silently truncating.

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