« first day (1563 days earlier)      last day (1612 days later) » 

2:30 PM
@joran Agreed. That would have help this OP a ton.
 
3:12 PM
Anyone know of a system dependency tracker for CRAN packages or of how feasible it would be to have one? Something, perhaps, that uses existing build logs of the CRAN packages to parse out external libs?
ie: gmp requires libgmp-dev, httr needing libxml2-dev, etc...
 
@Thell is it in the Makefiles/Makevars/ whatever files?
Does httr need that?
 
@Spacedman I'm not sure but I don't think it would be, for instance installing httr depends on rcurl, which is what would need XML which then would have the lib dependency. If I understand it's path correctly.
 
yeah, httr doesn't seem to need it directly.
@DirkEddelbuettel interesting commit message github.com/hadley/dplyr/commit/…
(I'm failing to find an R package source on github that uses external libs...)
ok got one now
@Thell can't you rely on SystemRequirements field in DESCRIPTION?
 
3:29 PM
@Spacedman I don't think so. For instance, again using httr, it would not be direct. If you have a minimal system I think the only way to get it would be to build it and fail/install/rebuild. I'm thinking that the actual build output showing linking would be more effective.
 
you'd just have to follow the R pacakge dependencies to get the system dependencies...
 
think that'd be easier than parsing the '-L' out of the already existing outputs from CRAN package builds?
 
@Thell how would the build for httr have a -L for a system library already compiled into a package dependency?
 
I honestly don't know enough about how a CRAN package is tested for installation. I'm guessing it starts with --vanilla and uses depends=T... which would mean the output would have the required -L information.
On a local system, tht'd be a different story... but for CRAN they'd use source installs, yes?
 
@Spacedman He can very rude and obnoxious, yes. And technically that commit was also inferior to what I had put in place.
@Spacedman I alone have a handful. RQuantLib, RProtoBuf, RcppRedis, RcppGSL, ...
@Thell You cannot. As the dependency is OS-depdendent and not normalised. Simon and I were riffing over beers on Monday whether new extra Description: fields could help.
SystemRequirements is the best you got, plus testing in configure.
 
3:42 PM
@DirkEddelbuettel @Spacedman Thanks guys. I guess I'll see what I can make up for it. Looks like SystemRequirements, Imports, and Depends, would each need to be backtracked...
 
Meant to say: OS and distro dependent as libgmp-dev may have different names in Debian and Fedora and SuSE and ... --- wild, wild west.
 
@DirkEddelbuettel Right, nicely enough, and thanks to rocker , I only need concern myself with one base image. :D
 
"Just buy a Mac."
4
 
3:59 PM
I might just convert to plain Debian...
chuck all this MintyBuntu nonsense out
 
4:15 PM
@DirkEddelbuettel I just had to record that for posterity. ;)
 
5:10 PM
brrrrrr fire alarm
 
5:31 PM
@joran I run into more and more people who continue to love the hardware but get more and more frustrated keeping viable development environments on OS X.
 
@DirkEddelbuettel That has been my experience exactly.
It's why I rather studiously stay 1-1.5 years behind Apple's OS schedule.
 
6:20 PM
 
 
1 hour later…
7:26 PM
Do you think cran-logs.rstudio.com would be a representative sample of what CRAN experiences?
 
7:52 PM
Can Microsoft make R easy? by @mjasay http://www.infoworld.com/article/2876535/application-development/can-microsoft-make-r-easy.html via @infoworld #datascience #bigdata #analytics #Rstats #retail
How do people come up with this crap...?
 
@GavinSimpson Friends don't let friends read Matt Asay.
 
@DirkEddelbuettel I was unaware, but will be henceforth forewarned!
 
@GavinSimpson If you want to ruin your day, or possibly week, look up old articles of his.
 
@DirkEddelbuettel I have students for that (both ruining and improving)
 
8:15 PM
hi @ruffbytes the public R room is open for all
 
8:28 PM
@Andrie miniCran... thanks.
unique( na.omit( miniCRAN::getCranDescription(pkg, repo)["SystemRequirements"] ) )
Now to just do that for the top packages, then determine the actual apt pkg names to go with each.
 
@Thell We had that "automated" in cran2deb, for which I was involved in two versions. Old code still on r-forge.
The successor is debian-r.debian.net which does it for all of CRAN (!!) and BioC. But I can't remember where Don keeps the code.
You can do this in the stack of a distro as you can control the mapping from SysReq to actual packages -- painfully by hand.
Doing it generally is just ... hard.
"Just buy a Mac already."
2
@Thell Also, are you are of the viz of the r-studio cran logs over at rdocumentation.org ?
 
@Dirk, I'm doing this to create volume to mount to docker so all cran packages can be installed without needing to start an interactive root terminal to install dev depends
I was just going to use the top 20 or so packages as a POC
@DirkEddelbuettel Thanks for that... I guess the top 10 will work just fine. :)
 
8:47 PM
Just trust Carl's work and take the Hadleyverse container as a proxy for "highly fashionable"
 
9:27 PM
does anyone here have particular advice for debugging complicated Rcpp code inside complicated R code? I'm still stuck at the gdb plus print statement stage, and it feels awfully clunky
 
@BenBolker What sort of issue are you trying to debug?
 
 
1 hour later…
10:29 PM
I'm getting NaNs at the C++ level in part of a computation. I thought I had the relevant functions 'clamped' within legal limits, so either I didn't do it right or there's a problem somewhere else (this is within lme4's C++ code)
 
11:25 PM
I'd do saveRDS() somewhere to get smaller and smaller subsets reproducing things. But these things can be hard to pin down.
 
11:58 PM
@DirkEddelbuettel, in your role as a deb maintainer and with your work on cran2deb (or its updated version) would you happen to know if the Depends line in the control block is ever folded with a newline? For reference... r-cran-zelig
 

« first day (1563 days earlier)      last day (1612 days later) »