fix.order: Shows functions sorted by date of edit

Description Usage Arguments Details Value To do Author(s) See Also Examples

Description

fix.order sorts the functions according to the filedates of their backups (in the .Backup.mvb directory). This is very useful for reminding yourself what you were working on recently. It only works if functions have been edited using the fixr system.

Usage

1
fix.order( env=1)

Arguments

env

a single number, character string, or environment. Numbers and characters are interpreted as search path positions. The environment must be an attached mvb-style task.

Details

Only functions that have a BU*** backup file will appear. Functions that have a BU*** file but have been deleted will not appear.

Value

Character vector of functions sorted by date/time of last modification.

To do

Probably should modify this so it takes an arbitrary task path instead of a search position only. Task doesn't really need to be attached.

Add a pattern argument a la find.funs.

Author(s)

Mark Bravington

See Also

fixr

Examples

1
2
3
4
5
6
## Not run: 
## Need to create backups and do some function editing first
fix.order() # functions in .GlobalEnv
fix.order( "ROOT") # functions in your startup task

## End(Not run)

mvbutils documentation built on May 2, 2019, 8:32 a.m.

Related to fix.order in mvbutils...