Open JongyoonBaik opened 7 years ago
I'm not quite sure what's wrong. I just cloned your repo and after installing all the necessary packages I was able to run rmarkdown::render_site()
fine. I didn't push the commit in case it interfered with any changes you've made locally. Do you get any error messages when you try to commit the files?
And more specifically, does the error occur when you try to render_site()
, when you try to commit those files, or when you try to push that commit to GitHub?
When I try to commit. I don't get any error message but when I try to click the little boxes next to sit_libs/, and htmls (in the upper right 'Git' window) in order to commit, then the Rstudio stops. Actually, I cannot even (Rstudio does not allow me to) check the box next to sit_libs.
It might be because those files are too large to preview in RStudio. You can stage and commit those files from the terminal. Navigate to your repo using cd
then run the commands
git stage -A
git commit -m "Rendered the full site"
git push
This will stage all the files, commit them to the local repo, then push them up to Github. If you have a Git client installed on your computer that uses a GUI interface, you can also use that instead of the terminal.
It worked! Thank you!
On Wed, Dec 7, 2016 at 8:05 PM, Benjamin Soltoff notifications@github.com wrote:
It might be because those files are too large to preview in RStudio. You can stage and commit those files from the terminal. Navigate to your repo using cd then run the commands
git stage -A git commit -m "Rendered the full site" git push
This will stage all the files, commit them to the local repo, then push them up to Github. If you have a Git client installed on your computer that uses a GUI interface, you can also use that instead of the terminal.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/uc-cfss/fp-JongyoonBaik/issues/1#issuecomment-265632496, or mute the thread https://github.com/notifications/unsubscribe-auth/AVa30K7WIRw_VHJSHcnClXHJFS-NJehyks5rF2XlgaJpZM4LHO7A .
-- Jongyoon Baik University of Chicago Department of Political Science, Ph.D. student baikjongyoon@uchicago.edu | 312-912-3382
Until when there were only two .Rmd files, rmarkdown::render_site() worked well. But then after two more .Rmds, were added, I was unable to commit the html files nor the site_libs, and R studio stoped running! I had no choice but to shut down the computer, in order to re-start R studio. Already re-started R studio for three times but nothing solved!