Skip to content

error for args when one argument specified #32

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions