GithubHelp home page GithubHelp logo

Comments (6)

Rmadillo avatar Rmadillo commented on June 16, 2024 2

@fbreitwieser that error occurs because that font isn't in your fonts directory, you probably downloaded it to a different directory so the call to font_import can't find it. I did that but then got a warning from my Mac telling me the font had "critical errors" and I could mess up my system (!) if I installed it.

So instead, I just forked this repo, changed line 10 to font.radar="Arial", and installed from my repo instead of this one. I changed nothing else, and it works fine with Arial font.

HTH.

from ggradar.

Rmadillo avatar Rmadillo commented on June 16, 2024 1

Fork it to your github account (not local), change line 10 there, and then run this from R:

devtools::install_github("GaelleMG/ggradar")

or, just install it from mine:

devtools::install_github("rmadillo/ggradar")

Lemme know if that doesn't work?

from ggradar.

JeffreyCKennedy avatar JeffreyCKennedy commented on June 16, 2024

Same issue here - Windows 10 gives message "does not appear to be a valid font".
image

from ggradar.

fbreitwieser avatar fbreitwieser commented on June 16, 2024

Similar errors on OSX. Please consider using a standard font by default.

30: In grid.Call.graphics(C_text, as.graphicsAnnot(x$label),  ... :
  no font could be found for family "Circular Air Light"
...

Its installation fails:

> download.file("https://github.com/ricardo-bion/ggtech/blob/master/Circular%20Air-Light%203.46.45%20PM.ttf", "~/Circular Air-Light 3.46.45 PM.ttf", method="curl")
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 32609    0 32609    0     0   113k      0 --:--:-- --:--:-- --:--:--  113k
> 
> extrafont::font_import(pattern = 'Circular', prompt=FALSE)
Scanning ttf files in /Library/Fonts/, /System/Library/Fonts, ~/Library/Fonts/ ...
Extracting .afm files from .ttf files...
Error in data.frame(fontfile = ttfiles, FontName = "", stringsAsFactors = FALSE) : 
  arguments imply differing number of rows: 0, 1

from ggradar.

GaelleMG avatar GaelleMG commented on June 16, 2024

@Rmadillo how does one install from a local repo?
I forked this repo, changed line 10 as you mentioned, but cannot install from my repo.
If I try to build it, I get the error:
cannot open file '/Library/Frameworks/R.framework/Versions/3.5/Resources/library/ggradar/R/ggradar.rdb': No such file or directory

from ggradar.

ricardo-bion avatar ricardo-bion commented on June 16, 2024

fixed

from ggradar.

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.