Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 15:23
    road2stat closed #346
  • Jan 30 00:56
    road2stat closed #344
  • Jan 30 00:56
    road2stat commented #344
  • Jan 30 00:55
    road2stat edited #344
  • Jan 30 00:55
    road2stat commented #346
  • Jan 29 08:46
    CarlvinJerry commented #344
  • Jan 29 07:43
    nataliegnelson opened #346
  • Jan 29 04:56
    road2stat commented #345
  • Jan 29 04:24
    SportStatisticsRSweet closed #345
  • Jan 29 04:24
    SportStatisticsRSweet commented #345
  • Jan 29 04:18
    road2stat commented #345
  • Jan 29 04:10
    road2stat commented #344
  • Jan 29 04:08
    SportStatisticsRSweet opened #345
  • Jan 28 19:50
    CarlvinJerry commented #344
  • Jan 28 19:31
    CarlvinJerry opened #344
  • Jan 28 17:54
    road2stat closed #343
  • Jan 28 17:54
    road2stat commented #343
  • Jan 28 16:59
    CarlvinJerry opened #343
  • Jan 28 16:37
    CarlvinJerry commented #342
  • Jan 28 16:11
    road2stat closed #342
Nicholas Tierney
@njtierney
OK, so I'm actually not sure what that entails
image.png
Would it mean that I change a CNAME to have on the left, njt.netlify.com and njtierney.com on the right?
Yihui Xie
@yihui
No, your current settings seem to be correct. I misunderstood your question. I thought you wanted to redirect *.netlify.com to njtierney.com.
For example, people can access your website through http://njt-test.netlify.com but you probably do not want them to use this subdomain.
BTW, you should enable HTTPS on Netlify.
Lukas Burk
@jemus42
I transferred my blog repo to rbind at https://github.com/rbind/blog.jemu.name and now I don't have a settings button anymore, is that… intended?
Eric Nantz
@rpodcast
@jemus42 I made you the admin of your repository so that should enable you to view the settings
Lukas Burk
@jemus42
Wonderful, thanks :)
Bruno Rodrigues
@b-rodrigues
hello everyone
I've deployed my blog with netlify; I must say I'm impressed
it's really easy
however I'm not sure I've done the right steps to use my own domain
I own www.brodrigues.co, registrar gandi.net
I enabled the custom domain on netlify
and then pointed the domain to the nameservers that I was given
is that enough?
Bruno Rodrigues
@b-rodrigues
yep, seems like it's enough
just had to wait
Yihui Xie
@yihui
That is right. You always have to wait when making DNS or nameserver changes.
WDH
@wdhjyr
@yihui
hello树先生
WDH
@wdhjyr
hello.very sorry.there is something wrong just now.please do not mind.I am a Chinese student.I want to know how to build a website I can use it in Chinese.Thank you.
WDH
@wdhjyr
@
Ella Kaye
@EllaKaye
Hello. I'm not sure if this question is best here or as an issue (I opened it as #195). Yesterday I made a changes to my website (https://ellakaye.rbind.io) and appear to have successfully pushed it to GitHub, but the change hasn't deployed to the website. It shows up fine when I serve the site in Rstudio, just not online. I've cleared my caches and tried in a couple of different browsers. I haven't had issues with this before, and I'm not aware of having changed anything in the setup. Does anyone have any ideas what might be going on and how to fix it? Thanks!
Corey Pembleton
@pembletonc
Hello everyone! Great community, I read issue #195 @EllaKaye and it solved my issue as well, so thanks. My question: Has anyone customized ghostwriter? I have it up and running, but have no css experience and would like to customize a few things. Any help appreciated. Cheers, and thank you.
Liechi Zhang
@liechi

