# create a variable a, equal to 5 # print out a # check the number of R packages available on CRAN # create a variable `a`, equal to 5 a <- 5 # print out `a` print(a) # check the number of R packages available on CRAN nrow(available.packages(repos = "http://cran.us.r-project.org")) test_object("a") test_output_contains("a") test_function("nrow") test_function("available.packages") success_msg("Great job!")
Use the assignment operator ( <- ) to create the variable a.