The goal of rpkgkit is to provide useful functions for R package development.
All functions can detect active file contexts in RStudio and Positron, so generally file path can be omitted.
Require extra installation:
-
air_format()- Format R code using air -
flir_fix()- Automatically fix linting issues using flir
Use usethis::use_standalone("Exceret/rpkgkit", "<name>") to import:
-
inquire_standalone()- List standalone files available in a GitHub repository’sR/directory -
create_standalone()- Create standalone utility files in your package -
update_time_in_standalone()- Updatelast-updatedfield in standalone files -
add_changelog_in_standalone()- Add changelog entries to standalone files
-
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
-
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