Skip to contents

Navigate to previous working directory if the setwd was called by clean() or refresh() function

Usage

lastwd()

Value

the previous directory

Note

In order to use this function to retrieve the last/previous working directory, you must use the quickcode::clean() or quickcode::refresh() function to set the working directory.

Examples

lastwd()
#> NULL
#> In order to use this function to retrieve the last/previous working directory, you must use the quickcode::clean() or quickcode::refresh() function to set the working directory.