get_pcloud_path: Get pCloud path

View source: R/misc_functions.R

get_pcloud_pathR Documentation

Get pCloud path

Description

'get_pcloud_path' returns the path of pCloud

Usage

get_pcloud_path(pathtail = character(0))

Arguments

pathtail

A String vector (if not a string then it is converted to String). If present, it gets concatenated with the pCloud path. See examples.

Details

This is an auxilliary function: It finds the pCloud path in Windows, Linux, and OSX operating systems.

Value

pCloud path as a String. If pathtail is present, it concatenates the Dropbox path with pathtail.

Examples

## Not run: 
# Only work if Dropbox is installed.
get_pcloud_path() # Returns pCloud path
get_pcloud_path("pathdownthetree") # Returns "pcloud_path_path/pathdownthetree",
# where pcloud_path is the path to pCloud

## End(Not run)

ChristK/CKutils documentation built on April 11, 2025, 10:11 p.m.