Problem in knitting with R markdown which reads data from google spreadsheet

Hello..
I am creating a word document output using R markdown. I am getting following error while knitting.. please help

Error in vapply():
! values must be length 1,
but FUN(X[[1]]) result is length 0
Backtrace:

  1. rmarkdown::render(...)
  2. knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
  3. knitr:::process_file(text, output)
  4. knitr:::process_group.inline(group)
  5. knitr:::call_inline(x)
  6. knitr:::inline_exec(block)
  7. knitr (local) hook(res)
  8. knitr:::format_sci(x, if (length(pandoc_to()) == 1L) "latex" else "html")
  9. base::vapply(x, format_sci_one, character(1L), ..., USE.NAMES = FALSE)

Hello

Could you include some more information about how you are reading the data? I suspect that there might be some problem in importing the data itself. Paste the relevant parts of your code please.

Hello..
Sorry i missed your message.. i have sent you a file.. it can be copied and pasted in R markdown .. when i am trying to knit the execution is halted on line 123 always and i get the same issue repeatedly.. expecting a reply. Thanks.
SPA issue.pdf (98.9 KB)

This topic was automatically closed 42 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.