Showing 5 of 5 files from the diff.
Newly tracked file
R/quoting.R changed.
Newly tracked file
R/glue.R changed.
Newly tracked file
R/sql.R changed.
Newly tracked file
R/safe.R changed.
Newly tracked file
R/color.R changed.

@@ -1,7 +1,7 @@
Loading
1 1
#' Quoting operators
2 2
#'
3 3
#' These functions make it easy to quote each individual element and are useful
4 -
#' in conjunction with `glue_collapse()`.
4 +
#' in conjunction with [glue_collapse()].
5 5
#' @param x A character to quote.
6 6
#' @name quoting
7 7
#' @export

@@ -23,7 +23,7 @@
Loading
23 23
#'   with. If `NULL` missing values are propagated, that is an `NA` result will
24 24
#'   cause `NA` output. Otherwise the value is replaced by the value of `.na`.
25 25
#' @param .trim \[`logical(1)`: \sQuote{TRUE}]\cr Whether to trim the input
26 -
#'   template with `trim()` or not.
26 +
#'   template with [trim()] or not.
27 27
#' @seealso <https://www.python.org/dev/peps/pep-0498/> and
28 28
#'   <https://www.python.org/dev/peps/pep-0257/> upon which this is based.
29 29
#' @examples

@@ -2,7 +2,7 @@
Loading
2 2
#'
3 3
#' SQL databases often have custom quotation syntax for identifiers and strings
4 4
#' which make writing SQL queries error prone and cumbersome to do. `glue_sql()` and
5 -
#' `glue_data_sql()` are analogs to `glue()` and `glue_data()` which handle the
5 +
#' `glue_data_sql()` are analogs to [glue()] and [glue_data()] which handle the
6 6
#' SQL quoting.
7 7
#'
8 8
#' They automatically quote character results, quote identifiers if the glue
@@ -11,7 +11,7 @@
Loading
11 11
#' column (which should be quoted) pass the data to `glue_sql()` as a
12 12
#' character.
13 13
#'
14 -
#' Returning the result with `DBI::SQL()` will suppress quoting if desired for
14 +
#' Returning the result with [DBI::SQL()] will suppress quoting if desired for
15 15
#' a given value.
16 16
#'
17 17
#' Note [parameterized queries](https://db.rstudio.com/best-practices/run-queries-safely#parameterized-queries)
@@ -22,8 +22,8 @@
Loading
22 22
#' collapsed with commas. This is useful for the [SQL IN Operator](https://www.w3schools.com/sql/sql_in.asp)
23 23
#' for instance.
24 24
#' @inheritParams glue
25 -
#' @param .con \[`DBIConnection`]:A DBI connection object obtained from `DBI::dbConnect()`.
26 -
#' @return A `DBI::SQL()` object with the given query.
25 +
#' @param .con \[`DBIConnection`]:A DBI connection object obtained from [DBI::dbConnect()].
26 +
#' @return A [DBI::SQL()] object with the given query.
27 27
#' @examples
28 28
#' con <- DBI::dbConnect(RSQLite::SQLite(), ":memory:")
29 29
#' iris2 <- iris

@@ -1,6 +1,6 @@
Loading
1 1
#' Safely interpolate strings
2 2
#'
3 -
#' `glue_safe()` and `glue_data_safe()` differ from `glue()` and `glue_data()`
3 +
#' `glue_safe()` and `glue_data_safe()` differ from [glue()] and [glue_data()]
4 4
#' in that the safe versions only look up symbols from an environment use
5 5
#' [get()] they do not execute any R code. This makes them suitable when used
6 6
#' with untrusted input, such as inputs in a shiny application, where using the

@@ -5,7 +5,7 @@
Loading
5 5
#' color terminal output. `glue_col()` and `glue_data_col()` functions provide
6 6
#' additional syntax to make using these functions in glue strings easier.
7 7
#'
8 -
#' Using the following syntax will apply the function `crayon::blue()` to the text 'foo bar'.
8 +
#' Using the following syntax will apply the function [crayon::blue()] to the text 'foo bar'.
9 9
#'
10 10
#' ```
11 11
#' {blue foo bar}
Files Coverage
R 98.88%
src 100.00%
Project Totals (11 files) 99.44%
1
comment: false
2

3
coverage:
4
  status:
5
    project:
6
      default:
7
        target: auto
8
        threshold: 1%
9
        informational: true
10
    patch:
11
      default:
12
        target: auto
13
        threshold: 1%
14
        informational: true
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading