The goal of whereami is to reliably find where command is run from.
whereami()
#> ── Running print(x) at README.Rmd, encoding = UTF-If you are running a non RStudio script ie from terminal R/Rscript then the package falls back to thisfile(), which has been migrated from rprojroot::thisfile().
In this case the traceback functionality of whereami() to return the line where the function was sourced is not enabled.