TypeInfo

This is the development version of TypeInfo; for the stable release version, see TypeInfo.

Optional Type Specification Prototype


Bioconductor version: Development (3.21)

A prototype for a mechanism for specifying the types of parameters and the return value for an R function. This is meta-information that can be used to generate stubs for servers and various interfaces to these functions. Additionally, the arguments in a call to a typed function can be validated using the type specifications. We allow types to be specified as either i) by class name using either inheritance - is(x, className), or strict instance of - class(x) %in% className, or ii) a dynamic test given as an R expression which is evaluated at run-time. More precise information and interesting tests can be done via ii), but it is harder to use this information as meta-data as it requires more effort to interpret it and it is of course run-time information. It is typically more meaningful.

Author: Duncan Temple Lang Robert Gentleman (<rgentlem at fhcrc.org>)

Maintainer: Duncan Temple Lang <duncan at wald.ucdavis.edu>

Citation (from within R, enter citation("TypeInfo")):

Installation

To install this package, start R (version "4.5") and enter:


if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

# The following initializes usage of Bioc devel
BiocManager::install(version='devel')

BiocManager::install("TypeInfo")

For older versions of R, please refer to the appropriate Bioconductor release.

Documentation

Reference Manual PDF

Details

biocViews Infrastructure, Software
Version 1.73.0
In Bioconductor since BioC 1.9 (R-2.4) (18 years)
License BSD_2_clause
Depends methods
Imports
System Requirements
URL
See More
Suggests Biobase
Linking To
Enhances
Depends On Me
Imports Me
Suggests Me
Links To Me
Build Report Build Report

Package Archives

Follow Installation instructions to use this package in your R session.

Source Package
Windows Binary (x86_64)
macOS Binary (x86_64)
macOS Binary (arm64)
Source Repository git clone https://git.bioconductor.org/packages/TypeInfo
Source Repository (Developer Access) git clone git@git.bioconductor.org:packages/TypeInfo
Package Short Url https://bioconductor.org/packages/TypeInfo/
Package Downloads Report Download Stats