Skip to content

Commit 1d1719d

Browse files
committed
Remove links
1 parent f0f5326 commit 1d1719d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+149
-153
lines changed

R/build_times.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#' `r lifecycle::badge("stable")`
33
#' @description Applies to targets in your plan, not imports or files.
44
#' @details Times for dynamic targets
5-
#' (<https://books.ropensci.org/drake/dynamic.html>)
5+
#' (`https://books.ropensci.org/drake/dynamic.html`)
66
#' only reflect the time it takes
77
#' to post-process the sub-targets (typically very fast)
88
#' and exclude the time it takes to build the sub-targets themselves.

R/cache.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#' You may want to inspect the targets afterwards, possibly in an
1616
#' interactive R session. However, the files in the `.drake` folder
1717
#' are organized in a special format created by the
18-
#' [`storr`](https://github.com/richfitz/storr) package,
18+
#' `storr` package,
1919
#' which is not exactly human-readable.
2020
#' To retrieve a target for manual viewing, use [readd()].
2121
#' To load one or more targets into your session, use [loadd()].
@@ -784,7 +784,7 @@ is_imported_cache <- Vectorize(function(target, cache) {
784784
#' Some methods and objects are new or overwritten. Here
785785
#' are the ones relevant to users.
786786
#' - `history`: `drake`'s history (which powers [drake_history()])
787-
#' is a [`txtq`](https://github.com/wlandau/txtq). Access it
787+
#' is a `txtq`. Access it
788788
#' with `drake_cache()$history`.
789789
#' - `import()`: The `import()` method is a function that can import
790790
#' targets, function dependencies, etc. from one decorated `storr`

R/deprecated.R

+12-12
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ deprecate_targets_only <- function(targets_only) {
526526
#' @title Load the main example.
527527
#' `r lifecycle::badge("deprecated")`
528528
#' @description The main example lives at
529-
#' <https://github.com/wlandau/drake-examples/tree/main/main>.
529+
#' `https://github.com/wlandau/drake-examples/tree/main/main`.
530530
#' Use `drake_example("main")` to download its code.
531531
#' This function also writes/overwrites
532532
#' the files `report.Rmd` and `raw_data.xlsx`.
@@ -1457,7 +1457,7 @@ target_namespaces <- function(
14571457
#' @title Specialized wildcard for analyses
14581458
#' `r lifecycle::badge("deprecated")`
14591459
#' @description Use [drake_plan()] instead.
1460-
#' See <https://books.ropensci.org/drake/plans.html#large-plans>
1460+
#' See `https://books.ropensci.org/drake/plans.html#large-plans`
14611461
#' for details.
14621462
#' @details 2019-01-13
14631463
#' @export
@@ -1495,7 +1495,7 @@ plan_analyses <- function(plan, datasets, sep = "_") {
14951495
#' @title Specialized wildcard for summaries
14961496
#' `r lifecycle::badge("deprecated")`
14971497
#' @description Use [drake_plan()] with transformations instead. See
1498-
#' <https://books.ropensci.org/drake/plans.html#large-plans>
1498+
#' `https://books.ropensci.org/drake/plans.html#large-plans`
14991499
#' for details.
15001500
#' @details 2019-01-13
15011501
#' @export
@@ -1787,7 +1787,7 @@ drake_cache_log_file <- function(
17871787
#' `r lifecycle::badge("deprecated")`
17881788
#' @description Deprecated on 2019-05-16. Use [drake_plan()]
17891789
#' transformations instead. See
1790-
#' <https://books.ropensci.org/drake/plans.html#large-plans>
1790+
#' `https://books.ropensci.org/drake/plans.html#large-plans`
17911791
#' for the details.
17921792
#'
17931793
#' @details The commands in workflow plan data frames can have
@@ -2010,7 +2010,7 @@ check_wildcard_rules <- function(rules) {
20102010
#' `r lifecycle::badge("deprecated")`
20112011
#' @description Deprecated on 2019-05-16. Use [drake_plan()]
20122012
#' transformations instead. See
2013-
#' <https://books.ropensci.org/drake/plans.html#large-plans>
2013+
#' `https://books.ropensci.org/drake/plans.html#large-plans`
20142014
#' for the details.
20152015
#'
20162016
#' @details Duplicates the rows of a workflow plan data frame.
@@ -2062,7 +2062,7 @@ expand_plan <- function(
20622062
#' `r lifecycle::badge("deprecated")`
20632063
#' @description Deprecated on 2019-05-16. Use [drake_plan()]
20642064
#' transformations instead. See
2065-
#' <https://books.ropensci.org/drake/plans.html#large-plans>
2065+
#' `https://books.ropensci.org/drake/plans.html#large-plans`
20662066
#' for the details.
20672067
#' @details `map_plan()` is like `base::Map()`:
20682068
#' it takes a function name and a grid of arguments, and
@@ -2139,7 +2139,7 @@ map_plan <- function(
21392139
#' `r lifecycle::badge("deprecated")`
21402140
#' @description Deprecated on 2019-05-16. Use [drake_plan()]
21412141
#' transformations instead. See
2142-
#' <https://books.ropensci.org/drake/plans.html#large-plans>
2142+
#' `https://books.ropensci.org/drake/plans.html#large-plans`
21432143
#' for the details.
21442144
#' @details Creates a new workflow plan to aggregate
21452145
#' existing targets in the supplied plan.
@@ -2186,7 +2186,7 @@ gather_plan <- function(
21862186
#' `r lifecycle::badge("deprecated")`
21872187
#' @description Deprecated on 2019-05-16. Use [drake_plan()]
21882188
#' transformations instead. See
2189-
#' <https://books.ropensci.org/drake/plans.html#large-plans>
2189+
#' `https://books.ropensci.org/drake/plans.html#large-plans`
21902190
#' for the details.
21912191
#' @details Perform several calls to `gather_plan()`
21922192
#' based on groupings from columns in the plan,
@@ -2262,7 +2262,7 @@ gather_by <- function(
22622262
#' `r lifecycle::badge("deprecated")`
22632263
#' @description Deprecated on 2019-05-16. Use [drake_plan()]
22642264
#' transformations instead. See
2265-
#' <https://books.ropensci.org/drake/plans.html#large-plans>
2265+
#' `https://books.ropensci.org/drake/plans.html#large-plans`
22662266
#' for the details.
22672267
#' @details Creates a new workflow plan data frame with the
22682268
#' commands to do a reduction (i.e. to repeatedly apply a binary
@@ -2336,7 +2336,7 @@ reduce_plan <- function(
23362336
#' `r lifecycle::badge("deprecated")`
23372337
#' @description Deprecated on 2019-05-16. Use [drake_plan()]
23382338
#' transformations instead. See
2339-
#' <https://books.ropensci.org/drake/plans.html#large-plans>
2339+
#' `https://books.ropensci.org/drake/plans.html#large-plans`
23402340
#' for the details.
23412341
#' @details Perform several calls to `reduce_plan()`
23422342
#' based on groupings from columns in the plan,
@@ -2697,8 +2697,8 @@ progress <- function(
26972697
#' way to make `drake` compatible with workflows implemented as custom
26982698
#' analysis packages. Now, the recommendation is to supply
26992699
#' `getNamespace("yourPackage")` to the `envir` argument of [make()]
2700-
#' and friends. Read <https://github.com/ropensci/drake/issues/1286>,
2701-
#' especially <https://github.com/ropensci/drake/issues/1286#issuecomment-649088321>, # nolint
2700+
#' and friends. Read `https://github.com/ropensci/drake/issues/1286`,
2701+
#' especially `https://github.com/ropensci/drake/issues/1286#issuecomment-649088321`, # nolint
27022702
#' for details.
27032703
#' @export
27042704
#' @return The environment that the exposed imports are loaded into.

R/drake_build.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ body(drake_build) <- config_util_body(drake_build_impl)
7979
#' and then runs its command in debug mode (see `browser()`,
8080
#' `debug()`, and `debugonce()`). This function does not
8181
#' store the target's value in the cache
82-
#' (see <https://github.com/ropensci/drake/issues/587>).
82+
#' (see `https://github.com/ropensci/drake/issues/587`).
8383
#' @export
8484
#' @seealso [drake_build()]
8585
#' @return The value of the target right after it is built.

R/drake_config.R

+7-8
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,8 @@
5454
#' in `plan` and just import objects and files.
5555
#'
5656
#' @param parallelism Character scalar, type of parallelism to use.
57-
#' For detailed explanations, see the
58-
#' [high-performance computing chapter](https://books.ropensci.org/drake/hpc.html) # nolint
59-
#' of the user manual.
57+
#' For detailed explanations, see
58+
#' `https://books.ropensci.org/drake/hpc.html`.
6059
#'
6160
#' You could also supply your own scheduler function
6261
#' if you want to experiment or aggressively optimize.
@@ -75,7 +74,7 @@
7574
#' You can experiment with [predict_runtime()]
7675
#' to help decide on an appropriate number of jobs.
7776
#' For details, visit
78-
#' <https://books.ropensci.org/drake/time.html>.
77+
#' `https://books.ropensci.org/drake/time.html`.
7978
#'
8079
#' @param jobs_preprocess Number of parallel jobs for processing the imports
8180
#' and doing other preprocessing tasks.
@@ -161,7 +160,7 @@
161160
#'
162161
#' @param lazy_load An old feature, currently being questioned.
163162
#' For the current recommendations on memory management, see
164-
#' <https://books.ropensci.org/drake/memory.html#memory-strategies>.
163+
#' `https://books.ropensci.org/drake/memory.html#memory-strategies`.
165164
#' The `lazy_load` argument is either a character vector or a logical.
166165
#' For dynamic targets, the behavior is always `"eager"` (see below).
167166
#' So the `lazy_load` argument is for static targets only.
@@ -333,7 +332,7 @@
333332
#' Enabled for `clustermq` only (`make(parallelism = "clustermq")`),
334333
#' not `future` or `batchtools` so far.
335334
#' For more information, see the `clustermq` package:
336-
#' <https://github.com/mschubert/clustermq>.
335+
#' `https://github.com/mschubert/clustermq`.
337336
#' Some template placeholders such as `{{ job_name }}` and `{{ n_jobs }}`
338337
#' cannot be set this way.
339338
#'
@@ -385,7 +384,7 @@
385384
#'
386385
#' @param history Logical, whether to record the build history
387386
#' of your targets. You can also supply a
388-
#' [`txtq`](https://github.com/wlandau/txtq), which is
387+
#' `txtq`, which is
389388
#' how `drake` records history.
390389
#' Must be `TRUE` for [drake_history()] to work later.
391390
#'
@@ -471,7 +470,7 @@
471470
#' @param format Character, an optional custom storage format for targets
472471
#' without an explicit `target(format = ...)` in the plan. Details
473472
#' about formats:
474-
#' <https://books.ropensci.org/drake/plans.html#special-data-formats-for-targets> # nolint
473+
#' `https://books.ropensci.org/drake/plans.html#special-data-formats-for-targets` # nolint
475474
#'
476475
#' @param lock_cache Logical, whether to lock the cache before running `make()`
477476
#' etc. It is usually recommended to keep cache locking on.

R/drake_example.R

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
#' @title Download the files of an example `drake` project.
22
#' `r lifecycle::badge("stable")`
33
#' @description The `drake_example()` function downloads a
4-
#' folder from <https://github.com/wlandau/drake-examples>.
4+
#' folder from `https://github.com/wlandau/drake-examples`.
55
#' By default, it creates a new folder with the example name
66
#' in your current working directory. After the files are written,
77
#' have a look at the enclosed `README` file.
88
#' Other instructions are available in the files at
9-
#' <https://github.com/wlandau/drake-examples>.
9+
#' `https://github.com/wlandau/drake-examples`.
1010
#' @seealso [drake_examples()], [make()]
1111
#' @export
1212
#' @return `NULL`
1313
#' @param example Name of the example.
1414
#' The possible values are the names of the folders at
15-
#' <https://github.com/wlandau/drake-examples>.
15+
#' `https://github.com/wlandau/drake-examples`.
1616
#' @param to Character scalar,
1717
#' the folder containing the code files for the example.
1818
#' passed to the `exdir` argument of `utils::unzip()`.
@@ -62,9 +62,9 @@ drake_example <- function(
6262
#' @title List the names of all the drake examples.
6363
#' `r lifecycle::badge("stable")`
6464
#' @description You can find the code files of the examples at
65-
#' <https://github.com/wlandau/drake-examples>.
65+
#' `https://github.com/wlandau/drake-examples`.
6666
#' The `drake_examples()` function downloads the list of examples
67-
#' from <https://wlandau.github.io/drake-examples/examples.md>,
67+
#' from `https://wlandau.github.io/drake-examples/examples.md`,
6868
#' so you need an internet connection.
6969
#' @export
7070
#' @seealso [drake_example()], [make()]

R/drake_plan.R

+9-9
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#'
1010
#' @details Besides `"target"` and `"command"`, [drake_plan()]
1111
#' understands a special set of optional columns. For details, visit
12-
#' <https://books.ropensci.org/drake/plans.html#special-custom-columns-in-your-plan> # nolint
12+
#' `https://books.ropensci.org/drake/plans.html#special-custom-columns-in-your-plan` # nolint
1313
#'
1414
#' @seealso make, drake_config, transform_plan, map, split, cross, combine
1515
#'
@@ -26,19 +26,19 @@
2626
#' but `drake` looks for them at various points in the workflow.
2727
#' - `transform`: a call to [map()], [split()], [cross()], or
2828
#' [combine()] to create and manipulate large collections of targets.
29-
#' Details: (<https://books.ropensci.org/drake/plans.html#large-plans>). # nolint
29+
#' Details: (`https://books.ropensci.org/drake/plans.html#large-plans`). # nolint
3030
#' - `format`: set a storage format to save big targets more efficiently.
3131
#' See the "Formats" section of this help file for more details.
3232
#' - `trigger`: rule to decide whether a target needs to run.
3333
#' It is recommended that you define this one with `target()`.
34-
#' Details: <https://books.ropensci.org/drake/triggers.html>.
34+
#' Details: `https://books.ropensci.org/drake/triggers.html`.
3535
#' - `hpc`: logical values (`TRUE`/`FALSE`/`NA`) whether to send each target
3636
#' to parallel workers.
37-
#' Visit <https://books.ropensci.org/drake/hpc.html#selectivity>
37+
#' Visit `https://books.ropensci.org/drake/hpc.html#selectivity`
3838
#' to learn more.
3939
#' - `resources`: target-specific lists of resources for a computing cluster.
4040
#' See
41-
#' <https://books.ropensci.org/drake/hpc.html#advanced-options>
41+
#' `https://books.ropensci.org/drake/hpc.html#advanced-options`
4242
#' for details.
4343
#' - `caching`: overrides the `caching` argument of [make()] for each target
4444
#' individually. Possible values:
@@ -76,7 +76,7 @@
7676
#' subsequent calls to `make()`. This is a more flexible
7777
#' alternative to `file_in()` and `file_out()`, and it is
7878
#' compatible with dynamic branching.
79-
#' See <https://github.com/ropensci/drake/pull/1178> for an example.
79+
#' See `https://github.com/ropensci/drake/pull/1178` for an example.
8080
#' - `"fst"`: save big data frames fast. Requires the `fst` package.
8181
#' Note: this format strips non-data-frame attributes such as the
8282
#' - `"fst_tbl"`: Like `"fst"`, but for `tibble` objects.
@@ -112,8 +112,8 @@
112112
#' with its own help file.
113113
#' - [target()]: give the target more than just a command.
114114
#' Using [target()], you can apply a transformation
115-
#' (examples: <https://books.ropensci.org/drake/plans.html#large-plans>), # nolint
116-
#' supply a trigger (<https://books.ropensci.org/drake/triggers.html>), # nolint
115+
#' (examples: `https://books.ropensci.org/drake/plans.html#large-plans`), # nolint
116+
#' supply a trigger (`https://books.ropensci.org/drake/triggers.html`), # nolint
117117
#' or set any number of custom columns.
118118
#' - [file_in()]: declare an input file dependency.
119119
#' - [file_out()]: declare an output file to be produced
@@ -190,7 +190,7 @@
190190
#'
191191
#' # Use transformations to generate large plans.
192192
#' # Read more at
193-
#' # <https://books.ropensci.org/drake/plans.html#create-large-plans-the-easy-way>. # nolint
193+
#' # `https://books.ropensci.org/drake/plans.html#create-large-plans-the-easy-way`. # nolint
194194
#' drake_plan(
195195
#' data = target(
196196
#' simulate(nrows),

R/drake_plan_helpers.R

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#' and dynamic branching, and it can also set the values
77
#' of custom columns such as `format`, `elapsed`, `retries`,
88
#' and `max_expand`. Details are at
9-
#' <https://books.ropensci.org/drake/plans.html#special-columns>.
9+
#' `https://books.ropensci.org/drake/plans.html#special-columns`.
1010
#' Note: `drake_plan(my_target = my_command())`
1111
#' is equivalent to
1212
#' `drake_plan(my_target = target(my_command())`.
@@ -22,10 +22,10 @@
2222
#' @param command The command to build the target.
2323
#' @param transform A call to [map()], [split()], [cross()], or [combine()]
2424
#' to apply a *static* transformation. Details:
25-
#' <https://books.ropensci.org/drake/static.html>
25+
#' `https://books.ropensci.org/drake/static.html`
2626
#' @param dynamic A call to [map()], [cross()], or [group()]
2727
#' to apply a *dynamic* transformation. Details:
28-
#' <https://books.ropensci.org/drake/dynamic.html>
28+
#' `https://books.ropensci.org/drake/dynamic.html`
2929
#' @param ... Optional columns of the plan for a given target.
3030
#' See the Columns section of this help file for a selection
3131
#' of special columns that `drake` understands.
@@ -104,7 +104,7 @@ target <- function(
104104
#' [make()] or [drake_config()].
105105
#' For details, see the chapter on triggers
106106
#' in the user manual:
107-
#' <https://books.ropensci.org/drake/triggers.html>
107+
#' `https://books.ropensci.org/drake/triggers.html`
108108
#' @details
109109
#' A target always builds if it has not been built before.
110110
#' Triggers allow you to customize the conditions
@@ -142,7 +142,7 @@ target <- function(
142142
#' choice of specialized data format changes: for example,
143143
#' if you use `target(format = "qs")` one instance and
144144
#' `target(format = "fst")` the next. See
145-
#' <https://books.ropensci.org/drake/plans.html#special-data-formats-for-targets> # nolint
145+
#' `https://books.ropensci.org/drake/plans.html#special-data-formats-for-targets` # nolint
146146
#' for details on formats.
147147
#' @param condition R code (expression or language object)
148148
#' that returns a logical. The target will rebuild
@@ -894,7 +894,7 @@ plan_to_text <- function(plan) {
894894
#' `r lifecycle::badge("stable")`
895895
#' @description You supply a plan, and [drake_plan_source()]
896896
#' supplies code to generate that plan. If you have the
897-
#' [`prettycode` package](https://github.com/r-lib/prettycode),
897+
#' `prettycode` package,
898898
#' installed, you also get nice syntax highlighting in the console
899899
#' when you print it.
900900
#' @export

R/make.R

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#' This script should begin in a fresh R session,
2222
#' load your packages and functions in a dependable manner,
2323
#' and then run `make()`. Example:
24-
#' <https://github.com/wlandau/drake-examples/tree/main/gsp>.
24+
#' `https://github.com/wlandau/drake-examples/tree/main/gsp`.
2525
#' Batch mode, especially within a container, is particularly helpful.
2626
#'
2727
#' Interactive R sessions are still useful,
@@ -51,15 +51,15 @@
5151
#' during `make()` itself.
5252
#'
5353
#' For each target that is still problematic (e.g.
54-
#' <https://github.com/rstudio/gt/issues/297>)
54+
#' `https://github.com/rstudio/gt/issues/297`)
5555
#' you can safely run the command in its own special `callr::r()` process.
56-
#' Example: <https://github.com/rstudio/gt/issues/297#issuecomment-497778735>. # nolint
56+
#' Example: `https://github.com/rstudio/gt/issues/297#issuecomment-497778735`. # nolint
5757
#'
5858
#' If that fails, you can run `make(plan, lock_envir = FALSE)`
5959
#' to suppress environment-locking for all targets.
6060
#' However, this is not usually recommended.
6161
#' There are legitimate use cases for `lock_envir = FALSE`
62-
#' (example: <https://books.ropensci.org/drake/hpc.html#parallel-computing-within-targets>) # nolint
62+
#' (example: `https://books.ropensci.org/drake/hpc.html#parallel-computing-within-targets`) # nolint
6363
#' but most workflows should stick with the default `lock_envir = TRUE`.
6464
#'
6565
#' @section Cache locking:

R/package.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#' drake: A pipeline toolkit for reproducible computation at scale.
22
#' @docType package
33
#' @description drake is a pipeline toolkit
4-
#' (<https://github.com/pditommaso/awesome-pipeline>)
4+
#' (`https://github.com/pditommaso/awesome-pipeline`)
55
#' and a scalable, R-focused solution for reproducibility
66
#' and high-performance computing.
77
#' @name drake-package
@@ -43,7 +43,7 @@
4343
#' readd(mean_mpg_by_cyl)
4444
#' })
4545
#' }
46-
#' @references <https://github.com/ropensci/drake>
46+
#' @references `https://github.com/ropensci/drake`
4747
#' @useDynLib drake, .registration = TRUE
4848
#' @importFrom base64url base32_decode base32_encode
4949
#' @importFrom digest getVDigest

0 commit comments

Comments
 (0)