knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

ftree

Lifecycle: experimental

ftree is an experimental and mostly useless R package. It has one function, ftree() that shows a file tree on your console.

Unix

Unicode doesn't quite work correctly..

## this doesn't render in Github Markdown
library(ftree)
ftree(path = system.file(package = "ftree"))

or render with no emoji

## note this should be equivalent to fs::dir_tree()
ftree(path = system.file(package = "ftree"), unicode = FALSE)

Windows

Note that unicode rendering this doesn't seem to work well when with rmarkdown in Windows. However, it should display fine in the console.

knitr::include_graphics("man/figures/console-screenshot-1.png")

r Sys.time() ping1



mps9506/ftree documentation built on Dec. 21, 2021, 10:01 p.m.