Rmarkdown suddenly started giving the following errors when compiling.
>
> > ---
> + title: "Untitled"
> Error in -title : invalid argument to unary operator
> > author: "ronj2303"
> Error: object 'author' not found
> > date: "6 2 2021"
> Error in date:"6 2 2021" : NA/NaN argument
> In addition: Warning message:
> NAs introduced by coercion
> > output: html_document
> Error: object 'output' not found
> > ---
> +
This is from compiling the first 6 lines of code that appear when you start a new .rmd document:
---
title: "Untitled"
author: "ronj2303"
date: "6 2 2021"
output: html_document
---
Weirdly, knitting works flawlessly. I have tried rebooting Rstudio, updating the markdown package, to no avail; the default .rmd template is riddled with these errors (and my markdown scripts as well).
I'm quite new to markdown and R in general.
I am posting here because google searches did not yield any solution regarding these errors.
Thanks in advance!
Weirdly, knitting works flawlessly. I have tried rebooting Rstudio, updating the markdown package, to no avail; the default .rmd template is riddled with these errors (and my markdown scripts as well).
I'm quite new to markdown and R in general.
I am posting here because google searches did not yield any solution regarding these errors.
Thanks in advance!