Guest User

Untitled

a guest
Jul 18th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. jum_version <- function(){
  2. p <- system("jumanpp -v", intern = TRUE)
  3. if (str_detect(p, "command not found")) {
  4. res <- "JUMAN++ is not be installed or we cannot find the path to JUMAN++"
  5. }
  6. res <- p %>% str_trim()
  7. return(res)
  8. }
Add Comment
Please, Sign In to add comment