You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run sessionInfo() and add the results to the issue. Even better would be to use the sessioninfo package's session_info().
Minimal, reproducible example:
I am trying to make my own rset function for bootstrap sampling groups in a grouped dataframes. But I run into an issue when the assessment rows empty. When making the reprex, I also discovered that I had to use 5L instead of 5 for the index.
rsample::make_splits(
list(
analysis=1:5,
assessment=NA
),
data.frame(x=1:5)
)
#> Error in UseMethod("complement"): no applicable method for 'complement' applied to an object of class "rsplit"rsample::make_splits(
list(
analysis=1:5,
assessment= integer(0)
),
data.frame(x=1:5)
)
#> Error in UseMethod("complement"): no applicable method for 'complement' applied to an object of class "rsplit"rsample::make_splits(
list(
analysis=1:4,
assessment=5
),
data.frame(x=1:5)
)
#> Error: `out_id` must be a positive integer vector.rsample::make_splits(
list(
analysis=1:4,
assessment=5L
),
data.frame(x=1:5)
)
#> <Analysis/Assess/Total>#> <4/1/5>
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex https://reprex.tidyverse.org) and link to this issue.
If you are filing a bug, make sure these boxes are checked before submitting your issue— thank you!
update.packages(oldPkgs="rsample", ask=FALSE)
sessionInfo()
and add the results to the issue. Even better would be to use thesessioninfo
package'ssession_info()
.Minimal, reproducible example:
I am trying to make my own rset function for bootstrap sampling groups in a grouped dataframes. But I run into an issue when the assessment rows empty. When making the reprex, I also discovered that I had to use
5L
instead of5
for the index.Created on 2020-09-25 by the reprex package (v0.3.0)
Session info
The text was updated successfully, but these errors were encountered: