Skip to content

Commit 7cff370

Browse files
Merge pull request #90 from StevenMMortimer/dev
Fix issues in CRAN submission
2 parents ffb2ef4 + 7f90ae5 commit 7cff370

11 files changed

+110
-110
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Description: Functions connecting to the 'Salesforce' Platform APIs (REST, SOAP,
1212
<https://stevenmmortimer.github.io/salesforcer/> for more information,
1313
documentation, and examples.
1414
Authors@R: c(
15-
person(c("Steven", "M."), "Mortimer", , "smmortimer1@gmail.com", c("aut", "cre")),
15+
person(c("Steven", "M."), "Mortimer", , "mortimer.steven.m@gmail.com", c("aut", "cre")),
1616
person("Takekatsu", "Hiramura", , "[email protected]", c("ctb")),
1717
person("Jennifer", "Bryan", , "[email protected]", c("ctb", "cph")),
1818
person("Joanna", "Zhao", , "[email protected]", c("ctb", "cph"))

R/salesforcer-package.R

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
#' principles and the tidyverse.
88
#'
99
#' Additional material can be found in the
10-
#' \href{https://github.com/reportmort/salesforcer}{README} on GitHub
10+
#' \href{https://github.com/stevenmmortimer/salesforcer}{README} on GitHub and
11+
#' the package website \url{https://stevenmmortimer.github.io/salesforcer/}.
1112
#'
1213
#' @keywords internal
1314
#' @importFrom dplyr %>%

R/utils.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ salesforcer_state <- function(){
1717
#' \dontrun{
1818
#' get_os()
1919
#' }
20-
#' @seealso \url{http://conjugateprior.org/2015/06/identifying-the-os-from-r}
20+
#' @seealso \url{https://conjugateprior.org/2015/06/identifying-the-os-from-r}
2121
#' @note This function is meant to be used internally. Only use when debugging.
2222
#' @keywords internal
2323
#' @export

README.Rmd

+21-23
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ options(tibble.print_min = 5L, tibble.print_max = 5L)
1616
# salesforcer<img src="man/figures/salesforcer.png" width="120px" align="right" />
1717

1818
<!-- badges: start -->
19-
[![R Build Status](https://github.com/StevenMMortimer/salesforcer/workflows/R-CMD-check/badge.svg)](https://github.com/StevenMMortimer/salesforcer/actions?workflow=R-CMD-check)
19+
[![R Build Status](https://github.com/stevenmmortimer/salesforcer/workflows/R-CMD-check/badge.svg)](https://github.com/stevenmmortimer/salesforcer/actions?workflow=R-CMD-check)
2020
[![CRAN Status](https://www.r-pkg.org/badges/version/salesforcer)](https://cran.r-project.org/package=salesforcer)
2121
[![Lifecycle: Maturing](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing)
2222
[![Monthly Downloads](https://cranlogs.r-pkg.org/badges/last-month/salesforcer)](https://cran.r-project.org/package=salesforcer)
23-
[![Coverage Status](https://codecov.io/gh/StevenMMortimer/salesforcer/branch/main/graph/badge.svg)](https://codecov.io/gh/StevenMMortimer/salesforcer?branch=main)
23+
[![Coverage Status](https://codecov.io/gh/stevenmmortimer/salesforcer/branch/main/graph/badge.svg)](https://codecov.io/gh/stevenmmortimer/salesforcer?branch=main)
2424
<!-- badges: end -->
2525

2626
{salesforcer} is an R package that connects to Salesforce Platform APIs using
27-
tidy principles. The package implements actions from the SOAP, REST, Bulk 1.0,
28-
Bulk 2.0, and Metadata APIs.
27+
tidy principles. The package implements actions from the REST, SOAP, Bulk 1.0,
28+
Bulk 2.0, Reports and Dashboards, and Metadata APIs.
2929

3030
Package features include:
3131

@@ -69,7 +69,7 @@ Package features include:
6969
## Installation
7070

7171
```{r, eval = FALSE}
72-
# install the current CRAN version (0.2.0)
72+
# install the current CRAN version (0.2.2)
7373
install.packages("salesforcer")
7474
7575
# or get the development version on GitHub
@@ -78,22 +78,21 @@ remotes::install_github("StevenMMortimer/salesforcer")
7878
```
7979

8080
If you encounter an issue while using this package, please file a minimal reproducible
81-
example on [GitHub](https://github.com/StevenMMortimer/salesforcer/issues).
81+
example on [GitHub](https://github.com/stevenmmortimer/salesforcer/issues).
8282

8383
## Vignettes
8484

8585
The README below outlines the basic package functionality. For more information
86-
please feel free to browse the `pkgdown` site at https://StevenMMortimer.github.io/salesforcer
87-
which contains the following vignettes:
88-
89-
* [Getting Started](https://StevenMMortimer.github.io/salesforcer/articles/getting-started.html)
90-
* [Supported Queries](https://StevenMMortimer.github.io/salesforcer/articles/supported-queries.html)
91-
* [Working with Bulk APIs](https://StevenMMortimer.github.io/salesforcer/articles/working-with-bulk-apis.html)
92-
* [Working with Reports](https://StevenMMortimer.github.io/salesforcer/articles/working-with-reports.html)
93-
* [Working with Attachments](https://StevenMMortimer.github.io/salesforcer/articles/working-with-attachments.html)
94-
* [Working with Metadata](https://StevenMMortimer.github.io/salesforcer/articles/working-with-metadata.html)
95-
* [Passing Control Args](https://StevenMMortimer.github.io/salesforcer/articles/passing-control-args.html)
96-
* [Transitioning from RForcecom](https://StevenMMortimer.github.io/salesforcer/articles/transitioning-from-RForcecom.html)
86+
please feel free to browse the {salesforcer} website at https://stevenmmortimer.github.io/salesforcer/ which contains the following vignettes:
87+
88+
* [Getting Started](https://stevenmmortimer.github.io/salesforcer/articles/getting-started.html)
89+
* [Supported Queries](https://stevenmmortimer.github.io/salesforcer/articles/supported-queries.html)
90+
* [Working with Bulk APIs](https://stevenmmortimer.github.io/salesforcer/articles/working-with-bulk-apis.html)
91+
* [Working with Reports](https://stevenmmortimer.github.io/salesforcer/articles/working-with-reports.html)
92+
* [Working with Attachments](https://stevenmmortimer.github.io/salesforcer/articles/working-with-attachments.html)
93+
* [Working with Metadata](https://stevenmmortimer.github.io/salesforcer/articles/working-with-metadata.html)
94+
* [Passing Control Args](https://stevenmmortimer.github.io/salesforcer/articles/passing-control-args.html)
95+
* [Transitioning from RForcecom](https://stevenmmortimer.github.io/salesforcer/articles/transitioning-from-RForcecom.html)
9796

9897
## Usage
9998

@@ -186,8 +185,8 @@ queried_records
186185
**NOTE**: In the example above, you'll notice that the `"Account.Name"` column
187186
does not appear in the results. This is because the SOAP and REST APIs only
188187
return an empty Account object for the record if there is no relationship to an
189-
account ( see <a rel="noopener noreferrer" target="_blank"
190-
href="https://github.com/StevenMMortimer/salesforcer/issues/78">#78</a>). There
188+
account (see <a rel="noopener noreferrer" target="_blank"
189+
href="https://github.com/stevenmmortimer/salesforcer/issues/78">#78</a>). There
191190
is no reliable way to extract and rebuild the empty columns based on the query
192191
string. If there were Account information, an additional column titled
193192
`"Account.Name"` would appear in the results. Note, that the Bulk 1.0 and Bulk
@@ -330,14 +329,13 @@ most all operations supported by the Salesforce APIs are available via this pack
330329
This package makes requests best formatted to match what the APIs require as input.
331330
This articulation is not perfect and continued progress will be made to add and improve
332331
functionality. For details on formatting, attributes, and methods please refer to
333-
[Salesforce's documentation](https://trailhead.salesforce.com/en/content/learn/modules/api_basics/api_basics_overview)
334-
as they are explained better there. More information is also available on the `pkgdown` site at
335-
https://StevenMMortimer.github.io/salesforcer.
332+
[Salesforce's documentation](https://trailhead.salesforce.com/en/content/learn/modules/api_basics/api_basics_overview) as they are explained better there. More information
333+
is also available on the {salesforcer} pkgdown website at https://stevenmmortimer.github.io/salesforcer/.
336334

337335
[Get supported salesforcer with the Tidelift Subscription](https://tidelift.com/subscription/pkg/cran-salesforcer?utm_source=cran-salesforcer&utm_medium=referral&utm_campaign=readme)
338336

339337
---
340-
Please note that this project is released with a [Contributor Code of Conduct](https://github.com/StevenMMortimer/salesforcer/blob/main/.github/CODE_OF_CONDUCT.md).
338+
Please note that this project is released with a [Contributor Code of Conduct](https://github.com/stevenmmortimer/salesforcer/blob/main/.github/CODE_OF_CONDUCT.md).
341339
By participating in this project you agree to abide by its terms.
342340

343341
[Top](#salesforcer)

README.md

+33-33
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44
<!-- badges: start -->
55

66
[![R Build
7-
Status](https://github.com/StevenMMortimer/salesforcer/workflows/R-CMD-check/badge.svg)](https://github.com/StevenMMortimer/salesforcer/actions?workflow=R-CMD-check)
7+
Status](https://github.com/stevenmmortimer/salesforcer/workflows/R-CMD-check/badge.svg)](https://github.com/stevenmmortimer/salesforcer/actions?workflow=R-CMD-check)
88
[![CRAN
99
Status](https://www.r-pkg.org/badges/version/salesforcer)](https://cran.r-project.org/package=salesforcer)
1010
[![Lifecycle:
1111
Maturing](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing)
1212
[![Monthly
1313
Downloads](https://cranlogs.r-pkg.org/badges/last-month/salesforcer)](https://cran.r-project.org/package=salesforcer)
1414
[![Coverage
15-
Status](https://codecov.io/gh/StevenMMortimer/salesforcer/branch/main/graph/badge.svg)](https://codecov.io/gh/StevenMMortimer/salesforcer?branch=main)
15+
Status](https://codecov.io/gh/stevenmmortimer/salesforcer/branch/main/graph/badge.svg)](https://codecov.io/gh/stevenmmortimer/salesforcer?branch=main)
1616
<!-- badges: end -->
1717

1818
{salesforcer} is an R package that connects to Salesforce Platform APIs
19-
using tidy principles. The package implements actions from the SOAP,
20-
REST, Bulk 1.0, Bulk 2.0, and Metadata APIs.
19+
using tidy principles. The package implements actions from the REST,
20+
SOAP, Bulk 1.0, Bulk 2.0, Reports and Dashboards, and Metadata APIs.
2121

2222
Package features include:
2323

@@ -69,7 +69,7 @@ Package features include:
6969
## Installation
7070

7171
``` r
72-
# install the current CRAN version (0.2.0)
72+
# install the current CRAN version (0.2.2)
7373
install.packages("salesforcer")
7474

7575
# or get the development version on GitHub
@@ -79,31 +79,31 @@ remotes::install_github("StevenMMortimer/salesforcer")
7979

8080
If you encounter an issue while using this package, please file a
8181
minimal reproducible example on
82-
[GitHub](https://github.com/StevenMMortimer/salesforcer/issues).
82+
[GitHub](https://github.com/stevenmmortimer/salesforcer/issues).
8383

8484
## Vignettes
8585

8686
The README below outlines the basic package functionality. For more
87-
information please feel free to browse the `pkgdown` site at
88-
<https://StevenMMortimer.github.io/salesforcer> which contains the
87+
information please feel free to browse the {salesforcer} website at
88+
<https://stevenmmortimer.github.io/salesforcer/> which contains the
8989
following vignettes:
9090

9191
- [Getting
92-
Started](https://StevenMMortimer.github.io/salesforcer/articles/getting-started.html)
92+
Started](https://stevenmmortimer.github.io/salesforcer/articles/getting-started.html)
9393
- [Supported
94-
Queries](https://StevenMMortimer.github.io/salesforcer/articles/supported-queries.html)
94+
Queries](https://stevenmmortimer.github.io/salesforcer/articles/supported-queries.html)
9595
- [Working with Bulk
96-
APIs](https://StevenMMortimer.github.io/salesforcer/articles/working-with-bulk-apis.html)
96+
APIs](https://stevenmmortimer.github.io/salesforcer/articles/working-with-bulk-apis.html)
9797
- [Working with
98-
Reports](https://StevenMMortimer.github.io/salesforcer/articles/working-with-reports.html)
98+
Reports](https://stevenmmortimer.github.io/salesforcer/articles/working-with-reports.html)
9999
- [Working with
100-
Attachments](https://StevenMMortimer.github.io/salesforcer/articles/working-with-attachments.html)
100+
Attachments](https://stevenmmortimer.github.io/salesforcer/articles/working-with-attachments.html)
101101
- [Working with
102-
Metadata](https://StevenMMortimer.github.io/salesforcer/articles/working-with-metadata.html)
102+
Metadata](https://stevenmmortimer.github.io/salesforcer/articles/working-with-metadata.html)
103103
- [Passing Control
104-
Args](https://StevenMMortimer.github.io/salesforcer/articles/passing-control-args.html)
104+
Args](https://stevenmmortimer.github.io/salesforcer/articles/passing-control-args.html)
105105
- [Transitioning from
106-
RForcecom](https://StevenMMortimer.github.io/salesforcer/articles/transitioning-from-RForcecom.html)
106+
RForcecom](https://stevenmmortimer.github.io/salesforcer/articles/transitioning-from-RForcecom.html)
107107

108108
## Usage
109109

@@ -168,8 +168,8 @@ created_records
168168
#> # A tibble: 2 x 2
169169
#> id success
170170
#> <chr> <lgl>
171-
#> 1 0033s000014Ad6NAAS TRUE
172-
#> 2 0033s000014Ad6OAAS TRUE
171+
#> 1 0033s000014AgdIAAS TRUE
172+
#> 2 0033s000014AgdJAAS TRUE
173173
```
174174

175175
### Query
@@ -194,16 +194,16 @@ queried_records
194194
#> # A tibble: 2 x 3
195195
#> Id FirstName LastName
196196
#> <chr> <chr> <chr>
197-
#> 1 0033s000014Ad6NAAS Test Contact-Create-1
198-
#> 2 0033s000014Ad6OAAS Test Contact-Create-2
197+
#> 1 0033s000014AgdIAAS Test Contact-Create-1
198+
#> 2 0033s000014AgdJAAS Test Contact-Create-2
199199
```
200200

201201
**NOTE**: In the example above, you’ll notice that the `"Account.Name"`
202202
column does not appear in the results. This is because the SOAP and REST
203203
APIs only return an empty Account object for the record if there is no
204-
relationship to an account ( see
204+
relationship to an account (see
205205
<a rel="noopener noreferrer" target="_blank"
206-
href="https://github.com/StevenMMortimer/salesforcer/issues/78">\#78</a>).
206+
href="https://github.com/stevenmmortimer/salesforcer/issues/78">\#78</a>).
207207
There is no reliable way to extract and rebuild the empty columns based
208208
on the query string. If there were Account information, an additional
209209
column titled `"Account.Name"` would appear in the results. Note, that
@@ -232,8 +232,8 @@ updated_records
232232
#> # A tibble: 2 x 2
233233
#> id success
234234
#> <chr> <lgl>
235-
#> 1 0033s000014Ad6NAAS TRUE
236-
#> 2 0033s000014Ad6OAAS TRUE
235+
#> 1 0033s000014AgdIAAS TRUE
236+
#> 2 0033s000014AgdJAAS TRUE
237237
```
238238

239239
### Bulk Operations
@@ -270,8 +270,8 @@ created_records
270270
#> # A tibble: 2 x 4
271271
#> Id Success Created Error
272272
#> <chr> <lgl> <lgl> <lgl>
273-
#> 1 0033s000014Ad6WAAS TRUE TRUE NA
274-
#> 2 0033s000014Ad6XAAS TRUE TRUE NA
273+
#> 1 0033s000014AgfhAAC TRUE TRUE NA
274+
#> 2 0033s000014AgfiAAC TRUE TRUE NA
275275

276276
# query large recordsets using the Bulk API
277277
my_soql <- sprintf("SELECT Id,
@@ -286,17 +286,17 @@ queried_records
286286
#> # A tibble: 2 x 3
287287
#> Id FirstName LastName
288288
#> <chr> <chr> <chr>
289-
#> 1 0033s000014Ad6WAAS Test Contact-Create-1
290-
#> 2 0033s000014Ad6XAAS Test Contact-Create-2
289+
#> 1 0033s000014AgfhAAC Test Contact-Create-1
290+
#> 2 0033s000014AgfiAAC Test Contact-Create-2
291291

292292
# delete these records using the Bulk 2.0 API
293293
deleted_records <- sf_delete(queried_records$Id, "Contact", api_type = "Bulk 2.0")
294294
deleted_records
295295
#> # A tibble: 2 x 4
296296
#> Id sf__Id sf__Created sf__Error
297297
#> <chr> <chr> <lgl> <lgl>
298-
#> 1 0033s000014Ad6WAAS 0033s000014Ad6WAAS FALSE NA
299-
#> 2 0033s000014Ad6XAAS 0033s000014Ad6XAAS FALSE NA
298+
#> 1 0033s000014AgfhAAC 0033s000014AgfhAAC FALSE NA
299+
#> 2 0033s000014AgfiAAC 0033s000014AgfiAAC FALSE NA
300300
```
301301

302302
### Using the Metadata API
@@ -433,16 +433,16 @@ and improve functionality. For details on formatting, attributes, and
433433
methods please refer to [Salesforce’s
434434
documentation](https://trailhead.salesforce.com/en/content/learn/modules/api_basics/api_basics_overview)
435435
as they are explained better there. More information is also available
436-
on the `pkgdown` site at
437-
<https://StevenMMortimer.github.io/salesforcer>.
436+
on the {salesforcer} pkgdown website at
437+
<https://stevenmmortimer.github.io/salesforcer/>.
438438

439439
[Get supported salesforcer with the Tidelift
440440
Subscription](https://tidelift.com/subscription/pkg/cran-salesforcer?utm_source=cran-salesforcer&utm_medium=referral&utm_campaign=readme)
441441

442442
-----
443443

444444
Please note that this project is released with a [Contributor Code of
445-
Conduct](https://github.com/StevenMMortimer/salesforcer/blob/main/.github/CODE_OF_CONDUCT.md).
445+
Conduct](https://github.com/stevenmmortimer/salesforcer/blob/main/.github/CODE_OF_CONDUCT.md).
446446
By participating in this project you agree to abide by its terms.
447447

448448
[Top](#salesforcer)

cran-comments.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
## R CMD check results
1212

1313
checking CRAN incoming feasibility ... NOTE
14-
Maintainer: 'Steven M. Mortimer <smmortimer1@gmail.com>'
14+
Maintainer: 'Steven M. Mortimer <mortimer.steven.m@gmail.com>'
1515

1616
New maintainer:
17-
Steven M. Mortimer <smmortimer1@gmail.com>
17+
Steven M. Mortimer <mortimer.steven.m@gmail.com>
1818
Old maintainer(s):
1919
Steven M. Mortimer <[email protected]>
2020

0 commit comments

Comments
 (0)