I've been trying to publish an html document, generated by knitr, to RPubs. I'm getting the following message:
Error in ifelse(isUpdate, id, result$location) :
replacement has length zero
Calls: -> ifelse
In addition: Warning message:
In rep(no, length.out = length(ans)) :
'x' is NULL so the result will be NULL
Execution halted
Does anyone know what might be causing this?