Chapter 3 Check your package

You should check if your package works correctly and passes all requirements. To do so, use devtools::check() function:

devtools::check()
-- Building ------------------------------------------------------- my_summaries 
Setting env vars:
* CFLAGS    : -Wall -pedantic
* CXXFLAGS  : -Wall -pedantic
* CXX11FLAGS: -Wall -pedantic
--------------------------------------------------------------------------------
√  checking for file '/mypath/my_summaries/DESCRIPTION' (3.1s)
-  preparing 'mypkg':
√  checking DESCRIPTION meta-information ... 
-  checking for LF line-endings in source and make files and shell scripts
-  checking for empty or unneeded directories
-  building 'my_summaries_0.0.0.9000.tar.gz'
. . .
0 errors √ | 1 warning x | 0 notes √

You should address both errors and warnings. A good package should have zeros in all three fields. Right now we get a warning because the functions in our package are not documented. We will need to fix it.