{"id":14068307,"url":"https://github.com/noamross/pbjob","last_synced_at":"2025-09-03T17:36:35.736Z","repository":{"id":139788439,"uuid":"194293168","full_name":"noamross/pbjob","owner":"noamross","description":"Run R Scripts and Jobs with Pushbullet Alerts","archived":false,"fork":false,"pushed_at":"2019-06-28T18:42:33.000Z","size":14,"stargazers_count":10,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T23:46:00.539Z","etag":null,"topics":["pushbullet","pushbullet-api","r"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noamross.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-28T15:09:15.000Z","updated_at":"2020-10-10T11:47:51.000Z","dependencies_parsed_at":"2023-05-03T19:28:56.970Z","dependency_job_id":null,"html_url":"https://github.com/noamross/pbjob","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"dc39321eef596ded6920427850e4f066e0dc699c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noamross%2Fpbjob","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noamross%2Fpbjob/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noamross%2Fpbjob/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noamross%2Fpbjob/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noamross","download_url":"https://codeload.github.com/noamross/pbjob/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244059385,"owners_count":20391313,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pushbullet","pushbullet-api","r"],"created_at":"2024-08-13T07:06:05.318Z","updated_at":"2025-03-20T06:32:36.945Z","avatar_url":"https://github.com/noamross.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"# pbjob\n\n \u003c!-- badges: start --\u003e\n [![License:\nMIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)\n  [![Travis build status](https://travis-ci.org/noamross/pbjob.svg?branch=master)](https://travis-ci.org/noamross/pbjob)\n  \u003c!-- badges: end --\u003e\n\nRun R scripts with Pushbullet Alerts\n\n## Installation\n\n``` r\nremotes::install_github(\"noamross/pbjob\")\n```\n\n## Setup\n\nTo use this package you need to use [Pushbullet](https://www.pushbullet.com/) on\nyour mobile device or browser and to set up the\n[**RPushbullet**](https://github.com/eddelbuettel/rpushbullet) package. Details\nin that package README, but in short, do this just once:\n\n- Sign up for Pushbullet and install it on your devices/browsers if you haven't\n  already.\n- Log in to \u003chttps://www.pushbullet.com/#settings\u003e, click on \"Create Access\n  Token\", and get the token.\n- Run `RPushbullet::pbSetup(\u003cYOUR_ACCESS_TOKEN\u003e)` to create a config file and\n  select your default devices to send messages to.\n- Restart R\n\n##  Functions\n\nThe package has six functions, each of which has an accompanying RStudio Add-In\n\n- `source_and_pb(script_path)` runs a script and sends a Pushbullet alert when\n  it is complete.  An alert is also sent if the script errors. If `script_path`\n  is `NULL`, the RStudio interface is used to select a file.\n- `bg_and_pb()` runs the script in a background session with the same alerts.\n  It returns an [`r_process`](https://callr.r-lib.org/reference/r_bg.html) object.\n- `job_and_pb()` runs the script as an RStudio Job with the same alerts. Note\n   that the progress bar will not display anything.\n- `source_current_and_pb()`, `bg_current_and_pb()` and `job_current_and_pb()` do\n   the same but run the current active file in the RStudio editor. They're\n   especially handy if you [assign the Add-Ins keyboard shortcuts](https://support.rstudio.com/hc/en-us/articles/206382178-Customizing-Keyboard-Shortcuts).\n   \nNote that background sessions are child processes of the R session in which they\nare launched, and will be killed is if you quit or restart R.\n\n---\n\nPlease note that the 'pbjob' project is released with a \n[Contributor Code of Conduct](CODE_OF_CONDUCT.md). By contributing to this\nproject, you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoamross%2Fpbjob","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoamross%2Fpbjob","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoamross%2Fpbjob/lists"}