Comments (6)
@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.
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.
Same issue here - Windows 10 gives message "does not appear to be a valid font".
from ggradar.
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.
@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.
fixed
from ggradar.
Related Issues (20)
- Local installation not working
- how can i change the linetype for plotted variables in ggradar?
- Radar graph with missing values HOT 4
- base.size not functional
- Error: 'plot.data' contains value(s) > grid.max HOT 1
- facet_wrap ? HOT 2
- Error: plot.data' contains value(s) < centre.y
- had non-zero exit status HOT 1
- Why ggradar must use scale data
- Make CRAN release HOT 1
- adding font color argument
- Omit some of the axis
- Add extra grid line, not limited to min,median and max HOT 4
- Editing label font: italics, etc?
- How to show the actual value in the plot? HOT 1
- How do I remove the outermost line from ggRadar plot?
- Enhancement for polygon radar and availability for gganimate
- ggradar not working HOT 13
- ERROR: unable to collate and parse R files for package ‘ggradar’ HOT 3
- cant install ggradar HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ggradar.