Package: refer 0.1.0

refer: Create Object References

Allows users to easily create references to R objects then 'dereference' when needed or modify in place without using reference classes, environments, or active bindings as workarounds. Users can also create expression references that allow subsets of any object to be referenced or expressions containing references to multiple objects.

Authors:Christopher Mann <[email protected]>

refer_0.1.0.tar.gz
refer_0.1.0.zip(r-4.5)refer_0.1.0.zip(r-4.4)refer_0.1.0.zip(r-4.3)
refer_0.1.0.tgz(r-4.4-any)refer_0.1.0.tgz(r-4.3-any)
refer_0.1.0.tar.gz(r-4.5-noble)refer_0.1.0.tar.gz(r-4.4-noble)
refer_0.1.0.tgz(r-4.4-emscripten)refer_0.1.0.tgz(r-4.3-emscripten)
refer.pdf |refer.html
refer/json (API)

# Install 'refer' in R:
install.packages('refer', repos = c('https://cmann3.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.00 score 4 scripts 641 downloads 29 exports 3 dependencies

Last updated 3 years agofrom:71789fc659. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 05 2024
R-4.5-winOKNov 05 2024
R-4.5-linuxOKNov 05 2024
R-4.4-winOKNov 05 2024
R-4.4-macOKNov 05 2024
R-4.3-winOKNov 05 2024
R-4.3-macOKNov 05 2024

Exports:%-=%%.*=%%*=%%/=%%^=%%+=%decrderefgetEnvgetIndexgetSymincris.a.refis.nullrefis.refis.rfexpris.sliceis.srefiter.refmatch_cond.refmodify_byrefref_listsetEnvsetIndexsetSymslicesrefsslice

Dependencies:eListmatchrrlang

An Introduction to 'refer' References

Rendered fromintroRef.Rmdusingknitr::rmarkdownon Nov 05 2024.

Last update: 2021-11-08
Started: 2021-11-08

Readme and manuals

Help Manual

Help pageTopics
Subtract In Place%-=%
Matrix Multiplication In Place%.*=%
Multiply In Place%*=%
Divide In Place%/=%
Power In Place%^=%
Add In Place%+=%
Decrease Value In Placedecr
Dereference Object!.ref deref
Extract or Replace Parts of a Referenced Object$.ref $.sref $<-.ref $<-.sref Extract [.ref [.sref [<-.ref [<-.sref [[.ref [[.sref [[<-.ref [[<-.sref
Extract or Set Reference EnvironmentgetEnv setEnv
Extract or Set Slice IndexgetIndex setIndex
Extract or Set Reference SymbolgetSym setSym
Increment Value In Placeincr
Is Reference Null?is.nullref
Is Object a Reference?is.a.ref is.ref is.rfexpr is.slice is.sref
Convert Reference to Iterable Objectiter.ref iter.rfexpr iter.slice
Check and Evaluate Match Conditionmatch_cond.ref match_cond.rfexpr match_cond.slice match_cond.sref
S3 Methods for Automatic Dereferencingaggregate.ref aggregate.rfexpr all.equal.ref all.equal.rfexpr anyDuplicated.ref anyDuplicated.rfexpr as.character.ref as.character.rfexpr as.data.frame.ref as.data.frame.rfexpr as.Date.ref as.Date.rfexpr as.double.ref as.double.rfexpr as.function.ref as.function.rfexpr as.list.ref as.list.rfexpr as.matrix.ref as.matrix.rfexpr as.POSIXct.ref as.POSIXct.rfexpr as.POSIXlt.ref as.POSIXlt.rfexpr as.single.ref as.single.rfexpr as.table.ref as.table.rfexpr c.ref c.rfexpr coef.ref coef.rfexpr Complex.ref Complex.rfexpr confint.ref confint.rfexpr cut.ref cut.rfexpr diff.ref diff.rfexpr dim.ref dim.rfexpr droplevels.ref droplevels.rfexpr duplicated.ref duplicated.rfexpr fitted.ref fitted.rfexpr format.ref format.rfexpr isSymmetric.ref isSymmetric.rfexpr kappa.ref kappa.rfexpr labels.ref labels.rfexpr length.ref length.rfexpr levels.ref levels.rfexpr Math.ref Math.rfexpr mean.ref mean.rfexpr median.ref median.rfexpr merge.ref merge.rfexpr Methods model.frame.ref model.frame.rfexpr model.matrix.ref model.matrix.rfexpr na.omit.ref na.omit.rfexpr Ops.ref Ops.rfexpr plot.ref plot.rfexpr predict.ref predict.rfexpr qr.ref qr.rfexpr rep.ref rep.rfexpr residuals.ref residuals.rfexpr rev.ref rev.rfexpr round.ref round.rfexpr row.names.ref row.names.rfexpr solve.ref solve.rfexpr sort.ref sort.rfexpr Summary.ref summary.ref Summary.rfexpr summary.rfexpr terms.ref terms.rfexpr vcov.ref vcov.rfexpr window.ref window.rfexpr
Modify an Object In Placemodify_by
Create Reference to an Objectref
Create A List of Referencesref_list
Create a Reference Slice to a Vectorslice
Create a Safer Reference to an Objectsref
Create a Safer Reference Slice to a Vectorsslice