Can't add an image to remarkdown

Hello everyone!
I just can't add an image to my rmarkdown... my script is bellow, untill add the image it was working perfectly.
The error is: Error in parse(text=x srcfile=src) : 2:2 ['unexpeted 1:2 ! [ ^ calls: Anonymous>... ->parse_all ->parse_all.character ->parse
Thanks very much!

title: "Earth Analytics Week 1"
author: "Ana Toro"
date: "4 de junho de 2019"
output: html_document
---
```{r}
# load the ggplot2 library for plotting
library(ggplot2)

# download data from figshare
# note that we are downloading  the data into your working directory (earth-analytics)
download.file(url = "https://ndownloader.figshare.com/files/7010681",
              destfile = "C:/Users/Daniel/Desktop/IDGeo/Earth analytics course_Learn data science/data/precipboulderaugoct2013.csv")

# import data
boulder_precip <- read.csv(file="C:/Users/Daniel/Desktop/IDGeo/Earth analytics course_Learn data science/data/precipboulderaugoct2013.csv")

# view first few rows of the data
head(boulder_precip)

# when we download the data we create a dataframe
# view each column of the data frame using it's name (or header)
boulder_precip$DATE

# view the precip column
boulder_precip$PRECIP

# q plot stands for quick plot. Let's use it to plot our data
qplot(x=boulder_precip$DATE,
      y=boulder_precip$PRECIP)
# set working dir as a variable
my.dir <- getwd()

# what files are in that working directory?
list.files(my.dir, recursive= TRUE)

```{r}

![imagem](images/silly-dog.png)

A code chunk has to be closed with ``` not with ```{r}, and ![imagem](images/silly-dog.png) should be outside the code chunk.

I'm sorry about my fool mistake! Thanks very much.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.