Git Product home page Git Product logo

Comments (16)

Robinlovelace avatar Robinlovelace commented on August 18, 2024

I'm not sure what set-up you have but the build seems to be passing on the automatic Travis test build, meaning this issue is not reproducible: https://travis-ci.org/csgillespie/efficientR/builds

If your wider issue is that you'd like a pdf of the latest version, this is provided the book's website: https://csgillespie.github.io/efficientR/

from efficientr.

csgillespie avatar csgillespie commented on August 18, 2024

Does

library(efficient)

work?

from efficientr.

nachti avatar nachti commented on August 18, 2024

@csgillespie No, it doesn't, but if it's renamed, it's no wonder, that #64 doesn't work.

from efficientr.

csgillespie avatar csgillespie commented on August 18, 2024

The naming is correct (in the sense that everything works).

If you installed book via

devtools::install_github("csgillespie/efficientR")

It should automatically install the efficient package

Which could be installed via

devtools::install_github("csgillespie/efficient_pkg")

from efficientr.

nachti avatar nachti commented on August 18, 2024
devtools::install_github("csgillespie/efficientR")

didn't install the efficient package while

devtools::install_github("csgillespie/efficient_pkg")

did it (dependency problem?)
Now it works to build a html document (unfortunately pdf is not possible at the moment due to unknown graphics extension: .svg ...)
Thanks for the hint @csgillespie

from efficientr.

csgillespie avatar csgillespie commented on August 18, 2024

So I just deleted the efficient package on my system and reran

devtools::install_github("csgillespie/efficientR")

and it download everything that is needed. What version devtools are you using? I'm on version 1.11.1?

What version of R are you using?

Thanks for your feedback

from efficientr.

nachti avatar nachti commented on August 18, 2024
R version 3.2.3 Patched (2016-01-01 r69832)
Platform: x86_64-suse-linux-gnu (64-bit)
Running under: openSUSE 13.1 (Bottle) (x86_64)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] devtools_1.7.0.9000

from efficientr.

csgillespie avatar csgillespie commented on August 18, 2024

I think it might be a devtools issue; You're using an older version. I think update.packages() should solve that issue

from efficientr.

nachti avatar nachti commented on August 18, 2024

Hmm - you are right. Using devtools_1.11.1 solves the dependency problem.
Thank you very much Colin!
Now I just have to get rid of a LaTeX error (svg stuff) ...

from efficientr.

csgillespie avatar csgillespie commented on August 18, 2024

Great.

I've no idea about the svg issue; I don't think we have any svg's in the book. Could you provide more details?

from efficientr.

nachti avatar nachti commented on August 18, 2024

I'm new to bookdown and just wanted to run it ;-)

LaTeX Warning: File `figures/800px-QWERTY-home-keys-position.svg' not found on
input line 505.


! LaTeX Error: Unknown graphics extension: .svg.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.505 ...ures/800px-QWERTY-home-keys-position.svg}
                                                   \caption{The starting pos...

The svg is included in 1.5 from wikipedia:

\begin{figure}
\includegraphics[width=11.11in]{figures/800px-QWERTY-home-keys-position.svg} \caption{The starting position for touch typing, with the fingers over the 'home keys'. Source: [Wikipedia](https://commons.wikimedia.org/wiki/File:QWERTY-home-keys-position.svg) under the Creative Commons license.}\label{fig:touch}
\end{figure}

Since I'm not root at the system, my possibilities are limited, but I'll check out the LaTeX installation.

from efficientr.

csgillespie avatar csgillespie commented on August 18, 2024

This is an odd one. We have a file called 800px....position.svg.png but we don't have any svg files. I think the problem is that the file is badly named - I'll blame @Robinlovelace ;) But googling suggests it's only an issue under certain OS's.

I've renamed the file. Would you give that a try?

from efficientr.

Robinlovelace avatar Robinlovelace commented on August 18, 2024

Caught red handed: c9482ab

from efficientr.

nachti avatar nachti commented on August 18, 2024

Thanks it's working now. I added an option to the chunk to get it on a page. See #76
*btw: maybe

  • data/co2.RData
  • data/co2.Rds
  • data/miniaa.Rds

should be included in .gitignore

from efficientr.

csgillespie avatar csgillespie commented on August 18, 2024

Glad you got it working.

from efficientr.

nachti avatar nachti commented on August 18, 2024

Thanks!

from efficientr.

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.