Skip to content

Commit e131437

Browse files
authored
Merge pull request #524 from rstudio/v0.12.0-rc
Release pointblank 0.12.0
2 parents 8ea5f06 + df09e73 commit e131437

Some content is hidden

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

76 files changed

+168
-165
lines changed

.Rbuildignore

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
^README\.md$
1515
^index\.md$
1616
^LICENSE\.md$
17+
^CITATION\.cff$
1718
vignettes
1819
man/figures/
1920
^tests/manual_tests$

CITATION.cff

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ message: 'If you wish to cite the "pointblank" package use:'
33
type: software
44
license: MIT
55
title: 'pointblank: Data Validation and Organization of Metadata for Local and Remote Tables'
6-
version: 0.9.0
6+
version: 0.12.0
77
abstract: Validate data in data frames, 'tibble' objects, 'Spark'
88
'DataFrames', and database tables. Validation pipelines can be made using
99
easily-readable, consecutive validation steps. Upon execution of the
@@ -21,6 +21,10 @@ authors:
2121
given-names: Mauricio
2222
2323
orcid: https://orcid.org/0000-0003-1017-7574
24+
- family-names: Choe
25+
given-names: June
26+
27+
orcid: https://orcid.org/0000-0002-0701-921X
2428
repository: https://CRAN.R-project.org/package=pointblank
2529
repository-code: https://github.com/rstudio/pointblank
2630
url: https://rstudio.github.io/pointblank/

DESCRIPTION

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Type: Package
22
Package: pointblank
3-
Version: 0.11.4.9000
3+
Version: 0.12.0
44
Title: Data Validation and Organization of Metadata for Local and Remote Tables
55
Description: Validate data in data frames, 'tibble' objects, 'Spark'
66
'DataFrames', and database tables. Validation pipelines can be made using
@@ -24,7 +24,7 @@ BugReports: https://github.com/rstudio/pointblank/issues
2424
Encoding: UTF-8
2525
LazyData: true
2626
ByteCompile: true
27-
RoxygenNote: 7.2.3
27+
RoxygenNote: 7.3.1
2828
Depends:
2929
R (>= 3.5.0)
3030
Imports:

NEWS.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# pointblank (development version)
1+
# pointblank 0.12.0
22

33
## New features
44

@@ -24,7 +24,7 @@
2424

2525
* Fixes issue with rendering reports in Quarto HTML documents.
2626

27-
* When no columns are returned from a `{tidyselect}` expression in `columns`, the agent's report now displays the originally supplied *expression* instead of simply blank (e.g., in `create_agent(small_table) |> col_vals_null(matches("z"))`).
27+
* When no columns are returned from a `{tidyselect}` expression in `columns`, the agent's report now displays the originally supplied *expression* instead of being simply blank (e.g., in `create_agent(small_table) |> col_vals_null(matches("z"))`).
2828

2929
* Fixes issue with the hashing implementation to improve performance and alignment of validation steps in the multiagent.
3030

R/col_count_match.R

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
#' against the target table in terms of column count values. If supplying a
4444
#' comparison table, it can either be a table object such as a data frame, a
4545
#' tibble, a `tbl_dbi` object, or a `tbl_spark` object. Alternatively, a
46-
#' table-prep formula (`~ <table reading code>`) or a function (`function()
47-
#' <table reading code>`) can be used to lazily read in the comparison table
48-
#' at interrogation time.
46+
#' table-prep formula (`~ <tbl reading code>`) or a function (
47+
#' `function() <tbl reading code>`) can be used to lazily read in the
48+
#' comparison table at interrogation time.
4949
#'
5050
#' @return For the validation function, the return value is either a
5151
#' `ptblank_agent` object or a table object (depending on whether an agent

