check if a file is an RMarkdown file
is_rmarkdown(uri)
uri
a character, the path to a file as defined by RFC 3986
a logical