Description Usage Arguments See Also Examples
Check which files are in your temporary storage
1 | getStoredFiles(account, username = Sys.getenv("SLUSER"), ...)
|
account |
An object of class "account". An account object see |
username |
SauceLabs username |
... |
Additonal function arguments - Currently unused. |
Other tempStorageMethods: uploadFile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | ## Not run:
myAcc <- account()
# create a temporary file
myTempFile <- file.path(tempdir(), "notsecret.html")
write("SUPER SECRET STUFF", myTempFile)
# check stored files
myStoredFiles <- getStoredFiles(myAcc)
# upload new file
res <- uploadFile(myAcc, file = myTempFile)
#> res
#$username
#[1] "seleniumPipes"
#
#$size
#[1] 19
#
#$md5
#[1] "e459fe3803b78d64cc5c2998804909a9"
#
#$filename
#[1] "notsecret.html"
#> digest::digest(file = myTempFile, algo = "md5")
#[1] "e459fe3803b78d64cc5c2998804909a9"
myStoredFiles <- getStoredFiles(myAcc)
#> rbindlist(myStoredFiles$files)
#size mtime name md5
#1: 19 1472401537 notsecret.html e459fe3803b78d64cc5c2998804909a9
#2: 14 1472350499 testDoc.R adfc8afc373f0b3fd6f93c3891bdd11b
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.