envnames0.4.1 package

Keep Track of User-Defined Environment Names

address

Call the C function address() that retrieves the memory address of an ...

check_environment

Check whether a string corresponds to the name of an environment

check_object_exists

Check if an object exists in a given environment

check_object_with_path

Check if an object name contains a valid environment path

clean_up_matching_environments

Clean up the list of environments matching a memory address in an envi...

collapse_root_and_member

Put together a root name with a member name

crawl_envs

Crawl environments in search of user environments

crawl_envs_in_env

Crawl an environment in search of user environments

destandardize_env_name

De-standardize the name of an environment

environment_name

Retrieve the name of an environment

envnames-package

Track user-defined environment names

extract_root_and_last_member

Extract the last member in a string representing an object

get_env_names

Create a lookup table with address-name pairs of environments

get_environment_name

Get the name of an environment when the address-name lookup table has ...

get_envs_in_env

Find user environments inside another user environment

get_fun_calling

Return the name of a calling function with its context or path

get_fun_calling_chain

Return the chain of calling functions

get_fun_env

Return the execution environment of a function

get_fun_name

Return the name of the current function or a calling function in the c...

get_namespace_addresses

Return the memory address of namespace environments in the search() li...

get_namespace_names

Return the names that can be used to load all the namespace environmen...

get_obj_address

Return the memory address of an object

get_obj_addresses_from_obj_names

Get the object addresses given their object names

get_obj_name

Return the name of an object at a given parent generation from an envi...

get_obj_value

Return the value of the object at a given parent generation leading to...

get_objects_in_package

Get the objects defined in a given package's namespace

get_searchpath_environment_addresses

Return the system and package environments in the search path

get_user_environment_names_in_env

Look for user environments defined inside an environment

get_user_environment_names_in_search_path

Look for user environments defined inside any of the system/package en...

get_user_environments_in_user_envs_recursively

Get the user environments defined recursively within the given user en...

is_logical

Check whether an object contains a valid logical value

is_memory_address

Check whether a string is a memory address

is_null_or_na

Check whether an object is NULL or NA.

is_string

Check whether an object is a string.

obj_find

Find an object in the workspace including user-defined environments

parse_memory_address

Parse a string that represents a memory address

reset_option_warn

Resets the "warn" option to the value stored in the hidden variable .o...

set_option_warn_to_nowarning

Set the "warn" options to -1 to avoid warning messages. The hidden var...

standardize_env_name

Standardize the name of a named environment

testenv

Environment used in testing the package

unlist_with_names

Call unlist and preserve the names

Set of functions to keep track and find objects in user-defined environments by identifying environments by name --which cannot be retrieved with the built-in function environmentName(). The package also provides functionality to obtain simplified information about function calling chains and to get an object's memory address.

  • Maintainer: Daniel Mastropietro
  • License: GPL
  • Last published: 2020-12-08