如何在R plumber中的apiTitle批注中添加换行符

时间:2019-11-14 16:40:59

标签: r api plumber

我尝试过这样的事情:但是一切都被打印出来了

library(plumber)

#* @apiTitle Some long title and i tried <br/>  \n  \r  \r\n  all this .. but no idea and cannot find documentation about it:S

#* Echo back the input
#* @param msg The message to echo
#* @get /echo
function(msg=""){
  list(msg = paste0("The message is: '", msg, "'"))
}

0 个答案:

没有答案