Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
Update file_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
TiagoOlivoto committed May 12, 2021
1 parent a351686 commit a94fc94
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
^vignettes/manipulation\.Rmd$
^vignettes/operations\.Rmd$
^vignettes/leaf_area\.Rmd$

^vignettes/segmentation\.Rmd$
^CODE_OF_CONDUCT\.md$
^\.github$
^cran-comments\.md$
^CRAN-RELEASE$
2 changes: 1 addition & 1 deletion R/utils_file.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ file_dir <- function(file){
file)
fd <- ifelse(nchar(ex) == 0,
paste0("."),
paste0("./", ex))
ifelse(grepl("^[/]", file), ex, paste0("./", ex)))
fd <- ifelse(grepl(":", fd, fixed = TRUE),
substring(fd, 3, nchar(fd)),
fd)
Expand Down
12 changes: 7 additions & 5 deletions R/zzz.R
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
.onAttach <- function(libname, pkgname) {
vers <- "0.0.0.9000"
packageStartupMessage("|===========================================|")
packageStartupMessage("| Tools for Plant Image Analysis (pliman) |")
packageStartupMessage("| Author: Tiago Olivoto |")
packageStartupMessage("|===========================================|")
vers <- "v0.1.0"
packageStartupMessage("|========================================================|")
packageStartupMessage("| Tools for Plant Image Analysis (pliman) ", vers, " |")
packageStartupMessage("| Author: Tiago Olivoto |")
packageStartupMessage("| Type 'vignette('pliman_start')' for a short tutorial |")
packageStartupMessage("| Visit 'https://bit.ly/2RP2kyE' for a complete tutorial |")
packageStartupMessage("|========================================================|")
}

if (getRversion() >= "2.15.1") {
Expand Down

0 comments on commit a94fc94

Please sign in to comment.