Skip to content

error for args when one argument specified #32

@jamiemkass

Description

@jamiemkass

I am having trouble specifying one args argument for MaxEnt(). This works:
predicts::MaxEnt(envs, data, args = c("-l", "-P"))
But this does not:
predicts::MaxEnt(envs, data, args = c("-P"))
Nor does this:
predicts::MaxEnt(envs, data, args = "-P")
The error I get is Error in strsplit(nodata, "=")[[1]] : subscript out of bounds.

I think this should be a quick fix, but not sure how to fix it myself. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions