Details
qenv class has following characteristics:
It inherits from the environment and methods such as
$,get(),ls(),as.list(),parent.env()work out of the box.qenvis a locked environment, and data modification is only possible through theeval_code()andwithin.qenv()functions.It stores metadata about the code used to create the data (see
get_code()).It supports slicing (see
subset-qenv)-
It is immutable which means that each code evaluation does not modify the original
qenvenvironment directly. See the following code: