{"id":18378960,"url":"https://github.com/nmfs-opensci/r-vscode-codespaces","last_synced_at":"2025-04-11T08:37:47.476Z","repository":{"id":70494303,"uuid":"569772859","full_name":"nmfs-opensci/r-vscode-codespaces","owner":"nmfs-opensci","description":"Setups for R in Codespaces","archived":false,"fork":false,"pushed_at":"2024-07-22T15:24:12.000Z","size":463,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-15T22:43:56.184Z","etag":null,"topics":["codespaces"],"latest_commit_sha":null,"homepage":"","language":null,"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/nmfs-opensci.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,"publiccode":null,"codemeta":null}},"created_at":"2022-11-23T15:25:13.000Z","updated_at":"2024-07-22T15:24:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"f86ce858-629e-4408-bc5b-ba7037fd7dd4","html_url":"https://github.com/nmfs-opensci/r-vscode-codespaces","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmfs-opensci%2Fr-vscode-codespaces","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmfs-opensci%2Fr-vscode-codespaces/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmfs-opensci%2Fr-vscode-codespaces/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmfs-opensci%2Fr-vscode-codespaces/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nmfs-opensci","download_url":"https://codeload.github.com/nmfs-opensci/r-vscode-codespaces/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248362052,"owners_count":21091037,"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":["codespaces"],"created_at":"2024-11-06T00:36:26.123Z","updated_at":"2025-04-11T08:37:47.447Z","avatar_url":"https://github.com/nmfs-opensci.png","language":null,"readme":"# r-vscode-codespaces\n\nTry running R code in a codespace where VScode is configured for use with R.\n\n## Warning: this repo is no longer actively maintained!\n\nThese are example files for codespaces, but using R in Codespaces is always evolving, so files require active use ane maintenance.\n\nReach out to [@eeholmes](https://github.com/eeholmes) if you have questions.\n\n## Maintained Codespace Templates and Container Images\n\n- [The rocker project](https://rocker-project.org/images/devcontainer/templates.html#overview) provides templates and building blocks for R devcontainers.\n- Michael Akridge's [Open Science Codespaces project](https://github.com/MichaelAkridge-NOAA/Open-Science-Codespaces) provides setups for R and R studio, Python, and more.\n- [NMFS Open Science Container Images](https://github.com/nmfs-opensci/container-images). There are [instructions for using these with codespaces](https://github.com/nmfs-opensci/container-images?tab=readme-ov-file#with-codespaces).\n\n## Maintained Codespace Files\n\nThese can be used to inspire your own Codespace files.\n\n- [The FIMS codespace](https://github.com/NOAA-FIMS/FIMS/blob/main/.devcontainer/devcontainer.json). This is a codespace for R package development, including dependencies for building C++ code.\n- [The FIMS case studies codespace](https://github.com/NOAA-FIMS/case-studies/blob/main/.devcontainer/devcontainer.json). This is a codespaces for using R packages and building a Quarto website.\n- [The ghactions4r codespace](https://github.com/nmfs-fish-tools/ghactions4r/blob/main/.devcontainer/devcontainer.json). This is a codespace for R package development, with few package dependencies and no special tooling.\n\n## How to use this repository with Codespaces\n\nTwo ways:\n\n1. Click \"Use this template\" and \"Open in a codespace\" to directly use the repository in a codespace. This options works\nif you don't plan on saving any files.\n2. Click \"Use this template\" and \"Create a new repository\" to make your own repository based on r-vscode-codespaces. Then, \n[open a codespace for the new repostory](https://docs.github.com/en/codespaces/developing-in-codespaces/creating-a-codespace-for-a-repository#creating-a-codespace-for-a-repository).\n\nThere are several codespace options here:\n- r-quarto (default): Use a codespace with basic R and quarto set up.\n- r-base: Use a codespace with basic R set up.\n\nSee [creating a codespace in a repository](https://docs.github.com/en/codespaces/developing-in-codespaces/creating-a-codespace-for-a-repository#creating-a-codespace-for-a-repository) for instructions on how to select which codespace you would like to use. In short, the \"New with Options\" button should be selected to specify which codespace configuration to use.\n## I already have an R project that I want to use with codespaces!!! What should I do?\n\nCopy over the devcontainer.json of choice into a folder named `.devcontainer` within your R project's repository.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmfs-opensci%2Fr-vscode-codespaces","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnmfs-opensci%2Fr-vscode-codespaces","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmfs-opensci%2Fr-vscode-codespaces/lists"}