Skip to content

Unhandled error if suggest()end up with no feature to return #4

Description

@mmahmoudian

In general it is possible that no feature is good enough to be suggested to the user by the sivs::suggest() function. Based on the current code this situation is not handled and the following line

final <- VIMP_features[1:last_suggested_feature]

would return:

Error in 1:last_suggested_feature: argument of length 0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions