I am not able to create a simple website through blogdown package and also May I know ho do I deploy/publish this to R server? I have followed below steps
Step 1
.
Step 2
.
Step 3
Step 4 : when I run below code, I get error not sure why
blogdown::serve_site()
Error message
createTcpServer: address already in use
Error in as.vector(x, "character") :
cannot coerce type 'environment' to vector of type 'character'
Also May I know how do I publish this website to R server?
The error you get may happen if you already have a site served. Can you try again to run serve_site in a cleaned and new R session ?
About deployment ? What does a R server mean ?
Blogdown render a static website that be deployed to any web server.
You have some solutions describe in the book
Thanks. Deployment means can I publish this to the server? Like we do for R shiny applications. I need to share this website to my colleague so. Can i have the link here?
Also may I know what you meant by " already have a site served" ?
This is very ambiguous, whose server? If you mean to publish to shinyapps.io, then the answer is no, you can't. If you mean to publish to your own server, then you just have to install a web server and copy the files to the proper folder, read the chapter cderv pointed out to learn what are your options.
blogdown::serve_site()
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace ‘xfun’ 0.7 is being loaded, but >= 0.10 is required