Package: pryr 0.1.6.9000

pryr: Tools for Computing on the Language

Useful tools to pry back the covers of R and understand the language at a deeper level.

Authors:Hadley Wickham [aut, cre], R Core team [ctb]

pryr_0.1.6.9000.tar.gz
pryr_0.1.6.9000.zip(r-4.5)pryr_0.1.6.9000.zip(r-4.4)pryr_0.1.6.9000.zip(r-4.3)
pryr_0.1.6.9000.tgz(r-4.4-x86_64)pryr_0.1.6.9000.tgz(r-4.4-arm64)pryr_0.1.6.9000.tgz(r-4.3-x86_64)pryr_0.1.6.9000.tgz(r-4.3-arm64)
pryr_0.1.6.9000.tar.gz(r-4.5-noble)pryr_0.1.6.9000.tar.gz(r-4.4-noble)
pryr_0.1.6.9000.tgz(r-4.4-emscripten)pryr_0.1.6.9000.tgz(r-4.3-emscripten)
pryr.pdf |pryr.html
pryr/json (API)

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

Peer review:

Bug tracker:https://github.com/hadley/pryr/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

11.84 score 201 stars 56 packages 1.7k scripts 24k downloads 1 mentions 59 exports 14 dependencies

Last updated 10 months agofrom:7f1600d7b6. Checks:OK: 8 NOTE: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 01 2024
R-4.5-win-x86_64NOTEOct 01 2024
R-4.5-linux-x86_64OKOct 01 2024
R-4.4-win-x86_64OKOct 01 2024
R-4.4-mac-x86_64OKOct 01 2024
R-4.4-mac-aarch64OKOct 01 2024
R-4.3-win-x86_64OKOct 01 2024
R-4.3-mac-x86_64OKOct 01 2024
R-4.3-mac-aarch64OKOct 01 2024

Exports:%.%%<a-%%<c-%%<d-%addressas.envlistastbitsbytescall_treecompare_sizecomposedo_calldotsenclosing_enveval2explicitffgetfind_funsfind_usesftypefun_argsfun_bodyfun_callsinspectis_active_bindingis_promiseis_s3_genericis_s3_methodmake_callmake_functionmem_changemem_usedmethod_from_callmodify_callmodify_langnamed_dotsnames_cobject_sizeotypeparent_promiseparenvparenvspartialpromise_inforebindrefsrlssexp_typeshow_c_sourcestandardise_callsubssubstitute_qtrack_copytypenameunencloseunevalwhere

Dependencies:clicodetoolscpp11crayongluelifecyclelobstrmagrittrprettyunitsRcpprlangstringistringrvctrs

Readme and manuals

Help Manual

Help pageTopics
Create an active binding.%<a-%
Create a constant (locked) binding.%<c-%
Create an delayed binding.%<d-%
Print the byte-wise representation of a valuebits bytes
Display a call (or expression) as a tree.ast call_tree
Compose multiple functions%.% compose
Capture unevaluated dots.dots named_dots
Find the environment that encloses of a function.enclosing_env
Tools for making promises expliciteval2 explicit
A compact syntax for anonymous functions.f
Find a function with specified name.fget
Find functions matching criteria.find_funs fun_args fun_body fun_calls
Find all functions in that call supplied functions.find_uses
Determine function type.ftype
Active binding infois_active_binding
Promise infois_promise promise_info
Make and evaluate calls.do_call make_call
Make a function from its components.make_function
Determine change in memory from running codemem_change
How much memory is currently used by R?mem_used
Given a function class, find correspoding S4 methodmethod_from_call
Modify the arguments of a call.modify_call
Recursively modify a language objectmodify_lang
Compute the size of an object.compare_size object_size
Determine object type.otype
Find the parent (first) promise.parent_promise
Get parent/ancestor environmentparenv
Given an environment or object, return an 'envlist' of its parent environments.parenvs
Partial apply a function, filling in some arguments.partial
Rebind an existing name.rebind
Recursive ls.rls
Inspect internal attributes of R objects.address inspect refs sexp_type typename
Find C source code for internal R functionsshow_c_source
Standardise a function callstandardise_call
A version of substitute that works in the global environment.subs
A version of substitute that evaluates its first argument.substitute_q
Track if an object is copiedtrack_copy
Unenclose a closure.unenclose
Capture the call associated with a promise.uneval
Find where a name is defined.where