Integer, float and rational types don't have an implementation of rem(x, y, r) with RoundNearestTiesUp and RoundNearestTiesAway rounding modes, eg. with RoundNearestTiesUp :
julia> rem(5.0, 2.0, RoundNearestTiesUp)
ERROR: MethodError: no method matching rem(::Float64, ::Float64, ::RoundingMode{:NearestTiesUp})
...
julia> rem(5, 2, RoundNearestTiesUp)
ERROR: MethodError: no method matching rem(::Int64, ::Int64, ::RoundingMode{:NearestTiesUp})
...
julia> rem(5//1, 2//1, RoundNearestTiesUp)
ERROR: MethodError: no method matching rem(::Rational{Int64}, ::Rational{Int64}, ::RoundingMode{:NearestTiesUp})
...