Skip to content

error occurs after first run #13

@faraziju

Description

@faraziju

When I use the function 'ODRF' for the first time in a R session, it works fine. If I repeat the function with or without changing anything, it gives me error.
Error in { :
task 1 failed - "no applicable method for 'predict' applied to an object of class "call""

data(seeds, package = "ODRF")
set.seed(12)
train <- sample(1:209, 150)
seeds_train <- data.frame(seeds[train, ])
seeds_test <- data.frame(seeds[-train, ])
forest <- ODRF(varieties_of_wheat ~ ., seeds_train, split = "gini", 
               parallel = FALSE)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions