Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Coursera's Building R Packages - Final Project

The releasing of this package is the final project for Coursera's Building R Packages course. The functions are for treatment and analysis of data from US National Highway Traffic Safety Administration's Fatality Analysis Reporting System, and were documented in a previous assessment.

The original file with the functions can be downloaded here and some data examples are here.

Notice that the package is required to pass on Travis build, and here is Travis' badge:

Build Status

Now you will find the instructions for the assessment.


The purpose of this assessment is for you to combine your skills of creating, writing, documenting, and testing an R package with releasing that package on GitHub. In this assessment you'll be taking the R files from Week 2's assessment about documentation and putting that file in an R package.

For this assessment you must

  1. write a vignette to include in your package using knitr and R Markdown
  2. write at least one test written using testthat
  3. put your package on GitHub
  4. set up the repository so that the package can be checked and built on Travis
  5. Once your package has built on Travis and the build is passing with no errors, warnings, or notes you should add your Travis badge to the file of your package repository.

Review criteria

For this assignment you'll submit a link to the GitHub repository which contains your package. This assessment will ask reviewers the following questions:

  1. Does this package contain the correct R file(s) under the R/ directory?
  2. Does this package contain a man/ directory with corresponding documentation files?
  3. Does this package contain a vignette which provides a meaningful description of the package and how it should be used?
  4. Does this package have at least one test included in the tests/ directory?
  5. Does this package have a NAMESPACE file?
  6. Does the file for this directory have a Travis badge?
  7. Is the build of this package passing on Travis?
  8. Are the build logs for this package on Travis free of any errors, warnings, or notes?
You can’t perform that action at this time.