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.


News

Sinew News

0.3.5.1

Added
  • NEWS.md 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.
Updated
  • 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 _.
Removed

0.3.5.2

Updated
  • Fixed bug in pretty_namespace when global env is empty.

0.3.6

Updated
  • 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.

install.packages("sinew")

0.3.8 by Jonathan Sidi, 7 months ago


https://github.com/metrumresearchgroup/sinew


Report a bug at https://github.com/metrumresearchgroup/sinew/issues


Browse source code at https://github.com/cran/sinew


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