NSAWTraining / RpkgsCodespace

Repo setup for using Codespaces while developing R packages
0 stars 0 forks source link

test out the codespace #1

Open k-doering-NOAA opened 1 year ago

k-doering-NOAA commented 1 year ago

@Bai-Li-NOAA and @e-gugliotti-noaa, this should be set up with the configuration needed to develop an R package.

Let me know if you test out and if it works or needs something. This is copied over from https://github.com/nmfs-opensci/r-vscode-codespaces/pull/10 (which is the more permanent repository of codespaces for R users), but I thought making a separate repo best so that there is only one dev container rather than several options. I'll update the file in both places if needed!

e-perl-NOAA commented 1 year ago

With the codespaces, it might be worth adding the name of the path in either the codespaces github readme or the tutorial .qmd for people who might not know where to look for it when using usethis::create_package() which is path = "/workspaces/RpkgsCodespace/".

Elizabeth F. Gugliotti (she/her)

Scientific Software Specialist for Stock Synthesis

ECS Federal contracted to

NOAA/NMFS/National Stock Assessment Program

On Mon, May 1, 2023 at 2:09 PM Kathryn Doering @.***> wrote:

@Bai-Li-NOAA https://github.com/Bai-Li-NOAA and @e-gugliotti-NOAA https://github.com/e-gugliotti-NOAA, this should be set up with the configuration needed to develop an R package.

Let me know if you test out and if it works or needs something. This is copied over from nmfs-opensci/r-vscode-codespaces#10 https://github.com/nmfs-opensci/r-vscode-codespaces/pull/10, but I thought making a separate repo best so that there is only one dev container rather than several options. I'll update the file in both places if needed!

— Reply to this email directly, view it on GitHub https://github.com/NSAWTraining/RpkgsCodespace/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4GU6UL33YP3G3HHPWF3VYTXD737DANCNFSM6AAAAAAXSAVJXU . You are receiving this because you were mentioned.Message ID: @.***>

k-doering-NOAA commented 1 year ago

Great point! I used usethis::create_package("."), but you are right that it is not obvious!

e-perl-NOAA commented 1 year ago

Also, I just thought of another idea which time may or may not allow for - since it's a smaller group it might be worth going around and getting people to introduce themselves and what they are hoping to get out of the training so that if there is something in the "extras" section that comes up a lot, you could make sure to touch on that.

Elizabeth F. Gugliotti (she/her)

Scientific Software Specialist for Stock Synthesis

ECS Federal contracted to

NOAA/NMFS/National Stock Assessment Program

Mobile: 843-469-1074

On Mon, May 1, 2023 at 5:52 PM Kathryn Doering @.***> wrote:

Great point! I used usethis::create_package("."), but you are right that it is not obvious!

— Reply to this email directly, view it on GitHub https://github.com/NSAWTraining/RpkgsCodespace/issues/1#issuecomment-1530365374, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4GU6UN5CUECBDXCKKFAJGTXEAWDFANCNFSM6AAAAAAXSAVJXU . You are receiving this because you were mentioned.Message ID: @.***>

k-doering-NOAA commented 1 year ago

Totally agree with introductions! I think they are always well worth the time :)

Bai-Li-NOAA commented 1 year ago

Thanks @k-doering-NOAA for setting this up. Should I follow the readme file from this repo to test it? I am not sure where I should test it (e.g., using the RpkgsCodespace repo or Rpkgs repo) 😄

Let me know if you have any suggestions.

k-doering-NOAA commented 1 year ago

@Bai-Li-NOAA sounds like this needs some better instructions! Does following the instructions on the RpkgsCodespace repo clarify?

Do the buttons show up if you make your browser window wider?

Bai-Li-NOAA commented 1 year ago

Thanks @k-doering-NOAA! All the buttons show up after using the zoom out option from Chrome. I am able to follow the instructions and set up the codespace.

k-doering-NOAA commented 1 year ago

Ok, I'll add a note in the instructions about the buttons, because others have been thrown off by it, too. Something funny with the GitHub UI, I guess.