Learn R Programming

mvbutils (version 2.2.0)

dont.lockBindings: Helper for live-editing of packages

Description

Normally, objects in a NAMESPACEd package are locked and can't be changed. Sometimes this isn't what you want; you can prevent by calling dont.lockBindings in the .onLoad for the package.

Usage

dont.lockBindings( what, pkgname)

Arguments

what
(character) the names of the objects to not lock.
pkgname
(string) the name of the package. As you will only use this inside .onLoad, you can just set this to pkgname which is an argument of .onLoad.

See Also

lockBinding