Kniting but keep getting error

I'm using the correct longitude_coordinate, but I keep getting error when KNITTING ONLY? why???

``{r}

Initial plot with latitude and longitude

ggplot(coyotes_clean, aes(x =longitude_coordinate, y = latitude_coordinate)) +
geom_point() + labs(title = "Coyote Complaints by Location", x = "Longitude", y = "Latitude")

keep getting error:
processing file: HW4.Rmd
|............... | 30% [unnamed-chunk-4]
Quitting from lines 98-103 [unnamed-chunk-4] (HW4.Rmd)
Error in geom_point():
! Problem while computing aesthetics.
:information_source: Error occurred in the 1st layer.
Caused by error:
! object 'longitude_coordinate' not found
Backtrace:

  1. rmarkdown::render("/stor/home/sc56/HW4.Rmd", encoding = "UTF-8")
  2. knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
  3. knitr:::process_file(text, output)
  4. knitr:::process_group.block(group)
  5. knitr:::call_block(x)
    ...
  6. l$compute_aesthetics(d, plot)
  7. ggplot2 (local) compute_aesthetics(..., self = self)
  8. ggplot2:::scales_add_defaults(...)
  9. base::lapply(aesthetics[new_aesthetics], eval_tidy, data = data)
  10. rlang (local) FUN(X[[i]], ...)

Execution halted

Is the code for creating longitude_coordinate included in the code you knit? Knitting will start with a fresh environment.