Unload namespace if necessary after .rs.getPackageRStudioProtocol; internal logic for packify