DOI: 10.18129/B9.bioc.TypeInfo    

This package is for version 3.13 of Bioconductor; for the stable, up-to-date release version, see TypeInfo.

Optional Type Specification Prototype

Bioconductor version: 3.13

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")):


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

if (!requireNamespace("BiocManager", quietly = TRUE))


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


To view documentation for the version of this package installed in your system, start R and enter:



PDF R Script TypeInfo R News
PDF   Reference Manual


biocViews Infrastructure, Software
Version 1.58.0
In Bioconductor since BioC 1.9 (R-2.4) (15 years)
License BSD
Depends methods
Suggests Biobase
Depends On Me
Imports Me
Suggests Me
Links To Me
Build Report  

Package Archives

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

Source Package TypeInfo_1.58.0.tar.gz
Windows Binary TypeInfo_1.58.0.zip
macOS 10.13 (High Sierra) TypeInfo_1.58.0.tgz
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

Documentation »


R / CRAN packages and documentation

Support »

Please read the posting guide. Post questions about Bioconductor to one of the following locations: