moved source to trip.R
all Rd converted to roxygen, builds and loads, does not pass check

-