Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up| wenv <- new.env() | |
| wenv_init <- function(){ | |
| assign('tex' , FALSE ,envir = wenv) | |
| assign('get' , FALSE ,envir = wenv) | |
| assign('build' , FALSE ,envir = wenv) | |
| } | |
| .onLoad <- function(lib,pkg) { | |
| wenv_init() | |
| if(interactive()){ | |
| check_requirements() | |
| rc.options(custom.completer = completeme) | |
| register_completion(thispkg = populate) | |
| } | |
| register_eng_texpreview('texpreview', eng_texpreview) | |
| } | |
| .onAttach <- function(lib,pkg) { | |
| wenv_init() | |
| if(interactive()){ | |
| check_requirements() | |
| rc.options(custom.completer = completeme) | |
| register_completion(thispkg = populate) | |
| } | |
| } |