R Markdown APA format unable to knit to PDF/Word/html

I use Mac. I have created a markdown file in APA format. I have all the necessary latex packages installed. If I try to knit the document without code I am able to knit to pdf/word. But when I include the code it gets stuck at 84% and then does not generate any error or file and gives the error. Need help.

label: dataframes (with options)
List of 1
$ echo: logi FALSE

|............................................ | 68%
ordinary text without R code

|................................................ | 74%
label: Functions (with options)
List of 1
$ echo: logi FALSE

|................................................... | 79%
ordinary text without R code

|....................................................... | 84%
label: files (with options)
List of 1
$ echo: logi FALSE

convert: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG `Pratik_Chaudhari_HW_4_files/figure-latex/dataframes-1.png' @ warning/png.c/MagickPNGWarningHandler/1747.

if you see it is stuck at 84%.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.