Conditions: package should be at least installed. If not loaded in the current session, not a problem.
## Checking package version which was installed at past or
## installed currently but not loaded in the current session
packageVersion("seqinr")
# [1] ‘3.3.3’
packageVersion("RWeka")
# [1] ‘0.4.29’