Learn R Programming

⚠️There's a newer version (1.15.2) of this package.Take me there.


packager

Introduction

Please read the vignette.

Or, after installation, the help page:

help("packager-package", package = "packager")
#> Helps Me Create, Build and Maintain Packages
#> 
#> Description:
#> 
#>      Helper functions for package creation, building and maintenance,
#>      heavily borrowing from 'devtools' 1.13.3.
#> 
#> Details:
#> 
#>      You will find the details in
#>      'vignette("An_Introduction_to_packager", package = "packager")'.

Installation

You can install packager from gitlab via:

if (! require("remotes")) install.packages("remotes")
remotes::install_gitlab("fvafrCU/packager")

Copy Link

Version

Install

install.packages('packager')

Monthly Downloads

259

Version

1.9.0

License

BSD_2_clause + file LICENSE

Maintainer

Andreas Dominik Cullmann

Last Published

January 21st, 2021

Functions in packager (1.9.0)

check_usage

check_news

Check for NEWS.md Being Up to Date
check_codetags

Check for Code Tags
create

Create a Package Template
as.package

Coerce input to a package.
check_archive

Check a Package Archive
eval_from_log

Evaluate a File's Tagged Lines
add_github_url_to_desc

Add a github URL to File DESCRIPTION
get_options

Get Options For Packages
get_gitlab_log

Read a gitlab Check Log
get_pkg_archive_path

Create a Package's Archive Path From the Package's DESCRIPTION
check_cyclomatic_complexity

Check Cyclomatic Complexity
provide_gitlab_url

Provide a gitlab URL for a Given Path
extract_vignette_codes

Extract and Save R Code Vignettes
provide_make

Provide File make.R
git_add_commit

Git Add All Changes and Commit
infect

Adjust a Package
git_tag

Create a Git Tag Based on the Current Version Number
install_deps

Install Dependencies From a Package's DESCRIPTION
get_check_status

Retrieve Check Status From a Log File
grep_log

Grep Lines From a File
set_options

Set Options For Packages
rcmdcheck_and_log

Run rcmdcheck::rcmdcheck and Write to Log
provide_news_rd

Convert NEWS.md to inst/NEWS.rd
use_directory

Use a Directory
use_dev_version

Use a Development Version in DESCRIPTION and NEWS.md
set_package_info

Set a Package's Info
lint_package

mark_lints

Mark Lints by Name Suffix
throw

Throw a Condition
update_deps

Update Dependencies for a Package Directory
get_package_makelist

Provide a makelist Suitable for Packages with packager
use_template

Use a Template
get_package_version

Query Installed Package Versions
remove_lines

Remove Lines From a File
is_version_sufficient

Is a Version Requirement Met?
is_r_package

Is a Directory an R Package Root Directory?
use_build_ignore

Add files to .Rbuildignore
packager-package

Helps Me Create, Build and Maintain Packages
use_bsd2clause_license

Use the BSD-2-Clause License
set_desc_url

Set a DESCRIPTION File's URL Field
provide_cran_comments

Provide a Template for Your Comments To CRAN
submit

Release a Package to CRAN
sort_deps_in_desc

Sort Fields `Import`, `Depends` and `Suggests` DESCRIPTION
use_git_check_version_not_tagged

Check to Not Commit to a Tagged Version
use_git_pre_commit_script

Use a Script as git pre-commit hook
add_news

Add a Development Section to NEWS.md