Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 1012 Bytes

Rpackage_preflight.md

File metadata and controls

19 lines (17 loc) · 1012 Bytes

Building R Packages Pre-Flight Check List

  1. Install latest version of R from CRAN
  2. Install latest version of RStudio Desktop from RStudio's web site
  3. Open RStudio
  4. Install devtools package (may take a few minutes) or update packages
  5. Install roxygen2 package
  6. Click on Project ---> New Project… ---> New Directory
  7. Click on "R Package using devtools" (you may need to scroll down in the menu)
  8. Enter package name
  9. Verify that project subdirectory path does not contain any spaces
  10. Click "Create Project"
  11. Delete the NAMESPACE file (you will use roxygen2 to auto-generate this file)
  12. Click “Build” tab in environment browser
  13. Click More ---> “Configure Build Tools…”
  14. Check “Generate documentation with Roxygen” --> Click the "Configure..." button
  15. Check “Build & Reload” in the Roxygen Options —> Click OK
  16. Click OK in Project Build Tools Options