New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working Travis Build #29
base: master
Are you sure you want to change the base?
Conversation
|
||
language: r | ||
r: | ||
- release | ||
cache: packages | ||
|
||
os: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
osx doesn't work w/ docker compose
fRanz/DESCRIPTION
Outdated
@@ -1,6 +1,6 @@ | |||
Package: fRanz | |||
Type: Package | |||
Title: An R Kafka Client | |||
Title: An R Kafka Client. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a funny R CMD CHECK note that says this should be a full sentence
fRanz/R/KafkaConsumer.R
Outdated
@@ -25,7 +28,8 @@ KafkaConsumer <- R6::R6Class( | |||
} | |||
|
|||
, consume = function(topic, numResults=100) { | |||
Filter(function(msg) !is.null(msg), KafkaConsume(private$consumerPtr, numResults)) | |||
results <- Filter(function(msg) !is.null(msg), KafkaConsume(private$consumerPtr, numResults)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shoot my other PR of serializers bled into this
.travis.yml
Outdated
@@ -2,14 +2,14 @@ services: | |||
- docker | |||
|
|||
before_install: | |||
- mkdir dest | |||
- make librdkafka LIBRDKAFKA_CONF=--prefix=dest | |||
- export LD_LIBRARY_PATH=LD_LIBRARY_PATH:dest/lib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pulled this locally and am testing. what is the purpose of the dest
directory? I'm finding it empty after I run make librdkafka
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i got this to populate by changing it to --prefix=../dest
, will see if that makes any difference
fRanz/R/RcppExports.R
Outdated
#' @description Consume a fixed number of results from whatever topic(s) | ||
#' the provided consumer is subscribed to. | ||
======= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ugh i screwed up the merge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lesson learned. Making changes in VS Code w/o saving is bad for biz
…uced up Contributing and README. Removed stray Dockerfile
…CK's ** testing if installed package can be loaded from temporary location
For posterity i think the reason it installs on mac and not linux is because
of the librdkafka compilation Current options are in my mind:
|
Making this mostly for commenting and help rather then testing the build. I'm in the process of testing the travis build on my forked repository, but it continues to fail R CMD CHECK, but passes on osx. It has to do with dynamic loading of the library