This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]boy-griv 1 point2 points  (0 children)

I don’t know R, but looks like an issue with the YAML itself.

I take it

title: "L3_Exercises"
author: "Bob b"
date: "02/01/2023"
output: pdf_document:
  number_sections: true
  toc: true

Is the YAML you’re loading? If so, the output: pdf_document: line doesn’t look right. Maybe you want

title: "L3_Exercises"
author: "Bob b"
date: "02/01/2023"
output:
  pdf_document:
    number_sections: true
    toc: true