RStudio Cloud project not importing GitHub repo

Hi there,

I'm teaching a data science course in which we use RStudio Cloud, linked to GitHub repositories, to create all assignments. For some reason, I've recently been encountering an error in which RStudio Cloud projects created from existing GitHub repositories do not seem to clone the repository upon initialization.

My workflow is to set up a template repository, from which students can clone their own personal private repos using GitHub classroom. These classroom-created repositories are the basis of their own assignments in RStudio Cloud. However, when "creating new project from Git repository," students only see a blank .Rproj file, and NOT the existing dataset/R markdown template I provide.

Is there any reason you can think of for why RStudio Cloud projects created from existing repos wouldn't be cloning them in? As well, students aren't getting the option to log in to GitHub when they create the project, which usually happens when they create a project from an existing repository.

Due to FERPA, I cannot add any users to the private GitHub organization.

Thanks,
Yue

Hi Yue,

I'm sorry to hear you are running into issues. Are you seeing this with all your students? Or are only some students unable to clone repositories? Also if you are willing to share the URL of a project where this happened that would help us investigate. If you don't want to post the URL publicly you can also DM it to me.

Best,
Ming

1 Like

Hi Ming,

Thanks for the quick reply. Only some students are experiencing this, which makes it even stranger.

An example project is available here (from my testing account): https://rstudio.cloud/spaces/68881/project/1464524

This project was created from the following repository on GitHub, which I have made publicly visible for the purposes of troubleshooting: https://github.com/sta198-su20/hw-07-yuetest

I really appreciate your assistance!

Yue

Hi Yue,

No problem :slight_smile: Thanks for sharing that project URL. Just to double check, is that project one that failed to clone from GitHub? I believe the issue your students ran into might be related to a recent change to the system. Could you please ask the students who could not clone their repo to refresh their browser and try again with a new project? It would also be very helpful for us to know what browser they are using.

Best,
Ming

Yes, this is the project that failed to clone from GitHub. I've actually tested a new project at https://rstudio.cloud/spaces/68881/project/1464663 from the same repo, but it also does seem to work. I am using Google Chrome.

Yue

Hi Yue,

I believe the issue is not with your repo. We recently released a change which unfortunately might be causing this bug. Could you try either hard refreshing your browser or using a different browser then creating a new project from github? Here is a link to how to hard refresh in case you aren't sure: https://www.namecheap.com/support/knowledgebase/article.aspx/10078/2194/how-to-do-a-hard-refresh-in-chrome-firefox-and-ie#chrome

Please let me know if that helps.

Thanks,
Ming

Unfortunately, neither approach works. The following project is after a hard refresh in Chrome: 1464840

and the following project is from Internet Explorer (first time opening that browser!...I got the spinning "Deploying" message forever, but was able to open the project in Chrome later): 1464843

EDIT: (I got a "cannot post to that host" when linking to the rstudio.cloud URL).

Thank you for your patience and for testing that out for us! We just deployed a change that should fix the issue while we investigate further. If you or any of your students continue having problems though please let us know.

Great, thanks so much. It does indeed seem to be working.

Much appreciated!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.