R6: Encapsulated Classes with Reference Semantics

Creates classes with reference semantics, similar to R's built-in reference classes. Compared to reference classes, R6 classes are simpler and lighter-weight, and they are not built on S4 classes so they do not require the methods package. These classes allow public and private members, and they support inheritance, even when the classes are defined in different packages.

Version: 2.5.1
Depends: R (≥ 3.0)
Suggests: testthat, pryr
Published: 2021-08-19
Author: Winston Chang [aut, cre]
Maintainer: Winston Chang <winston at stdout.org>
BugReports: https://github.com/r-lib/R6/issues
License: MIT + file LICENSE
URL: https://r6.r-lib.org, https://github.com/r-lib/R6/
NeedsCompilation: no
Materials: README NEWS
In views: Databases
CRAN checks: R6 results

Documentation:

Reference manual: R6.pdf

Downloads:

Package source: R6_2.5.1.tar.gz
Windows binaries: r-devel: R6_2.5.1.zip, r-release: R6_2.5.1.zip, r-oldrel: R6_2.5.1.zip
macOS binaries: r-release (arm64): R6_2.5.1.tgz, r-oldrel (arm64): R6_2.5.1.tgz, r-release (x86_64): R6_2.5.1.tgz
Old sources: R6 archive

Reverse dependencies:

