powered by
Compute documentation statistics, providing section length in lines and identifying too long lines.
computeDocumentationStatistics(filename_s_1, maxLineLength_pi_1 = 100L)
A single string value
string
A single positive integer value
integer
A data.table with three columns.
data.table
the section names embedded in the file
the number of lines for the section
the line numbers where issues are found or NA.
NA
Wherever a line_length_issue is not NA, you should correct the faulty line by editing the file. Not doing so will very probably imply a failure during check package procedure execution.
line_length_issue
# NOT RUN { # computeDocumentationStatistics('myfile.Rd') # }
Run the code above in your browser using DataLab