This is indeed a very good idea. In Julia, the package author defines the range of supported Julia version. Most package actually just say "version 0.6 or later". The JuliaDB package was just been updated preventing the installation on Julia 0.7 or 1.0:
https://github.com/JuliaComputing/JuliaDB.jl/commit/8bf3057d...
A automatic check as in R would indeed a better choice.