You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(length(all.vars(lowerBdExpr)) >0) stop('Node ', node, ' appears to have a non-constant lower bound, which cannot be used in parameterTransform.')
172
172
if(length(all.vars(upperBdExpr)) >0) stop('Node ', node, ' appears to have a non-constant upper bound, which cannot be used in parameterTransform.')
173
173
} else { ## some other distribution with finite support
174
-
message(' [Warning] `parameterTransform` system cannot process the ', dist, ' distribution of node ', node, '.\n The upper and lower bounds of the ', dist, ' distribution must be constant.\n If you\'re uncertain about this, please get in touch with the NIMBLE development team.')
174
+
messageIfVerbose(' [Warning] `parameterTransform` system cannot process the `', dist, '`\n',
175
+
' distribution for node `', node, '. The upper and lower bounds\n',
transformData[i,DATA2] <-bounds[2] -bounds[1] ## formerly range
179
181
next }
180
-
stop(paste0('`parameterTransform` system doesn\'t have a transformation for the bounds of node: ', node, ', which are (', bounds[1], ', ', bounds[2], ')'))
182
+
stop('`parameterTransform` system doesn\'t have a transformation for the bounds of node: ', node, ', which are (', bounds[1], ', ', bounds[2], ')')
message(' [Warning] `parameterTransform` system detected multivariate user-defined distribution ', dist, '. No transformation will be applied to any dimension of \'x\' values of ', dist, '. If some values of \'x\' are not valid in ', dist, ', you may encounter errors. This warning can be disabled using nimbleOptions(parameterTransformWarnUserDists = FALSE)')
188
+
messageIfVerbose(
189
+
' [Warning] `parameterTransform` system detected multivariate user-defined\n',
190
+
' distribution `', dist, '`. No transformation will be applied\n',
191
+
' to any dimension of the `x` values of `', dist, '`.\n'
192
+
' If some values of `x` are not valid, you may encounter errors.\n'
0 commit comments