日本語
 
Help Privacy Policy ポリシー/免責事項
  詳細検索ブラウズ

アイテム詳細


公開

学術論文

Sustainable, extensible documentation generation using inlinedocs

MPS-Authors
/persons/resource/persons62608

Wutzler,  Thomas
Department Biogeochemical Integration, Dr. M. Reichstein, Max Planck Institute for Biogeochemistry, Max Planck Society;

External Resource
Fulltext (restricted access)
There are currently no full texts shared for your IP range.
フルテキスト (公開)

BGC1925.pdf
(出版社版), 315KB

付随資料 (公開)
There is no public supplementary material available
引用

Hocking, T. D., Wutzler, T., Ponting, K., & Grosjean, P. (2013). Sustainable, extensible documentation generation using inlinedocs. Journal of statistical software, 54(6), 1-20. doi:10.18637/jss.v054.i06.


引用: https://hdl.handle.net/11858/00-001M-0000-0014-5E70-4
要旨
This article presents inlinedocs, an R package for generating documentation from comments. The concept of structured, interwoven code and documentation has existed for many years, but existing systems that implement this for the R programming language do not tightly integrate with R code, leading to several drawbacks. This article attempts to address these issues and presents 2 contributions for documentation generation for the R community. First, we propose a new syntax for inline documentation of R code within comments adjacent to the relevant code, which allows for highly readable and maintainable code and documentation. Second, we propose an extensible system for parsing these comments, which allows the syntax to be easily augmented.