The suggested workflow for sinew is an extension of the alternative documentation workflow described in the R packages book by Hadley Wickham.
Initial Package Build
R
script for the package using proper
namespacing definitions, i.e. package::function
, or use
sinew::pretty_namespace
. Focus only on the
function and package logic.sinew::makeOxygen
(single file) or
sinew::makeOxyFile
(directory) to create skeletons. It is
suggested to use the styler package beforehand to
have ensure proper R script syntax conventions.sinew::make_import
to create the correct
Imports
in the DESCRIPTION
file.Package Maintenance
sinew::moga
on updated functionssinew::make_import
to create the correct
Imports in the DESCRIPTION
file.