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

better input validation #7

Open
mailund opened this issue Mar 1, 2018 · 0 comments
Open

better input validation #7

mailund opened this issue Mar 1, 2018 · 0 comments

Comments

@mailund
Copy link
Owner

mailund commented Mar 1, 2018


opened via imdone.io from a code comment on d93310570bd2228676b088177890c86576ecc2d1 by Thomas Mailund mailund@birc.au.dk


dynprog/R/parser.R

Lines 20 to 25 in 8191bdb

# FIXME: better input validation
stopifnot(ranges_expr[[1]] == "{")
ranges_definitions <- ranges_expr[-1]
# We want to evaluate all the expressions, in the quosure environment,
# and put them in a list under the name we gave them.

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

No branches or pull requests

1 participant