Nothing
Code
sort(dir(tmp, recursive = TRUE, include.dirs = TRUE))
Output
[1] "testDummy" "testDummy/DESCRIPTION" "testDummy/NAMESPACE"
[4] "testDummy/R" "testDummy/R/a.r" "testDummy/R/b.r"
Code
sort(dir(tmp, recursive = TRUE, include.dirs = TRUE))
Output
[1] "testDummy" "testDummy/DESCRIPTION" "testDummy/NAMESPACE"
[4] "testDummy/R" "testDummy/R/a.r" "testDummy/R/b.r"
Code
files[, c("path", "exclude", "isdir", "trimmed")]
Output
path exclude isdir trimmed
1 .RData TRUE FALSE FALSE
2 .Rbuildignore FALSE FALSE FALSE
3 .Rhistory TRUE FALSE FALSE
4 .git TRUE TRUE FALSE
5 DESCRIPTION FALSE FALSE FALSE
6 docs TRUE TRUE FALSE
7 src FALSE TRUE TRUE
8 src/.DS_Store TRUE FALSE FALSE
9 src/foo.c.bak TRUE FALSE FALSE
10 src/foo.c.swp TRUE FALSE FALSE
11 src/foo.c~ TRUE FALSE FALSE
12 src/foo.d TRUE FALSE FALSE
13 src/src.c FALSE FALSE FALSE
14 src/src.o TRUE FALSE FALSE
Code
files[, c("path", "exclude", "isdir", "trimmed")]
Output
path exclude isdir trimmed
1 .Rbuildignore FALSE FALSE FALSE
2 DESCRIPTION FALSE FALSE FALSE
3 docs TRUE TRUE FALSE
4 src FALSE TRUE TRUE
5 src/src.c FALSE FALSE FALSE
6 src/src.o TRUE FALSE FALSE
Code
sort(dir(tmp, recursive = TRUE, include.dirs = TRUE))
Output
[1] "testDummy" "testDummy/DESCRIPTION" "testDummy/NAMESPACE"
[4] "testDummy/R" "testDummy/R/a.r" "testDummy/R/b.r"
Code
cp("foo", "bar")
Error <simpleError>
Could not copy package files.
i Failed to copy 'foo' to 'bar'.
Code
detect_cp_args()
Output
[1] "-pLR"
Code
detect_cp_args()
Output
[1] "-LR" "--preserve=timestamps"
Code
cp("foo", "bar")
Error <simpleError>
Could not copy package files.
i Failed to copy 'foo' to 'bar'.
i `cp` output:
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.