Learn R Programming

pkgmaker (version 0.32.10)

Development Utilities for R Packages

Description

Provides some low-level utilities to use for package development. It currently provides managers for multiple package specific options and registries, vignette, unit test and bibtex related utilities. It serves as a base package for packages like 'NMF', 'RcppOctave', 'doRNG', and as an incubator package for other general purposes utilities, that will eventually be packaged separately. It is still under heavy development and changes in the interface(s) are more than likely to happen.

Copy Link

Version

Install

install.packages('pkgmaker')

Monthly Downloads

2,082

Version

0.32.10

License

GPL (>= 2)

Maintainer

Last Published

May 3rd, 2023

Functions in pkgmaker (0.32.10)

file_extension

Extract File Extension
factor2character

Converting Factors to Character Vectors
gfile

Open a File Graphic Device
extractLocalFun

Extracting Local Function Definition
exitCheck

Exit Error Checks
expand_list

Expanding Lists
.packageMetaRegistry

Creates or Retrieves a Package Meta Registry
knit_ex

Knitr Extensions
.silenceF

Silencing Functions
iterCount

Simple Text Iteration Counter
is_package_path

Test for Package Root Directory
is_something

Testing Object Type
load_all_file

Generate a Loading Script for Development Packages
load_project

Load Development Package
hasEnvar

Check Environment Variables
inSweave

Identifying Sweave Run
lverbose

Logging Feature
mkoptions

Quick Option-like Feature
onLoad

Default Load/Unload Functions
list.data

List Package Data Objects
hasArg2

Checking for Missing Arguments
graphics-utils

Utility Functions for Graphics
latex_preamble

LaTeX Utilities for Vignettes
list.libs

Library Files Utilities
orderVersion

Ordering Version Numbers
option_symlink

option_symlink creates a symbolic link to option x.
bibtex

Bibtex Utilities
fix_registry

Fix Registry Access Functions
isCRANcheck

Package Check Utils
find_devpackage

Find Path to Development Package Root Directory
irequire

Require a Package with User Interaction
makeFakeVignette

Generate a Fake Vignette
makeUnitVignette

Make Vignette for Unit Tests
require.quiet

Loading Packages
packageData

Loading Package Data
oneoffVariable

One-off Global Variables
new2

Alternative S4 Constructor
write.bib

Defunct Functions in pkgmaker
pkgmaker-deprecated

Deprecated Functions in pkgmaker
setPackageExtraHandler

Install/Run Extra Things After Standard Package Installation
quickinstall

Quick Installation of a Source Package
postponeAction

Postponing Actions
source_files

Source Multiple Files
simpleRegistry

Simple Package Registry
make_vignette_auxfiles

Generate RMarkdown Vignette Axiliary Files
read.yaml_section

Reads YAML Options Embbeded into a File
setBiocMirror

Setting Mirrors and Repositories
regfetch

Finds an entry in a registry.
getLoadingNamespace

Namespace Development Functions
sVariable

Global Static Variable
runVignette

Compile a Vignette Object
str_diff

Finding Differences Between Strings
str_out

Formatting Utilities
packageRegistry

Package Registry
userData

User Data Directory userData returns the path to a local directory/file where package-related user data can be stored. Note that a base directory is always created if necessary (see details).
userIs

Checking R User
checkWarning

Extra Check Functions for RUnit
parsePackageCitation

Formatting Package Citations in Sweave/knitr Documents
unit.test

Embedded Unit Tests
utestFramework

Inferring Unit Test Framework
messagef

General Log Formating
reorder_columns

Reordering Columns
packageTestEnv

Returns the package internal environment where unit tests are stored.
packageReference

Package References
render_notes

Renders rmarkdown Documents Using User Default Options
sys_call_stack

System Call Stack Utilities
utestPath

Unit Tests Result Directory
winbuild

Build a Windows Binary Package
rnw

Utilities for Vignettes
requireRUnit

Load RUnit Compatible Package
utest

Running Unit Tests
using_something

Execute code in temporarily altered environment.
testRversion

Testing R Version
write.pkgbib

Generate a Bibtex File from Package Citations
writeUnitVignette

Writes Unit Tests Vignette
setupPackageOptions

Package Specific Options
setClassRegistry

Automatic S4 Class for Registry Entries
unlist_with_sep

Flattens All List Levels Using Separated Names
unlist_

Flatten a List Conserving Names
CRAN

Main CRAN Mirror URL
addToLogger

Enhancing RUnit Logger
R.exec

Executing R Commands
ExposeAttribute

Exposing Object Attributes
Rversion

Complete R version
alphacol

Colour utilities
Sys.getenv_value

System Environment Variables
add_lib

Adding Package Libraries
addnames

Generating Names
RdSection2latex

Format Rd Sections into LatTeX
digest_function

Compute Function Digest Hash
citecmd

Citing Package References
cgetAnywhere

Get Anywhere
packageEnv

Package Development Utilities
askUser

User Queries
checkPlot

Plot in Unit Tests
charmap

Substituting Strings Against a Mapping Table
cite_pkg

bibcite provides an inline package citation functionnality. Technically it adds a given Bibtex key to a cache that is used at the end of the document processing to generate a .bib file with all citation keys.
compile_src

Compile Source Files from a Development Package