Giter VIP home page Giter VIP logo

pkghelper's Introduction

pkghelper

Lifecycle: maturing

Installation

You can install the package from Github with

devtools::install_github("markusdumke/pkghelper")

Usage

Currently the package includes functions which scan the R code in the package for all packages in use and writes these packages to the Imports field of the DESCRIPTION file.

Together with devtools and roxygen2 this package helps to make the R package generation process more automatically.

library(pkghelper)
# Get names of packages my package depends on
get_dependencies()
#> [1] "desc"     "devtools" "magrittr" "purrr"    "stringr"
# Modify DESCRIPTION
write_dependencies()
#> Updating pkghelper DESCRIPTION
#> Type: Package
#> Package: pkghelper
#> Title: Manage package dependencies
#> Version: 0.1.0
#> Author: Markus Dumke
#> Maintainer: Markus Dumke <[email protected]>
#> Description: Fill Imports section in DESCRIPTION file of R package by
#>     scanning code for used packages.
#> License: MIT + file LICENSE
#> Imports:
#>     desc,
#>     devtools,
#>     magrittr,
#>     purrr,
#>     stringr
#> Encoding: UTF-8
#> LazyData: true
#> Roxygen: list(markdown = TRUE)
#> RoxygenNote: 6.1.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.