File: attach.R

package info (click to toggle)
r-cran-latte 0.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 564 kB
  • sloc: makefile: 2
file content (19 lines) | stat: -rw-r--r-- 388 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.onAttach <- function(...) {

  packageStartupMessage('  Please cite latte! See citation("latte") for details.')
  
  if (!has_4ti2()) {
    packageStartupMessage("  - 4ti2 was not set in .Renviron. Use set_4ti2_path() to set it.")
  }
  
  if (!has_latte()) {
    packageStartupMessage("  - LattE was not in .Renviron. Use set_latte_path() to set it.")
  }
  
  invisible(TRUE)
  
}