Hi, there, may I ask a help related to the deployment of my website(/Users/administrator/Documents/liechi) from repo(https://github.com/rbind/liechi).

I wrote a blog in RStudio and using blogdown and pushed it to my above mentioned repo for autopublishing through netlify. But the email from netify said that my recent builds had failed. I checked the repo, and found the blog was pushed to the folder under the repo correctly.

The error message said:

failed during stage 'preparing repo': git ref refs/heads/master does not exist

I checked my .git files and I could see the "HEAD" there.

I checked the deploy logs and found this:

2:20:36 PM: Build ready to start
2:20:37 PM: build-image version: 42bca793ccd33055023c56c4ca8510463a56d317
2:20:37 PM: buildbot version: 15854c92f1b74f9c77ad951b5536193c76eff25e
2:20:37 PM: Fetching cached dependencies
2:20:38 PM: Failed to fetch cache, continuing with build
2:20:38 PM: Starting to prepare the repo for build
2:20:38 PM: git ref refs/heads/master does not exist or you do not have permission
2:20:38 PM: Failing build: Failed to prepare repo
2:20:38 PM: failed during stage 'preparing repo': git ref refs/heads/master does not exist
2:20:38 PM: Finished processing build request in 774.672806ms

I used hugo 0.19 to build my site before. When I found this building failure, I updated the hugo to 0.50, because some google search suggested the older version of hugo was not supported.
But it did not solve the problem. It has been quite a while since the last time I wrote blogs, so maybe something has changed? Is there any idea?

BTW, I did not use hashtags in my posts, so the issue seemed to be different from that of issue #195.

Liechi Zhang
@liechi
The local serving of my site in RStudio is OK, the problem only happened in the deployment through netilify.
Yihui Xie
@yihui
@liechi I just reconnected your Github repo and site to Netlify. I don't know why this is necessary (something in Netlify's authentication might be wrong) but your site seems to be working now.
Liechi Zhang
@liechi
Tha
That’s great! Thanks a lot! The post is nicely there now.
matdoering
@matdoering
Hi there, I'm considering joining rbind and would like to request an invitation for my blog at https://github.com/matdoering/data-blog which is hosted at datascienceblog.net. I'm not sure if this is the right channel for asking for the transfer permission but I couldn't find another contact ... :-)
Yihui Xie
@yihui
@matdoering I've sent you an invite.
matdoering
@matdoering
@yihui Thanks for the invite.! I've just done the transfer :-)
Gergo Palfalvi
@palfalvi

Hi everyone. I am using blogdown for my site for a while now and i love it. However on my latest post, i tried to serve_site() locallyand got a strange error message, i could not resolve. Tried to reinstall blogdown and other pkgs, like xfun butnothing. The error msg is as follows:

Error in get(name, envir = asNamespace(pkg), inherits = FALSE) :
object 'sans_ext' not found

Anyone hasideahow i could resolve this issue? Thanks in advance!

Liechi Zhang
@liechi
Hi, everyone. I met a problem when trying to write a post in rmarkdown, but could not find a solution with google. The problem happens when I try to writing a post in rmarkdown format. When serving the site locally using Serve Site in Addins, error appeared:
* knitting content/en/2019-04-28-a-test-post.Rmd
Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : 
  object 'sans_ext' not found
Calls: local ... eval.parent -> eval -> eval -> eval -> eval -> ::: -> get
Execution halted
Error in build_one(unlist(files[i, ])) : 
  Failed to compile content/en/2019-04-28-a-test-post.Rmd to content/en/2019-04-28-a-test-post.md
Execution halted
Error in run_script("R/build.R", as.character(local)) : 
  Failed to run R/build.R
I updated both R and RStudio to the newest version as well as the related packages including "blogdown", "xfun"...but this problem still existed. This problem is similar to what @palfalvi has mentioned. @palfalvi told me his problem disappeared after he updated R, but he did not know what had been wrong before. In my case, the problem still exists after updating everything I could think of.
Liechi Zhang
@liechi
I appreciate a lot if you have any idea on this issue. Thanks!
Yihui Xie
@yihui
@liechi Try to restart R, reinstall blogdown, xfun, and knitr. Restart R again.
Liechi Zhang
@liechi
@yihui Thanks for the suggestion. I restarted R, reinstalled the packages, and restarted R again. But when I tried to knit the rmd file by Serve Site, the same error information appeared:
> blogdown:::serve_site()
* knitting content/cn/2019-04-29-a-second-test.Rmd
Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : 
  object 'sans_ext' not found
Calls: local ... eval.parent -> eval -> eval -> eval -> eval -> ::: -> get
Execution halted
Error in build_one(unlist(files[i, ])) : 
  Failed to compile content/cn/2019-04-29-a-second-test.Rmd to content/cn/2019-04-29-a-second-test.md
Execution halted
Error in run_script("R/build.R", as.character(local)) : 
  Failed to run R/build.R

This is my sessionInf:

> sessionInfo()
R version 3.6.0 (2019-04-26)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Sierra 10.12.6

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

I used rmd file for some posts two years ago, and it worked well, but most of the time I used md format for blogging. Recently I hoped to make some statistics learning notes with rmd, and met this issue.