Reverse depends: AlphaSimR, bggAnalytics, blatent, BLRPM, ConfigParser, DSI, DSLite, gpboost, HiCBricks, hmmTMB, LightningR, metagene2, openaistream, PointedSDMs, ReMFPCA, resourcer, s3.resourcer, SeqExpMatch, shiny.reglog, similaRpeak, superml, tangram
Reverse imports: ABM, adobeanalyticsr, agghoo, AIPW, almanac, AMPLE, animate, anndata, anybadger, aorsf, appeears, argparse, arrangements, arrow, ASSISTant, ast2ast, atom4R, autonewsmd, avidaR, AzureAuth, AzureContainers, AzureGraph, AzureKeyVault, AzureKusto, AzureRMR, AzureStor, AzureVM, banditpam, basictabler, batchtools, bbotk, bdpar, beakr, bender, biodb, biodbChebi, biodbExpasy, biodbHmdb, biodbKegg, biodbLipidmaps, biodbMirbase, biodbNcbi, biodbNci, biodbUniprot, BKTR, blandr, boodist, bootGOF, bsreg, bsvars, cabinets, callr, cape, carbonate, CaseBasedReasoning, casino, causalOT, charlatan, choroplethr, chromote, cicerone, cjar, cliapp, clustermq, coala, codacore, cohortBuilder, cometr, compareMCMCs, comparer, conditionz, conductor, conflr, connectapi, connectwidgets, conos, container, coreCollection, corpustools, counterfactuals, crew, crew.aws.batch, crew.cluster, criticalpath, CRMetrics, crosstalk, crossword.r, crul, CustomDerivative, CVXR, cwbtools, D2MCS, d4storagehub4R, data.tree, data.validator, DataFakeR, DataSpaceR, datastepr, dbnR, dbplyr, deepregression, deeptrafo, deFit, delayed, desc, dfdr, dhis2r, Dict, dictionar6, dipsaus, diseasystore, distcomp, distillML, dockerfiler, dotprofile, DoubleML, dplyr, DPpack, DTRreg, DTSg, dyn.log, dynatop, dynatopGIS, earthtide, ecmwfr, eddington, edibble, elastic, elections.dtree, epivizrServer, eplusr, epwshiftr, escalation, estimateW, fabletools, FACT, factset.analyticsapi.engines, factset.protobuf.stach.v2, factset.protobuf.stachextensions, fastGLCM, fauxpas, fcaR, fiery, fig, fixtuRes, flipr, flowml, fmeffects, FormShare, foundry, fscache, FuzzyDBScan, FuzzyStatTraEOO, fuzzywuzzyR, GauPro, gdalBindings, GenAI, geojsonR, geometa, GeoMongo, geonapi, geosapi, ggESDA, ggExtra, ggPMX, Ghost, ghql, giacR, gKRLS, glmmrBase, glow, gnn, gqlr, GREMLINS, greta, growR, guiplot, hakaiApi, hdcate, hdf5r, hermes, hesim, highMLR, hipread, hmer, hoardr, homomorpheR, HospitalNetwork, httpuv, httr, httr2, huxtable, hypeR, iml, ImmuneSpaceR, influxdbclient, innsight, intmap, intSDM, ipc, ipumsr, irace, itscalledsoccer, jaatha, jackalope, jmv, jmvcore, jrc, jsonStrings, keras, keyring, KGode, kibior, knitrProgressBar, knitxl, KoboconnectR, languageserver, lazyarray, lazybar, leabRa, leafdown, less, LFDREmpiricalBayes, lgr, lgrExtra, LifeInsureR, lifelogr, lightgbm, limonaid, linne, lmtp, log, lslx, lumberjack, luz, makepipe, mapfit, matrixset, mcboost, mcparallelDo, meconetcomp, mecoturn, meltr, metacoder, metacore, metaRange, MetricGraph, MGDrivE, MGPSDK, mgpStreamingSDK, microeco, Microsoft365R, miesmuschel, missSBM, mkin, mlapi, mlexperiments, mllrnrs, mlr3, mlr3benchmark, mlr3cluster, mlr3db, mlr3fairness, mlr3filters, mlr3fselect, mlr3hyperband, mlr3learners, mlr3mbo, mlr3misc, mlr3oml, mlr3pipelines, mlr3spatial, mlr3spatiotempcv, mlr3tuning, mlr3tuningspaces, mlrintermbo, mlsurvlrnrs, MLVSBM, mRpostman, mstrio, multidplyr, multiverse, ncodeR, neo4r, newsmd, ngboostForecast, nimble, nmslibR, NNbenchmark, noah, ocs4R, ODataQuery, odin, officer, okxAPI, onelogin, onlineforecast, oolong, ooplah, openeo, OpenImageR, openmetrics, openSkies, openxlsx2, optic, optimizeR, orderly, osqp, otp, ottr, ows4R, pagoda2, pagoo, palm, parabar, paradox, PaRe, particle.swarm.optimisation, patternplot, PetfindeR, piecepackr, piqp, pivottabler, pkgbuild, pkgcache, pkgdepends, pkgnet, PlackettLuce, PlaneGeometry, PLNmodels, plnr, plumber, plume, pool, powerly, prcbench, prioritizr, processx, progress, promises, PTXQC, QuickJSR, R6causal, R6DS, r6extended, R6P, RBaseX, rbedrock, rbit, rbmi, rcmdcheck, rcrossref, RCTrep, rDataPipeline, rdecision, rdhs, RDML, rdoc, readNSx, readr, rearrr, redux, regport, rENA, reqres, request, reservr, RestRserve, rflashtext, rgbif, rgee, rgeomstats, RGF, rgl, rgl2gltf, rgoogleclassroom, rgoogleslides, rhub, rhype, rib, rim, ring, RKEEL, rlc, rly, rminizinc, rmzqc, rocker, rodeo, RonFHIR, ROOPSD, rosv, rotor, routr, roxygen2, Rpolyhedra, rsdmx, RSQL, rstack, rts2, rtson, rwarrior, s3fs, safetensors, SAR, sass, SBCK, sbm, scales, scatr, SCDB, selectr, selenium, semverutils, seqtrie, sevenbridges2, sFFLHD, shiny, shiny.emptystate, shiny.i18n, shiny.semantic, shiny.telemetry, shiny.worker, shinyChatR, shinydbauth, shinyHugePlot, shinyloadtest, shinymanager, shinyreforms, shinytest, shinytest2, shopifyr, simcausal, SIMplyBee, snapcount, sofa, solitude, solrium, spsComps, spsUtil, SSEparser, StabilizedRegression, starsTileServer, stenR, storr, stoRy, strand, SuperGauss, SuperpixelImageSegmentation, systemPipeShiny, table.express, tableschema.r, targeted, targets, taxize, teal.reporter, teal.slice, teamr, telegram, telegram.bot, tessellation, testthat, text2vec, textTinyR, theiaR, thor, thredds, thriftr, tidygraph, tidyhte, timeR, tinkr, tok, torch, TOSTER, TreatmentPatterns, triact, tsibbletalk, twenty48, txtq, unifir, unstruwwel, vaultr, vcr, versioning, villager, vstsr, wactor, waiter, walrus, webdriver, webmockr, websocket, wilson, wyz.code.offensiveProgramming, wyz.code.rdoc, wyz.code.testthat, xmpdf, yahoofinancer, zen4R
Reverse suggests: aoos, backpipe, box, checkmate, covr, dataquieR, DataVisualizations, debugme, firebase, grobblR, keras3, leaflet, mockery, prompt, ps, pysparklyr, r2d3, R62S3, r6methods, renv, runMCMCbtadjust, rvest, sparklyr, teal, waldo, zip

Linking:

Please use the canonical form https://CRAN.R-project.org/package=R6 to link to this page.