Understanding Roxygen Package Documentation in R
dc.contributor.author | Vidoni, Melina | |
dc.date.accessioned | 2023-07-21T00:27:10Z | |
dc.date.issued | 2022 | |
dc.date.updated | 2022-05-22T08:16:02Z | |
dc.description.abstract | R is a package-based programming ecosystem that provides an easy way to install third-party code, datasets, and examples. Thus, R developers rely heavily on the documentation of the packages they import to use them correctly and accurately. This documentation is often written using Roxygen, equivalent to Java’s well-known Javadoc. This two-part study provides the first analysis in this area. First, 379 systematically-selected, open-source R packages were mined and analysed to address the quality of their documentation in terms of presence, distribution, and completeness to identify potential sources of documentation debt of technical debt that describes problems in the documentation. Second, a survey addressed how R package developers perceive documentation and face its challenges (with a response rate of 10.04%). Results show that incomplete documentation is the most common smell, with several cases of incorrect use of the Roxygen utilities. Unlike in traditional API documentation, developers do not focus on how behaviour is implemented but on common use cases and parameter documentation. Respondents considered the examples section the most useful, and commonly perceived challenges were unexplained examples, ambiguity, incompleteness and fragmented information. | en_AU |
dc.format.mimetype | application/pdf | en_AU |
dc.identifier.issn | 0164-1212 | en_AU |
dc.identifier.uri | http://hdl.handle.net/1885/294473 | |
dc.language.iso | en_AU | en_AU |
dc.publisher | Elsevier | en_AU |
dc.rights | © 2022 Elsevier Inc. | en_AU |
dc.source | Journal of Systems and Software | en_AU |
dc.subject | Software engineering | en_AU |
dc.subject | Roxygen | en_AU |
dc.subject | Api documentation | en_AU |
dc.subject | Technical debt | en_AU |
dc.subject | Mining software repositories | en_AU |
dc.subject | Developers’ survey | en_AU |
dc.title | Understanding Roxygen Package Documentation in R | en_AU |
dc.type | Journal article | en_AU |
local.bibliographicCitation.lastpage | 16 | en_AU |
local.bibliographicCitation.startpage | 1 | en_AU |
local.contributor.affiliation | Vidoni, Melina, College of Engineering and Computer Science, ANU | en_AU |
local.contributor.authoremail | u1118090@anu.edu.au | en_AU |
local.contributor.authoruid | Vidoni, Melina, u1118090 | en_AU |
local.description.embargo | 2099-12-31 | |
local.description.notes | Imported from ARIES | en_AU |
local.identifier.absfor | 461202 - Empirical software engineering | en_AU |
local.identifier.absfor | 461207 - Software quality, processes and metrics | en_AU |
local.identifier.absseo | 220407 - Human-computer interaction | en_AU |
local.identifier.absseo | 220401 - Application software packages | en_AU |
local.identifier.ariespublication | u1118090xPUB4 | en_AU |
local.identifier.citationvolume | 188 | en_AU |
local.identifier.doi | 10.1016/j.jss.2022.111265 | en_AU |
local.identifier.scopusID | 2-s2.0-85125458156 | |
local.identifier.uidSubmittedBy | u1118090 | en_AU |
local.publisher.url | https://www.elsevier.com/en-au | en_AU |
local.type.status | Published Version | en_AU |
Downloads
Original bundle
1 - 1 of 1
No Thumbnail Available
- Name:
- 1-s2.0-S0164121222000310-main.pdf
- Size:
- 1.56 MB
- Format:
- Adobe Portable Document Format
- Description: