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

Variable Name Challenge 1 Intro To R and R Studio #244

Open
jordwil opened this Issue Feb 14, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@jordwil

jordwil commented Feb 14, 2017

I would recommend including the reasoning for the answers that would not work as variables.
For instance:

_age - We can only start variable names with letters or dots not followed by a number.

min-length - This contains a dash "-" character that can't be used when naming a variable. We can only use letters, numbers, dots, and underline "_" characters.

2widths - We can't start a variable name with a number.

I'd also recommend adding a question about a reserved word:

if - If is a special case called a reserved word. We use it for control structures that will be discussed at a later date.

@naupaka

This comment has been minimized.

Member

naupaka commented Feb 15, 2017

Sure, sounds good @jordwil. Want to submit the improved challenge and challenge answer as a pull request?

@naupaka

This comment has been minimized.

Member

naupaka commented Apr 29, 2017

Potentially addressed by #245

rgaiacs pushed a commit to rgaiacs/swc-r-novice-gapminder that referenced this issue May 6, 2017

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