i
Table o Contents
Acknowledgements
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1 Package structure
.................................................................
DESCRIPTION
’ le
........................................................
INDEX
’ le
...............................................................
61.1.3 Package subdirectories
........................................................
..............................................................
91.2 Congure and cleanup
............................................................
Makevars
’
............................................................
121.2.1.1 Back-compatibility
......................................................
...........................................................
..............................................................
161.3 Checking and building packages
..................................................
161.3.1 Checking packages
...........................................................
161.3.2 Building packages
...........................................................
181.3.3 Customizing checking and building
...........................................
191.4 Writing package vignettes
........................................................
201.5 Submitting a package to
CRAN
...................................................
211.6 Package name spaces
.............................................................
211.6.1 Speciying imports and exports
..............................................
221.6.2 Registering S3 methods
......................................................
..................................................................
.................................................................
251.6.5 Summary – converting an existing package
...................................
261.6.6 Name spaces with ormal classes and methods
................................
261.7 Writing portable packages
........................................................
.............................................................
281.8 Diagnostic messages
..............................................................
291.9 Internationalization
..............................................................
.............................................................
..................................................................
.................................................................
...................................................................
...................................................................
.................................................................
.........................................................................
2 Writing R documentation les
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.1 Rd ormat
........................................................................
342.1.1 Documenting unctions
......................................................
352.1.2 Documenting data sets
......................................................
382.1.3 Documenting S4 classes and methods
........................................
392.1.4 Documenting packages
.......................................................
........................................................................
.....................................................................
..................................................................