Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cryptic error message if odin contains function #112

Closed
richfitz opened this issue Mar 16, 2018 · 0 comments
Closed

Cryptic error message if odin contains function #112

richfitz opened this issue Mar 16, 2018 · 0 comments
Projects

Comments

@richfitz
Copy link
Member

@richfitz richfitz commented Mar 16, 2018

odin::odin({
  update(x) <- 1
  initial(x) <- 1
  fn <- function(x) x + 1
})

gives

Error in FUN(X[[i]], ...) : argument "fn" is missing, with no default

which is not helpful (reported by @AmyDighe)

@richfitz richfitz added this to To Do in development May 10, 2018
@richfitz richfitz mentioned this issue Apr 8, 2019
@richfitz richfitz closed this in bef4b4e Apr 8, 2019
development automation moved this from To Do to Done Apr 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
development
  
Done
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.