Code Monkey home page Code Monkey logo

Comments (4)

jjallaire avatar jjallaire commented on August 19, 2024

If you render the site from the command line with rmarkdown::render_site() then afterwards you should be able to see the warnings.

Question: is the output_dir a subdirectory of your site folder or is it another part of the filesystem hierarchy? If the latter that may not be a supported scenario and could be the origin of the problem.

from distill.

Altons avatar Altons commented on August 19, 2024

here is output_dir: "/Users/anegron/Dropbox/Apps/site44/www.dataaddict.me/"
It seems like it is prepending a ./ to output_dir

here are the warnings

> warnings()
Warning messages:
1: In dir.create(output_dir) :
  cannot create dir './/Users/anegron/Dropbox/Apps/site44/www.dataaddict.me', reason 'No such file or directory'
2: In file.rename(output, output_dest) :
  cannot rename file '/Users/anegron/projects/blog/about.html' to './/Users/anegron/Dropbox/Apps/site44/www.dataaddict.me/about.html', reason 'No such file or directory'
3: In file.rename(output, output_dest) :
  cannot rename file '/Users/anegron/projects/blog/index.html' to './/Users/anegron/Dropbox/Apps/site44/www.dataaddict.me/index.html', reason 'No such file or directory'
4: In file.rename(output, output_dest) :
  cannot rename file '/Users/anegron/projects/blog/ruby_gems.html' to './/Users/anegron/Dropbox/Apps/site44/www.dataaddict.me/ruby_gems.html', reason 'No such file or directory'
5: In dir.create(output_lib_dir) :
  cannot create dir './/Users/anegron/Dropbox/Apps/site44/www.dataaddict.me/site_libs', reason 'No such file or directory'
6: In file.copy(file.path(lib_dir, lib), output_lib_dir,  ... :
  'recursive' will be ignored as 'to' is not a single existing directory
7: In file.create(to[okay]) :
  cannot create file './/Users/anegron/Dropbox/Apps/site44/www.dataaddict.me/site_libs', reason 'No such file or directory'
8: In file.copy(file.path(lib_dir, lib), output_lib_dir,  ... :
  'recursive' will be ignored as 'to' is not a single existing directory
9: In file.create(to[okay]) :
  cannot create file './/Users/anegron/Dropbox/Apps/site44/www.dataaddict.me/site_libs', reason 'No such file or directory'
10: In file.copy(file.path(lib_dir, lib), output_lib_dir,  ... :
  'recursive' will be ignored as 'to' is not a single existing directory
11: In file.create(to[okay]) :
  cannot create file './/Users/anegron/Dropbox/Apps/site44/www.dataaddict.me/site_libs', reason 'No such file or directory'
12: In file.copy(file.path(lib_dir, lib), output_lib_dir,  ... :
  'recursive' will be ignored as 'to' is not a single existing directory
13: In file.create(to[okay]) :
  cannot create file './/Users/anegron/Dropbox/Apps/site44/www.dataaddict.me/site_libs', reason 'No such file or directory'
14: In file.copy(file.path(lib_dir, lib), output_lib_dir,  ... :
  'recursive' will be ignored as 'to' is not a single existing directory
15: In file.create(to[okay]) :
  cannot create file './/Users/anegron/Dropbox/Apps/site44/www.dataaddict.me/site_libs', reason 'No such file or directory'
16: In file.copy(file.path(lib_dir, lib), output_lib_dir,  ... :
  'recursive' will be ignored as 'to' is not a single existing directory
17: In file.create(to[okay]) :
  cannot create file './/Users/anegron/Dropbox/Apps/site44/www.dataaddict.me/site_libs', reason 'No such file or directory'
> 

from distill.

jjallaire avatar jjallaire commented on August 19, 2024

Yeah, the output_dir only work with relative directory paths (that's a constraint of R Markdown websites).

from distill.

Altons avatar Altons commented on August 19, 2024

I see - I already have a fix in place. thanks

from distill.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.