Screen Link:
My Code:
Replace this line with your code
chess_club[["first_years"]] <- first_years
chess_club[[c("first_years", 2)]]
What I expected to happen:
I expected that this will run properly
What actually happened:
Replace this line with the output/error
Error in chess_club[[c("first_years", 2)]]: subscript out of bounds
Traceback:
According to previous examples in this mission, If i used a positional index in the place of “first _years” the code would have worked. Why it is not working now?