Skip to contents

Functions

The following functions help you to create and maintain an R package.

add_changelog_in_standalone()
Add or update a changelog entry in a standalone R file
add_double_colons()
Make function calls explicit
add_global_gitgnore()
Add .gitignore to package
add_global_rbuildignore()
Add global .Rbuildignore patterns
air_format()
Format R code using air
badge_translated_by_ai()
Generate AI Translation Disclaimer Badge
browse_standalone()
Browse Standalone R Files Across GitHub
check_pkgdown_reference()
Check that all exported functions are listed in pkgdown reference
convert_func_syntax()
Switch Between Explicit function() and Implicit \() Syntax
create_standalone()
Creates a new standalone R script with YAML metadata header. If path is an R package, the file is created in the R/ subdirectory.
is_dev_context() imported_functions() current_packages()
Get packages from the current context
package_lost_glue_brace() detect_lost_glue_brace()
Detect Lost Glue Brace in glue and cli Expressions
package_print_and_cat() detect_print_and_cat()
Detect print() and cat() Calls (CRAN-Unsafe)
flir_fix()
Fix R code or package using flir
inquire_standalone()
Inquire Standalone Files from a GitHub Repository
package_func_arg_explicit() make_func_arg_explicit()
Make Function Arguments Explicit
package_func_call_explicit() make_func_call_explicit()
Make Function Calls Explicit
news_md_check() news_md_show() news_md_add_entry()
Manage NEWS.md file for R packages
rename_func()
Rename Function Definitions in an R File
render_rmd()
Render an R Markdown or R document to Markdown format
update_time_in_standalone()
Update the last-updated field in standalone R files
use_hexsticker() deprecated
Use Hex Sticker in README
use_multilanguage_readme()
Create Multilingual README Files
use_r_v4.1.0()
Add a minimum R version dependency to a package
use_vendor()
Use a Vendor Package
use_workflow_test_branch()
Create a GitHub Actions Workflow to Sync Main to Test Branch
use_workflow_version_update()
Create a GitHub Actions workflow to auto-update R package version
use_zzz()
Create a (pkgname)-package.R file from a template
convert_nonascii_code()
Convert Non-ASCII Code
open_cffinit()
Open the CFF initializer