Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yaml header with 'params' --> Unable to tagle file #375

Closed
r-cheologist opened this issue May 23, 2017 · 3 comments
Closed

yaml header with 'params' --> Unable to tagle file #375

r-cheologist opened this issue May 23, 2017 · 3 comments

Comments

@r-cheologist
Copy link

I have a bookdown project where a yaml header contains

params:
  short: false

which is a custom parameter I use to compile two different variations of the same report from one source. Packrat is unable to gracefully deal with this and when I hit "Check for package updates", it reports:

Unable to tangle file '<MYFILE>.rmd'; cannot parse dependencies
Error in eval(x, envir = envir) : object 'params' not found

Sincerely, Joh

@colearendt
Copy link
Contributor

Related to #363 ?

@kevinushey
Copy link
Contributor

I can't reproduce the issue as described. I can successfully tangle this file:

---
title: "Untitled"
output: html_document
params:
  short: false
---

# Hello, world!

Can you provide a reproducible example?

@aronatkins
Copy link
Contributor

This problem was caused by using rmarkdown::render to analyze R Markdown files for dependencies.

We believe that this is resolved with #647.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants