Update constructors.R

Added a block of checks - to ensure some objects exist before calling them.