Comments (5)
@zachmayer I added unit test for the plotting but it looks like in Travis it cannot open the plotting device. Error: RGL: unable to open X11 display
in this build https://travis-ci.org/terrytangyuan/lfda/builds/75081008
Do you have any idea to get around with this?
from lfda.
https://cran.r-project.org/web/packages/rgl/index.html
Check the "system requirements" page:
SystemRequirements: OpenGL, GLU Library, zlib (optional), libpng (>=1.2.9, optional), FreeType (optional)
You also need X11. You need to run something like this (from the travis help page):
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq freeglut3-dev xorg openbox
freeglut3-dev
will install openGL and GLU, the other 2 will install X11.
from lfda.
(btw, this is why we don't want caret to depend on rgl— it's a lot of effort to get installed)
from lfda.
Hmm I couldn't get it to work by adding before_install
in Travis and options(rgl.useNULL=TRUE)
in the plotting code. The code work fine by devtools::test()
and devtools::check()
though on my PC. Would this be enough for CRAN submission? Are they looking at my Travis build?
from lfda.
CRAN will be checking on a machine very much like the travis machine. It won't have an rgl environment setup.
from lfda.
Related Issues (20)
- refactor lfda and klfda code
- Travis not passing due to LibSSH2 dependency HOT 2
- Add example/demo page for lfda, klfda, and show some visualization HOT 1
- Add predict method for klfda
- Kernel SELF (KSELF)
- Code Optimization
- installation problem
- How to use lfda make classification?
- JOSS Review General Checks
- JOSS Review Tests HOT 5
- JOSS Review: Functionality HOT 9
- [JOSS review] - missing DOIs in paper
- [JOSS review] - paper, statement of need
- [JOSS review] - readme, statement of need
- [JOSS review] - provide working examples HOT 6
- [JOSS review] - paper
- [JOSS review] HOT 1
- Update Gastrograph URL HOT 2
- Before CRAN submission HOT 17
- More Input Argument Checking for lfda and klfda
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 lfda.