Checks tools_path() if all tools are there or downloads them

check_tools_path(path = tools_path(), download = FALSE)

Arguments

path

path for the tools. defaults to tools_path()

download

if TRUE, the tools are downloaded. If FALSE, the default, the ptools path is only checked.

Value

TRUE if all tools are installed. a named list of tools which re not installed.

Examples

check_tools_path()
#> ### checking tools path './tools ###
#> Warning: Tools directory does not exist at './tools'. #> To create it, run the command #> `check_tools_dir`(download = TRUE)` #> ### end checking ###
#> ### checking path to bfconvert './tools/bftools/bfconvert ###
#> Warning: File bfconvert does not exist at './tools/bftools/bfconvert'. #> To download, run the command #> `check_tools_dir`(download = TRUE)` #> ### end checking ###
#> ### checking path to ffmpeg './tools/ffmpeg ###
#> Warning: File ffmpeg does not exist at './tools/ffmpeg'. #> To download, run the command #> `check_tools_dir`(download = TRUE)` #> ### end checking ###
#> ### checking path to Fiji.app './tools/Fiji.app ###
#> Warning: Fiji.app does not exist at './tools/Fiji.app'. #> To download, run the command #> `check_tools_dir`(download = TRUE)` #> ### end checking ###
#> $tools.path #> [1] FALSE #> #> $bfconvert #> [1] FALSE #> #> $ffmpeg #> [1] FALSE #> #> $Fiji.app #> [1] FALSE #>