Create 'roxygen2' Skeleton with Information from Function Script

Create 'roxygen2' skeleton populated with information scraped from the within the function script. Also creates field entries for imports in the 'DESCRIPTION' and import in the 'NAMESPACE' files. Can be run from the R console or through the 'RStudio' 'addin' menu.


Sinew News

  • file to track changes to the package.
  • pretty_namespaces
    • Function that autoappends namespace to functions in script by searchpath order.
  • create_yml
    • Functions that creates _sinewconfig.yml in the current project root directory, and updates .Rbuildignore.
  • makeImport
    • Writes directly to DESCRIPTION file.
  • untangle
    • Create the body.R file in the working directory instead of the directory where the functions are created.
    • Naming scheme for files is updated to replace all . in function names to _.

  • Fixed bug in pretty_namespace when global env is empty.


  • Fixed bugs in pretty_namespace
    • correct shift in lines with multiple namespaces
    • search only exported namespace functions

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.3.8 by Jonathan Sidi, 3 years ago

Report a bug at

Browse source code at

Authors: Jonathan Sidi [aut, cre] , Anton Grishin [ctb] , Lorenzo Busetto [ctb]

Documentation:   PDF Manual  

GPL-2 | GPL-3 license

Imports rstudioapi, utils, shiny, miniUI, tools, sos, stringi, yaml, crayon, cli, rematch2

Suggests roxygen2, testthat

See at CRAN