Package: container 1.0.4
container: Extending Base 'R' Lists
Extends the functionality of base 'R' lists and provides specialized data structures 'deque', 'set', 'dict', and 'dict.table', the latter to extend the 'data.table' package.
Authors:
container_1.0.4.tar.gz
container_1.0.4.zip(r-4.5)container_1.0.4.zip(r-4.4)container_1.0.4.zip(r-4.3)
container_1.0.4.tgz(r-4.4-any)container_1.0.4.tgz(r-4.3-any)
container_1.0.4.tar.gz(r-4.5-noble)container_1.0.4.tar.gz(r-4.4-noble)
container_1.0.4.tgz(r-4.4-emscripten)container_1.0.4.tgz(r-4.3-emscripten)
container.pdf |container.html✨
container/json (API)
NEWS
# Install 'container' in R: |
install.packages('container', repos = c('https://rpahl.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/rpahl/container/issues
Last updated 1 years agofrom:b47ef11aae. Checks:OK: 5 NOTE: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 23 2024 |
R-4.5-win | NOTE | Nov 23 2024 |
R-4.5-linux | NOTE | Nov 23 2024 |
R-4.4-win | OK | Nov 23 2024 |
R-4.4-mac | OK | Nov 23 2024 |
R-4.3-win | OK | Nov 23 2024 |
R-4.3-mac | OK | Nov 23 2024 |
Exports:addaddleftas.contas.containeras.dequeas.dictas.dict.tableas.orderedsetas.setatat2beginclearclonecontcontainerContainercontainer_optionscountdeletedelete_atdequeDequedictDictdict.tablediscarddiscard_atemptyget_nextget_valuegetContainerOptionhashas_namehas_nexthas_valueis_emptyis.containeris.dequeis.dictis.dict.tableis.iterableis.iteratoris.orderedsetis.setiterIteratorkeysnext_iterOrderedSetpeekpeek_atpeek_at2peekleftposref_addref_addleftref_clearref_deleteref_delete_atref_discardref_discard_atref_popref_popleftref_renameref_replaceref_replace_atref_revref_rotateref_updaterenamereplacereplace_atreset_iterrotateSetsetnewsizesortkeyunpackvalues
Dependencies:data.tableR6
Container operations for robust code
Rendered fromcode-development.Rmd
usingknitr::rmarkdown
on Nov 23 2024.Last update: 2022-12-05
Started: 2021-11-03
Deque, Set, and Dict
Rendered fromdeque-set-dict.Rmd
usingknitr::rmarkdown
on Nov 23 2024.Last update: 2022-12-05
Started: 2021-11-03
Introduction to container
Rendered fromcontainer.Rmd
usingknitr::rmarkdown
on Nov 23 2024.Last update: 2022-12-05
Started: 2021-10-25
Manage data columns with dict.table
Rendered frommanage-data-columns.Rmd
usingknitr::rmarkdown
on Nov 23 2024.Last update: 2022-12-05
Started: 2021-11-03
Manage parameter lists with dict
Rendered fromparameter-list.Rmd
usingknitr::rmarkdown
on Nov 23 2024.Last update: 2022-12-05
Started: 2021-11-03
Reference semantics
Rendered fromreference-semantics.Rmd
usingknitr::rmarkdown
on Nov 23 2024.Last update: 2022-12-05
Started: 2021-11-03
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Add Elements to Containers | add add.Container add.Dict add.dict.table ref_add ref_add.Container ref_add.Dict ref_add.dict.table |
Add Elements to the Left of Deques | addleft addleft.Deque ref_addleft ref_addleft.Deque |
Extract Elements Safely | at at.Container at.dict.table |
Extract Single Elements Safely | at2 at2.Container at2.dict.table |
Clear a Container | clear clear.Container clear.dict.table ref_clear ref_clear.Container ref_clear.dict.table |
Clone an Object | clone clone.Container clone.dict.table |
Container Class | Container |
Set Container Package Options | container_options getContainerOption |
Container - Enhancing R's list | as.cont as.container as.list.Container cont container ContainerS3 is.container length.Container names.Container names<-.Container |
Count Elements | count count.Container count.Set |
Delete Container Elements Safely | delete delete.Container ref_delete ref_delete.Container |
Delete Elements at Indices Safely | delete_at delete_at.Container delete_at.dict.table ref_delete_at ref_delete_at.Container ref_delete_at.dict.table |
Deprecated Functions | deprecated empty empty.Container keys size size.Container sortkey sortkey.Dict values values.Container values.dict.table |
Deque Class | Deque |
Deque - Double-Ended Queue | as.deque deque DequeS3 is.deque |
Dict Class | Dict |
Combining Dict and data.table | as.dict.table as.dict.table.data.table cbind.dict.table dict.table is.dict.table rbind.dict.table |
A Dictionary | as.dict dict DictS3 is.dict |
Discard Container Elements | discard discard.Container ref_discard ref_discard.Container |
Discard Elements at Indices | discard_at discard_at.Container discard_at.dict.table ref_discard_at ref_discard_at.Container ref_discard_at.dict.table |
Check for Element | has has.Container has.dict.table |
Check for Name | has_name has_name.Container has_name.dict.table |
Check if Object is Empty | is_empty is_empty.Container is_empty.dict.table |
Iterable abstract class interface | Iterable |
Iterator Class | Iterator |
Iterate over Sequences | begin get_next get_value has_next has_value is.iterable is.iterator iter iter.Container iter.default iterS3 length.Iterator next_iter pos reset_iter |
Arithmetic Operators | +.Container +.Deque +.Dict +.Set -.Container -.Deque -.Dict -.Set OpsArithmetic |
Comparison Operators | !=.Container <.Container <=.Container ==.Container >.Container >=.Container OpsCompare |
Extract Parts of a Container Object | OpsExtract [.Container [[.Container |
Logic Operators | &.Dict &.Set OpsLogic |.Dict |.Set |
Replace Parts of a Container | $<-.Container OpsReplace [<-.Container [[<-.Container |
OrderedSet Class | OrderedSet |
Peek at Left or Right of a Deque | peek peek.Deque peekleft peekleft.Deque |
Peek at Indices | peek_at peek_at.Container peek_at.dict.table |
Peek at Single Index | peek_at2 peek_at2.Container peek_at2.dict.table |
Get and Remove Element | pop ref_pop ref_pop.Container ref_pop.Deque ref_pop.dict.table ref_popleft ref_popleft.Deque |
Rename Elements Safely | ref_rename ref_rename.dict.table rename rename.Container rename.default rename.dict.table |
Replace Values in Containers Safely | ref_replace ref_replace.Container ref_replace.Dict replace replace.Container replace.Dict |
Replace Values at Indices Safely | ref_replace_at ref_replace_at.Container ref_replace_at.dict.table replace_at replace_at.Container replace_at.dict.table |
Reverse Elements | ref_rev ref_rev.Deque rev rev.Deque |
Rotate Elements | ref_rotate ref_rotate.Deque rotate rotate.Deque |
Set Class | Set |
Set and ordered Set | as.orderedset as.set is.orderedset is.set setnew SetS3 |
Unpack Nested Objects | unpack |
Update Object with Elements from Another Object | ref_update ref_update.Container ref_update.dict.table update update.Container update.dict.table update.list |