R/col_schema_match.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -519,8 +519,8 @@ test_col_schema_match <- function(
519519
#' then any values provided to `...` will be ignored. This can either be a
520520
#' table object, a table-prep formula.This can be a table object such as a
521521
#' data frame, a tibble, a `tbl_dbi` object, or a `tbl_spark` object.
522-
#' Alternatively, a table-prep formula (`~ <table reading code>`) or a
523-
#' function (`function() <table reading code>`) can be used to lazily read in
522+
#' Alternatively, a table-prep formula (`~ <tbl reading code>`) or a
523+
#' function (`function() <tbl reading code>`) can be used to lazily read in
524524
#' the table at interrogation time.
525525
#'
526526
#' @param .db_col_types *Use R column types or database column types?*

R/create_agent.R

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@
4444
#'
4545
#' @param tbl *Table or expression for reading in one*
4646
#'
47-
#' `obj:<tbl_*>|<table reading expression>` // **required**
47+
#' `obj:<tbl_*>|<tbl reading expression>` // **required**
4848
#'
4949
#' The input table. This can be a data frame, a tibble, a `tbl_dbi` object, or
5050
#' a `tbl_spark` object. Alternatively, an expression can be supplied to serve
5151
#' as instructions on how to retrieve the target table at interrogation-time.
5252
#' There are two ways to specify an association to a target table: (1) as a
5353
#' table-prep formula, which is a right-hand side (RHS) formula expression
54-
#' (e.g., `~ { <table reading code>}`), or (2) as a function (e.g.,
55-
#' `function() { <table reading code>}`).
54+
#' (e.g., `~ { <tbl reading code>}`), or (2) as a function (e.g.,
55+
#' `function() { <tbl reading code>}`).
5656
#'
5757
#' @param tbl_name *A table name*
5858
#'

R/create_informant.R

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@
5555
#'
5656
#' @param tbl *Table or expression for reading in one*
5757
#'
58-
#' `obj:<tbl_*>|<table reading expression>` // **required**
58+
#' `obj:<tbl_*>|<tbl reading expression>` // **required**
5959
#'
6060
#' The input table. This can be a data frame, a tibble, a `tbl_dbi` object, or
6161
#' a `tbl_spark` object. Alternatively, an expression can be supplied to serve
6262
#' as instructions on how to retrieve the target table at incorporation-time.
6363
#' There are two ways to specify an association to a target table: (1) as a
6464
#' table-prep formula, which is a right-hand side (RHS) formula expression
65-
#' (e.g., `~ { <table reading code>}`), or (2) as a function (e.g.,
66-
#' `function() { <table reading code>}`).
65+
#' (e.g., `~ { <tbl reading code>}`), or (2) as a function (e.g.,
66+
#' `function() { <tbl reading code>}`).
6767
#'
6868
#' @param agent *The pointblank agent object*
6969
#'

R/incorporate.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ incorporate <- function(informant) {
207207
# TODO: Improve the `stop()` message here
208208
stop(
209209
"The `read_fn` object must be a function or an R formula.\n",
210-
"* A function can be made with `function()` {<table reading code>}.\n",
210+
"* A function can be made with `function()` {<tbl reading code>}.\n",
211211
"* An R formula can also be used, with the expression on the RHS.",
212212
call. = FALSE
213213
)

R/info_add.R

+7-7
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ info_tabular <- function(
246246
#'
247247
#' @param columns *The target columns*
248248
#'
249-
#' `vector<character>|vars(<columns>)`` // **required**
249+
#' `vector<character>|vars(<columns>)` // **required**
250250
#'
251251
#' The column or set of columns to focus on. Can be defined as a column name
252252
#' in quotes (e.g., `"<column_name>"`), one or more column names in `vars()`
@@ -723,7 +723,7 @@ check_info_columns_tbl <- function(tbl) {
723723
#'
724724
#' @param section_name *The section name*
725725
#'
726-
#' `scalar<character>`` // **required**
726+
#' `scalar<character>` // **required**
727727
#'
728728
#' The name of the section for which this information pertains.
729729
#'
@@ -965,7 +965,7 @@ info_section <- function(
965965
#'
966966
#' @param snippet_name *The snippet name*
967967
#'
968-
#' `scalar<character>`` // **required**
968+
#' `scalar<character>` // **required**
969969
#'
970970
#' The name for snippet, which is used for interpolating the result of the
971971
#' snippet formula into *info text* defined by an `info_*()` function.
@@ -1162,7 +1162,7 @@ info_snippet <- function(
11621162
#'
11631163
#' @param column *The target column*
11641164
#'
1165-
#' `scalar<character>`` // **required**
1165+
#' `scalar<character>` // **required**
11661166
#'
11671167
#' The name of the column that contains the target values.
11681168
#'
@@ -1465,7 +1465,7 @@ snip_list <- function(
14651465
#'
14661466
#' @param column *The target column*
14671467
#'
1468-
#' `scalar<character>`` // **required**
1468+
#' `scalar<character>` // **required**
14691469
#'
14701470
#' The name of the column that contains the target values.
14711471
#'
@@ -1552,7 +1552,7 @@ snip_stats <- function(
15521552
#'
15531553
#' @param column *The target column*
15541554
#'
1555-
#' `scalar<character>`` // **required**
1555+
#' `scalar<character>` // **required**
15561556
#'
15571557
#' The name of the column that contains the target values.
15581558
#'
@@ -1626,7 +1626,7 @@ snip_lowest <- function(column) {
16261626
#'
16271627
#' @param column *The target column*
16281628
#'
1629-
#' `scalar<character>`` // **required**
1629+
#' `scalar<character>` // **required**
16301630
#'
16311631
#' The name of the column that contains the target values.
16321632
#'

R/interrogate.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ interrogate <- function(
192192
# TODO: create a better `stop()` message
193193
stop(
194194
"The `read_fn` object must be a function or an R formula.\n",
195-
"* A function can be made with `function()` {<table reading code>}.\n",
195+
"* A function can be made with `function()` {<tbl reading code>}.\n",
196196
"* An R formula can also be used, with the expression on the RHS.",
197197
call. = FALSE
198198
)

R/object_ops.R

+3-3
Original file line numberDiff line numberDiff line change
@@ -844,16 +844,16 @@ export_report <- function(
844844
#'
845845
#' @param tbl *Table or expression for reading in one*
846846
#'
847-
#' `obj:<tbl_*>|<table reading expression>` // **required**
847+
#' `obj:<tbl_*>|<tbl reading expression>` // **required**
848848
#'
849849
#' The input table for the *agent* or the *informant*. This can be a data
850850
#' frame, a tibble, a `tbl_dbi` object, or a `tbl_spark` object.
851851
#' Alternatively, an expression can be supplied to serve as instructions on
852852
#' how to retrieve the target table at interrogation- or incorporation-time.
853853
#' There are two ways to specify an association to a target table: (1) as a
854854
#' table-prep formula, which is a right-hand side (RHS) formula expression
855-
#' (e.g., `~ { <table reading code>}`), or (2) as a function (e.g.,
856-
#' `function() { <table reading code>}`).
855+
#' (e.g., `~ { <tbl reading code>}`), or (2) as a function (e.g.,
856+
#' `function() { <tbl reading code>}`).
857857
#'
858858
#' @param tbl_name *A table name*
859859
#'

R/row_count_match.R

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
#' against the target table in terms of row count values. If supplying a
4444
#' comparison table, it can either be a table object such as a data frame, a
4545
#' tibble, a `tbl_dbi` object, or a `tbl_spark` object. Alternatively, a
46-
#' table-prep formula (`~ <table reading code>`) or a function (`function()
47-
#' <table reading code>`) can be used to lazily read in the comparison table
48-
#' at interrogation time.
46+
#' table-prep formula (`~ <tbl reading code>`) or a function
47+
#' (`function() <tbl reading code>`) can be used to lazily read in the
48+
#' comparison table at interrogation time.
4949
#'
5050
#' @param tbl_compare *[Deprecated] Comparison table*
5151
#'

R/tbl_match.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
#' A table to compare against the target table. This can either be a table
4444
#' object, a table-prep formula. This can be a table object such as a data
4545
#' frame, a tibble, a `tbl_dbi` object, or a `tbl_spark` object.
46-
#' Alternatively, a table-prep formula (`~ <table reading code>`) or a
47-
#' function (`function() <table reading code>`) can be used to lazily read in
46+
#' Alternatively, a table-prep formula (`~ <tbl reading code>`) or a
47+
#' function (`function() <tbl reading code>`) can be used to lazily read in
4848
#' the table at interrogation time.
4949
#'
5050
#' @return For the validation function, the return value is either a

R/utils.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ materialize_table <- function(tbl, check = TRUE) {
199199
stop(
200200
"The `tbl` object must either be a table, a function, or a formula.\n",
201201
"* A table-prep formula can be used (with the expression on the RHS).\n",
202-
"* A function can be made with `function()` {<table reading code>}.",
202+
"* A function can be made with `function()` {<tbl reading code>}.",
203203
call. = FALSE
204204
)
205205
}

man/col_count_match.Rd

+5-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/col_exists.Rd

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/col_is_character.Rd

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/col_is_date.Rd

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/col_is_factor.Rd

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/col_is_integer.Rd

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/col_is_logical.Rd

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/col_is_numeric.Rd

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)