Skip to Tutorial Content

Test Cases

https://github.com/rstudio/learnr/issues/691

Hint

Reveal the hint, copy and paste into the exercise, and run.

c(
  1,
  2,
  3
)

Expected output:

[1] 1 2 3

Solution

Reveal the solution, copy and paste into the exercise, and run.

c(
  "apple",
  "banana",
  "coconut"
)

Expected output:

[1] "apple"   "banana"  "coconut"

Hint and Solution Copy and Paste