patched_tempdir {salesforcer}R Documentation

Create a temporary directory path without a double slash

Description

This function fixes a long standing bug in R where the tempdir function will return a path with an extra slash.

Usage

patched_tempdir()

Value

character; a string representing the temp directory path without containing a double slash

Note

This function is meant to be used internally. Only use when debugging.

See Also

R documentation on environment vars, Stack Overflow - Why does tempdir() adds extra slash...

Examples

## Not run: 
patched_tempdir()

## End(Not run)

[Package salesforcer version 1.0.2 Index]