export(g.analyse, g.calibrate,
       g.getmeta, g.impute,
       g.inspectfile,
       g.plot, g.part1,
       g.part2, g.part3,
       g.part4, g.part5,
       GGIR, g.shell.GGIR, g.getbout,
       g.abr.day.names,
       g.applymetrics, g.create.sp.mat, g.detecmidnight,
       g.dotorcomma, g.extractheadervars,
       g.getM5L5,
       g.getstarttime, g.loadlog,
       g.plot5, g.readaccfile,
       g.report.part2, g.report.part4,
       g.report.part5, g.sib.det,
       g.sib.plot, 
       g.weardec, isfilelist,
       iso8601chartime2POSIX, is_this_a_dst_night,
       POSIXtime2iso8601, is.ISO8601,
       updateBlocksize, g.IVIS,
       createConfigFile, identify_levels,
       g.sib.sum, datadir2fnames,
       read.myacc.csv, g.part5.addfirstwake,
       g.part5.addsib, g.part5.definedays,
       g.part5.fixmissingnight, g.part5.onsetwaketiming,
       g.part5.wakesleepwindows, g.part5.savetimeseries,
       get_nw_clip_block_params, get_starttime_weekday_truncdata,
       ismovisens, g.readtemp_movisens,
       g.conv.actlog, g.fragmentation,
       g.intensitygradient, g.part5.handle_lux_extremes,
       g.part5.lux_persegment,
       g.sibreport, HASPT,
       HASIB, g.part4_extractid,
       CalcSleepRegularityIndex, load_params,
       check_params, extract_params,
       g.imputeTimegaps,
       tidyup_df, cosinor_IS_IV_Analyses,
       detect_nonwear_clipping, apply_cosinor_IS_IV_Analyses,
       ShellDoc2Vignette, parametersVignette,
       correctOlderMilestoneData,
       convertEpochData, appendRecords, extractID,
       g.part5_analyseSegment, g.part5_initialise_ts,
       g.part5.analyseRest, part6AlignIndividuals,
       part6PairwiseAggregation, g.part6, g.report.part6, 
       check_log, g.report.part5_dictionary, DFA, ABI, SSP, visualReport,
       splitRecords, getSplitNames, addSplitNames, getPart1BasicInfo,
       markerButtonForRest, aggregateEvent, inspect_binFile_brand,
       g.part3_correct_guider, g.part3_alignIndexVectors, filterNonwearNight)

importFrom("grDevices", "colors", "dev.off", "pdf",
           "rgb", "rainbow", "palette", "adjustcolor", "gray.colors", "dev.list")
importFrom("graphics", "abline", "axis", "par", "plot", "plot.new",
           "rect","axis.POSIXct", "barplot", "box", "legend",
           "lines", "mtext", "text", "arrows", "segments", "layout")
importFrom("utils", "read.csv", "sessionInfo", "write.csv",
           "installed.packages", "setTxtProgressBar",
           "txtProgressBar", "write.table", "head",
           "memory.limit", "memory.size", "tail", "unzip", "lsf.str")
importFrom("stats", "aggregate.data.frame", "weighted.mean",
           "rnorm","median","aggregate","C", "lm.wfit",
           "quantile", "sd","coef", "lm", "embed", "na.pass", "na.omit",
            "residuals", "fitted", "reshape", "cor", "arima", "lm.fit")
import(data.table)
importFrom("methods", "is")
importFrom("utils", "available.packages", "packageVersion", "help", "read.table")
