Automatic documentations of functions for Shiny app using RStudio

倾然丶 夕夏残阳落幕 提交于 2019-12-10 11:10:56

问题


I am developing a Shiny app at the moment and getting to a point with more functions than I expected. I plan to start automated testing with testthat and I would love to document my functions with roxygen2.

Since I am using RStudio, I started a new shiny app project. Now I am wondering, since I want the documentation and testing done, if I should instead start a package in RStudio to get all the devtools functions.

I am wondering, how to get the functions documented properly and like in the build, to test the examples. Plus using the testthat functions. How can I set up a project like this?


回答1:


Since I found now a workflow which works for me, I described this on a different question.

developing shiny app as a package and deploying it to shiny server



来源:https://stackoverflow.com/questions/37719503/automatic-documentations-of-functions-for-shiny-app-using-rstudio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!