Learn R Programming

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

pkgmaker (version 0.31)

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

214

Version

0.31

License

GPL (>= 2)

Maintainer

Renaud Gaujoux

Last Published

January 22nd, 2020

Functions in pkgmaker (0.31)

packageEnv

Package Development Utilities
citecmd

Citing Package References
charmap

Substituting Strings Against a Mapping Table
inSweave

Identifying Sweave Run
file_extension

Extract File Extension
hasEnvar

Check Environment Variables
factor2character

Converting Factors to Character Vectors
cgetAnywhere

Get Anywhere
exitCheck

Exit Error Checks
compile_src

Compile Source Files from a Development Package
alphacol

Colour utilities
checkPlot

Plot in Unit Tests
graphics-utils

Utility Functions for Graphics
reorder_columns

Reordering Columns
make_vignette_auxfiles

Generate RMarkdown Vignette Axiliary Files
load_project

Load Development Package
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).
expand_list

Expanding Lists
load_all_file

Generate a Loading Script for Development Packages
mkoptions

Quick Option-like Feature
hasArg2

Checking for Missing Arguments
iterCount

Simple Text Iteration Counter
messagef

General Log Formating
askUser

User Queries
digest_function

Compute Function Digest Hash
makeUnitVignette

Make Vignette for Unit Tests
makeFakeVignette

Generate a Fake Vignette
fix_registry

Fix Registry Access Functions
unit.test

Embedded Unit Tests
irequire

Require a Package with User Interaction
new2

Alternative S4 Constructor
isCRANcheck

Package Check Utils
find_devpackage

Find Path to Development Package Root Directory
lverbose

Logging Feature
.silenceF

Silencing Functions
packageRegistry

Package Registry
render_notes

Renders rmarkdown Documents Using User Default Options
unlist_

Flatten a List Conserving Names
rnw

Utilities for Vignettes
packageReference

Package References
packageTestEnv

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

One-off Global Variables
utestPath

Unit Tests Result Directory
setBiocMirror

Setting Mirrors and Repositories
userIs

Checking R User
bibtex

Bibtex Utilities
option_symlink

option_symlink creates a symbolic link to option x.
postponeAction

Postponing Actions
quickinstall

Quick Installation of a Source Package
getLoadingNamespace

Namespace Development Functions
.packageMetaRegistry

Creates or Retrieves a Package Meta Registry
list.data

List Package Data Objects
simpleRegistry

Simple Package Registry
setupPackageOptions

Package Specific Options
using_something

Execute code in temporarily altered environment.
require.quiet

Loading Packages
extractLocalFun

Extracting Local Function Definition
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.
gfile

Open a File Graphic Device
packageData

Loading Package Data
knit_ex

Knitr Extensions
testRversion

Testing R Version
checkWarning

Extra Check Functions for RUnit
latex_preamble

LaTeX Utilities for Vignettes
list.libs

Library Files Utilities
parsePackageCitation

Formatting Package Citations in Sweave/knitr Documents
requireRUnit

Load RUnit Compatible Package
setPackageExtraHandler

Install/Run Extra Things After Standard Package Installation
write.bib

Defunct Functions in pkgmaker
setClassRegistry

Automatic S4 Class for Registry Entries
sVariable

Global Static Variable
winbuild

Build a Windows Binary Package
unlist_with_sep

Flattens All List Levels Using Separated Names
pkgmaker-deprecated

Deprecated Functions in pkgmaker
write.pkgbib

Generate a Bibtex File from Package Citations
writeUnitVignette

Writes Unit Tests Vignette
str_diff

Finding Differences Between Strings
onLoad

Default Load/Unload Functions
orderVersion

Ordering Version Numbers
is_package_path

Test for Package Root Directory
is_something

Testing Object Type
source_files

Source Multiple Files
read.yaml_section

Reads YAML Options Embbeded into a File
regfetch

Finds an entry in a registry.
utestFramework

Inferring Unit Test Framework
str_out

Formatting Utilities
utest

Running Unit Tests
sys_call_stack

System Call Stack Utilities
addToLogger

Enhancing RUnit Logger
Sys.getenv_value

System Environment Variables
Rversion

Complete R version
CRAN

Main CRAN Mirror URL
ExposeAttribute

Exposing Object Attributes
add_lib

Adding Package Libraries
addnames

Generating Names
R.exec

Executing R Commands
RdSection2latex

Format Rd Sections into LatTeX