R: Set the package global variable

decode_json {asreml} | R Documentation

## Set the package global variable

### Description

It sets the (package) global variable `.asremlEnv$asr_lm[[core_id]]$r_license`

### Usage

    decode_json(rv, core_id)

### Arguments

`rv` | A value used to set `.asremlEnv$asr_lm[[core_id]]$r_license`. The argument `rv` is either a JSON string, in which case it is parsed or an R object, in which case it isn't.
`core_id` | ID of the core for which r_license is being set.

[Package asreml version 4.2.0.480 Index]