Yihui Xie
@yihui
@liechi In R/build.R, use xfun::sans_ext().
Liechi Zhang
@liechi
Hi, @yihui Thanks, problem solved.
The sans_ext() was changed from knitr to xfun, and the blogdown:::readUTF8() and blogdown:::writeUTF8() were changed to xfun:::read_utf8() and xfun:::write_utf8(). These changes affected R/build_one.R, instead of R/build.R, so the rmd files were not knitted.
Thank you very much! Without your help, I have no way to identify this cause. Now everything works perfectly : ).
Liechi Zhang
@liechi
Sorry, one more issue appears, and I could not find out why after checking things I could think of. Now the rmd file is successfully knitted to md file, but this md file could not be published by netlify after git push to my repo. I checked the repo, the md file is there under the en directory, and the netlify sent me notification emails saying "we just published a new production deploy." The deploy summary said:"All files already uploaded. All files already uploaded by a previous deploy with the same commits." But I do have uploaded a new file to the en directory. I comfirmed that the changes of file under cn directory could be published successfully, but not under en. The deploy log looked like this:
2:33:16 AM: Build ready to start
2:33:19 AM: build-image version: 9eeed52f6b95fa5f3838ee7b24b78fd68423ad6f
2:33:19 AM: build-image tag: v2.7.4
2:33:19 AM: buildbot version: 873914ead406888d4b46ecb363c89d5bf7360075
2:33:19 AM: Fetching cached dependencies
2:33:19 AM: Starting to download cache of 188.4MB
2:33:21 AM: Finished downloading cache in 2.140189171s
2:33:21 AM: Starting to extract cache
2:33:27 AM: Finished extracting cache in 5.362835825s
2:33:27 AM: Finished fetching cache in 7.641798201s
2:33:27 AM: Starting to prepare the repo for build
2:33:27 AM: Preparing Git Reference refs/heads/master
2:33:28 AM: Starting build script
2:33:28 AM: Installing dependencies
2:33:28 AM: Started restoring cached node version
2:33:30 AM: Finished restoring cached node version
2:33:30 AM: v8.16.0 is already installed.
2:33:31 AM: Now using node v8.16.0 (npm v6.4.1)
2:33:31 AM: Attempting ruby version 2.3.6, read from environment
2:33:33 AM: Using ruby version 2.3.6
2:33:33 AM: Using PHP version 5.6
2:33:33 AM: Installing Hugo 0.50
2:33:33 AM: Hugo Static Site Generator v0.50 linux/amd64 BuildDate: 2018-10-29T09:52:34Z
2:33:33 AM: Started restoring cached go cache
2:33:35 AM: Finished restoring cached go cache
2:33:35 AM: Installing Go version 1.10
2:33:35 AM: unset GOOS;
2:33:35 AM: unset GOARCH;
2:33:35 AM: export GOROOT='/opt/buildhome/.gimme_cache/versions/go1.10.linux.amd64';
2:33:35 AM: export PATH="/opt/buildhome/.gimme_cache/versions/go1.10.linux.amd64/bin:${PATH}";
2:33:35 AM: go version >&2;
2:33:35 AM: export GIMME_ENV='/opt/buildhome/.gimme_cache/env/go1.10.linux.amd64.env';
2:33:35 AM: go version go1.10 linux/amd64
2:33:35 AM: Installing missing commands
2:33:35 AM: Verify run directory
2:33:35 AM: Executing user command: hugo
2:33:35 AM: Building sites …
2:33:35 AM:                    | EN
2:33:35 AM: +------------------+----+
2:33:35 AM:   Pages            | 71
2:33:35 AM:   Paginator pages  |  0
2:33:35 AM:   Non-page files   |  2
2:33:35 AM:   Static files     | 26
2:33:35 AM:   Processed images |  0
2:33:35 AM:   Aliases          |  0
2:33:35 AM:   Sitemaps         |  1
2:33:35 AM:   Cleaned          |  0
2:33:35 AM: Total in 410 ms
2:33:35 AM: Build script success
2:33:35 AM: Starting cache prep script
2:33:35 AM: Caching artifacts
2:33:35 AM: Started saving pip cache
2:33:35 AM: Finished saving pip cache
2:33:35 AM: Started saving emacs cask dependencies
2:33:36 AM: Finished saving emacs cask dependencies
2:33:36 AM: Started saving maven dependencies
2:33:36 AM: Finished saving maven dependencies
2:33:36 AM: Started saving boot dependencies
2:33:36 AM: Finished saving boot dependencies
2:33:36 AM: Started saving go dependencies
2:33:37 AM: Finished saving go dependencies
2:33:39 AM: Cache script success
2:33:39 AM: Starting to deploy site from 'public'
2:33:39 AM: Creating deploy tree 
2:33:39 AM: 0 new files to upload
2:33:39 AM: 0 new functions to upload
2:33:39 AM: Starting post processing
2:33:40 AM: Post processing done
2:33:40 AM: Site is live
2:34:14 AM: Finished processing build request in 55.124789746s
2:34:14 AM: Shutting down logging, 0 messages pending
Liechi Zhang
@liechi
No error message appeared, just the files under en directory seemed to be ignored, while the ones under cn are available for deploying.
Liechi Zhang
@liechi
Now the posts under en folder were deployed again, but I have no idea why it suddenly worked. Anyway, it looks good. Please ignore the above issue and sorry for disturbing.