after every row of code make sure to do Ctrl + Enter and i think check through the R library using data() to make sure the starwars dataset or tibble is there , I hope it works for you