Skip to content

Commit 4bd5104

Browse files
committed
add cacheDir to usage in Rd files
1 parent 669d72b commit 4bd5104

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

man/cppFunction.Rd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Define an R Function with a C++ Implementation
77
Dynamically define an R function with C++ source code. Compiles and links a shared library with bindings to the C++ function then defines an R function that uses \code{.Call} to invoke the library.
88
}
99
\usage{
10-
cppFunction(code, depends = character(), plugins = character(),
11-
includes = character(), env = parent.frame(), rebuild = FALSE,
10+
cppFunction(code, depends = character(), plugins = character(), includes = character(),
11+
env = parent.frame(), rebuild = FALSE, cacheDir = tempdir(),
1212
showOutput = verbose, verbose = getOption("verbose"))
1313
}
1414

man/evalCpp.Rd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Evaluates a C++ expression. This creates a C++ function using
1010
}
1111
\usage{
1212
evalCpp(code, depends = character(), plugins = character(),
13-
includes = character(), rebuild = FALSE, showOutput = verbose,
14-
verbose = getOption("verbose"))
13+
includes = character(), rebuild = FALSE, cacheDir = tempdir(),
14+
showOutput = verbose, verbose = getOption("verbose"))
1515
areMacrosDefined(names, depends = character(), includes = character(),
1616
rebuild = FALSE, showOutput = verbose,
1717
verbose = getOption("verbose"))

man/sourceCpp.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ and RCPP_MODULE declarations. A shared library is then built and its exported fu
99
}
1010
\usage{
1111
sourceCpp(file = "", code = NULL, env = globalenv(),
12-
embeddedR = TRUE, rebuild = FALSE,
12+
embeddedR = TRUE, rebuild = FALSE, cacheDir = tempdir(),
1313
showOutput = verbose, verbose = getOption("verbose"),
1414
dryRun = FALSE)
1515
}

0 commit comments

Comments
 (0)