Skip to content

R crashes when training the model #39

@Zeroo11

Description

@Zeroo11

Describe the bug

Hello,
I ran the code according to SDMtune's tutorial (https://consbiol-unibern.github.io/SDMtune/):

# Train a Maxnet model
model <- train(method = "Maxnet", data = train)

It works fine.
fig1

But training the model a second time:

# Train a Maxent model
sdmtune_model <- train(method = "Maxent", data = data)

A crash occurs.
error

I also tested another tutorial (https://consbiol-unibern.github.io/SDMtune/articles/train-model.html):

default_model <- train(method = "Maxent",
                        data = data)

Also crashes.
fig3

How can I solve this problem?

Looking forward to your answer, thank you very much!

LinLin

Steps to reproduce the bug

library(SDMtune)

Session information

A crash occurs

Additional information

No response

Reproducible example

  • I have done my best to provide the steps to reproduce the bug

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions