R packages are simply directories with a particular structure.
Bare bones: R/
, DESCRIPTION
Recommended: man/
, NAMESPACE
Optional: README, NEWS, CITATIONS, tests/
, demo/
, src/
, etc.
You can pretty easily create an initial package yourself, but devtools makes developing a package much easier