lastwd: Go back to previous directory

View source: R/clean.R

lastwdR Documentation

Go back to previous directory

Description

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()

quickcode documentation built on April 11, 2025, 5:49 p.m.