{"id":34701375,"url":"https://github.com/oganm/ogbox","last_synced_at":"2026-05-26T03:34:55.324Z","repository":{"id":33856652,"uuid":"37562559","full_name":"oganm/ogbox","owner":"oganm","description":"A multi-purpose R package","archived":false,"fork":false,"pushed_at":"2024-02-14T00:39:27.000Z","size":226,"stargazers_count":2,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-02-15T00:23:44.747Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oganm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2015-06-17T00:05:31.000Z","updated_at":"2023-09-06T00:03:16.000Z","dependencies_parsed_at":"2024-02-14T00:23:36.929Z","dependency_job_id":"ff20103c-7c78-44a2-87aa-327d5e4e1b1c","html_url":"https://github.com/oganm/ogbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oganm/ogbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oganm%2Fogbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oganm%2Fogbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oganm%2Fogbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oganm%2Fogbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oganm","download_url":"https://codeload.github.com/oganm/ogbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oganm%2Fogbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33503230,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T03:12:49.672Z","status":"ssl_error","status_checked_at":"2026-05-26T03:12:47.976Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-12-24T22:52:31.420Z","updated_at":"2026-05-26T03:34:55.318Z","avatar_url":"https://github.com/oganm.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# ogbox\n\n[![Build\nStatus](https://travis-ci.org/oganm/ogbox.svg?branch=master)](https://travis-ci.org/oganm/ogbox)[![codecov.io](https://codecov.io/github/oganm/ogbox/coverage.svg?branch=master)](https://codecov.io/github/oganm/ogbox?branch=master)\n\nA multi-purpose R package primarily for personal use\n\n## Installation\n\n    devtools::install_github('oganm/ogbox')\n\n## What’s in the box?\n\nThere are many poorly documented functions here. Below are some examples\nseparated by category.\n\n### Developer tools\n\n`getVersion`, `setVersion` and `setDate` functions allow manipulation of\nDESCRIPTION files. I use them for auto updating packages.\n\n`forkCRAN` allows you to create a github repository for a current or\nolder version of a cran package which can be followed up by\n`install_github` or `Remotes` in your DESCRIPTION file if you really\nneed an older version of a package or want to make some changes yourself\n\n### List unpacking\n\nTaken from\n[this](http://stackoverflow.com/questions/1826519/function-returning-more-than-one-value)\ngithub answer ages ago, this syntax\n\n``` r\nlist[a,b] = list(c(1,2,3),c(4,5,6))\na\n```\n\n    ## [1] 1 2 3\n\n``` r\nb\n```\n\n    ## [1] 4 5 6\n\nallows unpacking of lists. These days `zeallot` package does that with\n%\\\u003c-% operator.\n\n### Remote code sourcing and data loading\n\n  - `sourceGithub` runs R scripts or specific lines of R scripts from\n    github.\n  - `loadURL` and `loadGithub` loads remote rda files\n  - `readRDSGithub` reads an RDS file from github\n  - `getGithubFile`, also used by the functions above gets files from\n    github.\n\n### Gene Expression Omnibus tools\n\nDidn’t want to deal with S4 classes from bioconductor packages so there\nare a bunch of functions that deal with GEO datasets.\n\n  - `gsmFind` picks samples that match a regex from a dataset\n  - `whichGSE` finds the datasets that a sample belongs to\n  - `gsmDown` downloads cel files for microarray samples\n  - `gseDown` downloads all cel files for a microarray dataset\n  - `softDown` downloads softfile for an experiment\n  - `softParser` parses said soft file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foganm%2Fogbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foganm%2Fogbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foganm%2Fogbox/lists"}