Skip to content

salesforcer

1.0.2

An Implementation of 'Salesforce' APIs Using Tidy Principles

1packages depend
58.8Kdownloads / year
74.7%test coverage
13/13flavors OK

Overview

About

Functions connecting to the 'Salesforce' Platform APIs (REST, SOAP, Bulk 1.0, Bulk 2.0, Metadata, Reports and Dashboards) https://trailhead.salesforce.com/content/learn/modules/api_basics/api_basics_overview. "API" is an acronym for "application programming interface". Most all calls from these APIs are supported as they use CSV, XML or JSON data that can be parsed into R data structures. For more details please see the 'Salesforce' API documentation and this package's website https://stevenmmortimer.github.io/salesforcer/ for more information, documentation, and examples.

Changes in 1.0.2

Dependencies

  • Increment the package's default Salesforce API version to 61.0 (Summer '24).
  • Remove deprecation warning for basic authentication (password and security token) because many users have found that it's still possible to use for programmatic (API-based) access even if their org requires users to log in via multi-factor authentication. (#128)

Features

  • Add two new datetime formats that will automatically be parsed if they appear in the query recordset "%m-%d-%Y %H:%M" and "%d-%m-%Y %H:%M". (#127)

Bug fixes

  • Fix bug that caused Bulk 1.0 queries using the PKChunking option to error out because the query info returned a vector of IDs instead of one which was expected by the sf_batch_status_bulk() function. (#124)
Show all changes in 1.0.2Hide the rest of the changes in 1.0.2
  • Explicitly specify the column name repair method for all as_tibble() and as_tibble_row() function calls because this could be causing issues when parsing and binding query recordsets. (#124)

---

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 6.1 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-10-17
  • WARNING12 OK, 1 WARNING2026-10-01
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-19
Show 5 earlier changesHide 5 earlier changes
  • WARNING12 OK, 1 WARNING2026-06-17
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • WARNING12 OK, 1 WARNING2026-06-07
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.2
READMEYes · 1,360 wordsVignettesYes · 8 · evaluation depends on the environmentNEWSYes · 100% structured · mentions 1.0.2Citation fileNoWebsiteYes · pkgdown
Help pages
284 (159 internal)includes a package overview page
Examples that run
0%82 never run
Exported functions with examples
32%
Documented parameters
93%
Return-value docs
97%
Help pages citing references
12%

Downloads

58.8K
CRAN downloads in the past year
Rank #2,396 · ~161/day · ~4.9K/mo
Daily download trend is not available in this view yet.
2.3K30 days
6.8K90 days
58.8K1 year
Compare downloads with other packages →
Also on103 r2u3 autocran

Repository

91Stars
20Forks
11Open issues
0Open PRs
11Releases
492Commits
5Commit identities
rsalesforcer-packager-programmingr-languageapi-wrapperssalesforce-apis
492 commits · Last activity 2024-11-06 · +1.1% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
90%
Median days to close, 50 most recently updated closed issues
73
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-08-08 · 852026-10-09 · 91
PracticesBeta

20 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/stevenmmortimer/salesforcer on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows

Governance and community (8)
Code of conductContributing guideIssue templatesFundingSecurity policyCODEOWNERSSupport guide

Funding links: GitHub Sponsors, Ko-fi, Tidelift

The repository owner accepts GitHub Sponsors

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2024-11-06 · The repository has a site deploy workflow

pkgdown site last built 2024-11-06

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 3 practices
CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
27 external dependencies (excludes base and recommended)

Installing salesforcer adds 46 packages (31 with compiled code, 35 MB of source tarballs). Heaviest: BH 14 MB, data.table 5.7 MB, Rcpp 1.8 MB.

Depends (1)
R >= 3.6.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

People & History

People (4)
Author, Maintainer since 0.1.2 (2018)
Contributor, Copyright holder
Contributor, Copyright holder
Listed in earlier versions (2)
Steven M.
no longer listed · 0.1.2 to 0.2.2
Mortimer
no longer listed · 1.0.0 to 1.0.2
Releases (8)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.2Latest
    record
    2024-11-06 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.1
    record
    2022-03-01 · diff ↗ ·
    removed 12 exports
    sf_dashboard_components_describe, sf_dashboard_copy, sf_dashboard_delete, sf_dashboard_describe, sf_dashboard_filter_operators_list, sf_dashboard_filter_options_analysis, sf_dashboard_refresh, sf_dashboard_results, sf_dashboard_set_sticky_filter, sf_dashboard_status, sf_dashboard_update, sf_dashboards_list
    added 12 exports
    sf_copy_dashboard, sf_delete_dashboard, sf_describe_dashboard, sf_describe_dashboard_components, sf_filter_dashboard_operators_list, sf_filter_dashboard_options_analysis, sf_get_dashboard_results, sf_get_dashboard_status, sf_list_dashboards, sf_refresh_dashboard, sf_set_dashboard_sticky_filter, sf_update_dashboard
  • unarchivedReturned to CRAN
    2021-07-06
  • 1.0.0
    record
    2021-07-06 · diff ↗ ·
    added 5 exports
    check_and_encode_files, is_legit_token, sf_create_job_bulk_v1, sf_create_job_bulk_v2, sf_format_time
  • archivedRemoved from CRAN
    2021-06-23
    check problems were not corrected in time
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.2
    record
    2020-09-09 · diff ↗ ·
    added 8 exports
    make_rest_record_url, parse_error_code_and_message, patched_tempdir, safe_bind_rows, sf_delete_attachment, sf_update_attachment, unbox_list_elements, unbox_list_elements_recursively
  • 0.2.0
    record
    2020-07-21 · diff ↗ ·
    added 116 exports
    bind_query_resultsets, catch_unknown_api, combine_parent_and_child_resultsets, compact2, drop_attributes, drop_attributes_recursively, drop_empty_recursively, drop_nested_child_records, extract_nested_child_records, extract_records_from_xml_node, extract_records_from_xml_nodeset, extract_records_from_xml_nodeset_of_records, flatten_tbl_df, format_report_row, list_extract_parent_and_child_result, make_analytics_folder_child_operations_url, make_analytics_folder_collections_url, make_analytics_folder_operations_url, make_analytics_folder_share_by_id_url, make_analytics_folder_share_recipients_url, make_analytics_folder_shares_url, make_analytics_notification_operations_url, make_analytics_notifications_limits_url, make_analytics_notifications_list_url, make_dashboard_copy_url, make_dashboard_describe_url, make_dashboard_filter_operators_list_url, make_dashboard_filter_options_analysis_url, make_dashboard_status_url, make_dashboard_url and 86 more
  • 0.1.4
    record
    2020-06-13 · diff ↗ ·
    removed 1 export
    make_describe_objects_url
    added 12 exports
    build_manifest_xml_from_list, build_metadata_xml_from_list, build_proxy, guess_object_name_from_soql, make_bulk_get_all_query_jobs_url, make_rest_objects_url, sf_convert_lead, sf_create_attachment, sf_format_date, sf_format_datetime, sf_get_all_query_jobs_bulk, validate_get_all_jobs_params
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.3
    record
    2019-06-10 · diff ↗ ·
    added 24 exports
    accepted_controls_by_api, accepted_controls_by_operation, collapse_list_with_dupe_names, filter_valid_controls, format_headers_for_verbose, make_bulk_get_all_jobs_url, make_verbose_httr_message, merge_null_to_na, remove_empty_linked_object_cols, return_matching_controls, rforcecom.getObjectDescription, sf_control, sf_describe_object_fields, sf_download_attachment, sf_empty_recycle_bin, sf_find_duplicates, sf_find_duplicates_by_id, sf_get_all_jobs_bulk, sf_get_deleted, sf_get_updated, sf_merge, sf_reset_password, sf_set_password, sf_undelete
Show 4 earlier eventsHide 4 earlier events
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.2
    record
    2018-04-13
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2018-04-13
Total releases
8 / 8 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.6.0
Download size
1.6 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("salesforcer")
Mortimer, S. M., Bryan, J., Hiramura, T., & Zhao, J. (2024). salesforcer: An Implementation of 'Salesforce' APIs Using Tidy Principles (Version 1.0.2) [Computer software]. https://doi.org/10.32614/CRAN.package.salesforcer

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for salesforcer version 1.0.2 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy