Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

producing an .rmd file but no partner .md file #542

Open
sallyinnis opened this issue Sep 13, 2019 · 4 comments
Open

producing an .rmd file but no partner .md file #542

sallyinnis opened this issue Sep 13, 2019 · 4 comments

Comments

@sallyinnis
Copy link

Hi for the homework assignment 2, when I commit and push my gapminder exploration I am only producing a .rmd file and it seems I am having errors associated with the .md file. Has any one else come across this?

Thanks!

@sallyinnis
Copy link
Author

@545a-2019-20-team

@trevor-baker
Copy link

Hi Sally, this is tough to answer without more details. The .md file should be made when you press Knit in RStudio, not when you commit/push. Not getting the .md file made indicates that there are code errors in your .Rmd file (or maybe that your options are set so that it is not made - I'm not sure about this). If it's code errors, they should have a line # associated and an error message. Giving us those won't make your error reproducible, but will offer some hints. If you supply the code chunk leading up to that point, then we might be able to reproduce the error.

@sallyinnis
Copy link
Author

Hi Trevor, Thanks for your reply. I think I figured it out by pure chance. I have copied the error message below. I ended up coding directly in git and then exporting and it seemed to work

@sallyinnis
Copy link
Author

output file: hw_01gapminder.knit.md

Error: Functions that produce HTML output found in document targeting gfm-ascii_identifiers output.
Please change the output type of this document to HTML. Alternatively, you can allow
HTML output in non-HTML formats by adding this option to the YAML front-matter of
your rmarkdown file:

always_allow_html: yes

Note however that the HTML output will not be visible in non-HTML formats.

Execution halted

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

No branches or pull requests

2 participants