Finally found better name for lag(), now lagdf() which always returns data.frame, and lagvec() which returns a vector
Now only one warning (from cpp compilation) and 2 notes (package size and R6 class not used) from R CMD check