Skip to content

autodep automates writing roxygen tags - and tracking dependencies.

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

JSzitas/autodep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

autodep

Lifecycle: stable R-CMD-check Codecov test coverage CRAN status

autodep scans a package /R directory and finds all valid dependencies of the form namespace::object. These are then rendered as roygen tags in the /R directory (so they are easy to read) and the appropriate packages are written to the description file (into the Imports section).

Installation

Install easily from github via:

devtools::install_github("JSzitas/autodep")

Usage

Use autodep to automatically convert namespace::function calls to roxygen tags, and register the required packages in the description file.

autodep(path = ".", overwrite = TRUE, roxygen_file_name = "R/package_imports.R")

You just need to set the path to the package (via path), specify overwrite = TRUE (in case you have previously used autodep and wish to upgrade the imports) and give it the name of the file to write the roxygen tags to - by default “R/package_imports.R”

Note that the roxygen tags should always be placed in the /R project/package sub-directory.

About

autodep automates writing roxygen tags - and tracking dependencies.

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages