3  Warning

3.1 : Common warning message

  • Incorrect use of a function or incorrect values of arguments of a function

  • Warning: NaNs produced

  • Warning: in fn – no non-missing arguments; returning Inf

  • Warning: argument is not numeric or logical: returning NA

  • Warning: longer object length is not a multiple of shorter object length

  • Warning: NAs Introduced by Coercion

  • Warning: the condition has length > 1 and only the first element will be used

  • Warning: invalid factor level, NA generated

  • Warning: In Ops.factor(X) : ‘Y’ not meaningful for factors

  • Warning: 'X' not meaningful for factors

  • Warning: is.na() applied to non-(list or vector) of type 'closure'

3.2 : Warning messages

For a list of Python warnings, check the official warning documentation.