Skip to content

Exceret/rpkgkit

Repository files navigation

rpkgkit

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

The goal of rpkgkit is to provide useful functions for R package development.

Features

All functions can detect active file contexts in RStudio and Positron, so generally file path can be omitted.

Code Formatting & Linting

Require extra installation:

  • air_format() - Format R code using air

  • flir_fix() - Automatically fix linting issues using flir

Available Standalone Scripts

Use usethis::use_standalone("Exceret/rpkgkit", "<name>") to import:

Standalone File Management

  • inquire_standalone() - List standalone files available in a GitHub repository’s R/ directory

  • create_standalone() - Create standalone utility files in your package

  • update_time_in_standalone() - Update last-updated field in standalone files

  • add_changelog_in_standalone() - Add changelog entries to standalone files

NEWS.md Management

  • news_md_add_entry() - Add new entries to NEWS.md following CRAN guidelines

  • news_md_check() - Validate NEWS.md format for CRAN compliance

  • news_md_show() - Display NEWS.md content with optional filtering

Other Utilities

  • make_func_call_explicit() - Make function calls explicit by adding package prefixes

  • render_rmd() - Render R Markdown documents

  • use_hexsticker() - Paste hex sticker to README.md

About

No description, website, or topics provided.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages