Giter Site home page Giter Site logo

atusyverse's People

Contributors

atusy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

atusyverse's Issues

Dockerfile: ユーザーとして hugo をインストールしておかないと update できない

Dockerfile を以下に直す

USER rstudio
RUN Rscript -e "blogdown::install_hugo()"

従来は

&& echo "options(blogdown.hugo.dir = system.file(package = 'blogdown'))" >> \
/usr/local/lib/R/etc/Rprofile.site \
&& Rscript -e "blogdown::install_hugo()" \

blogdown::update_hugo() すると以下のエラーが出ていた

The latest Hugo version is 0.54.0
trying URL 'https://github.com/gohugoio/hugo/releases/download/v0.54.0/hugo_0.54.0_Linux-64bit.tar.gz'
Content type 'application/octet-stream' length 7767211 bytes (7.4 MB)
==================================================
downloaded 7.4 MB

Hugo has been installed to /home/rstudio/bin
Warning message:
In file.copy(exec, destdir, overwrite = TRUE) :
  problem copying ./hugo to /usr/local/lib/R/site-library/blogdown/hugo: Permission denied

tinytex::install_tinytex(force = TRUE) seems to be required

Otherwise, error occurs due to permission error

copy /opt/TinyTeX/tlpkg/texlive.tlpdb.tmp to /opt/TinyTeX/tlpkg/texlive.tlpdb failed: Operation not permitted at /opt/TinyTeX/tlpkg/TeXLive/TLPDB.pm line 630.
tlmgr path add

On a first trial, I used reinstall_tinytex resulting following error messages, but seems working.

sh: 1: path: not found
install: target 'zapfding' is not a directory
sh: 1: conf: not found
TinyTeX installed to /home/rstudio/.TinyTeX
Error in root_dir(normalizePath(path), "..", "..", "..") : 
  /home/rstudio/.TinyTeX does not seem to be the root directory of TeX Live (no "bin/" dir under it)
In addition: Warning messages:
1: In system2(bin, c("path", "add")) : error in running command
2: In system2(bin, c("conf", "auxtrees", "add", r_texmf_path())) :
  error in running command
You may have to restart your system after installing TinyTeX to make sure ~/bin appears in your PATH variable (https://github.com/yihui/tinytex/issues/16).

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.