if (FALSE) {
library(Rlabkey)
# Test folder
labkey.webdav.pathExists(
baseUrl="http://labkey/",
folderPath="home",
remoteFilePath="pathToTest"
)
# Test file
labkey.webdav.pathExists(
baseUrl="http://labkey/",
folderPath="home",
remoteFilePath="folder/fileToTest.txt"
)
}
Run the code above in your browser using DataLab