R developers,
It has come to my attention that some of the code I am distributing in one
of my packages was previously licensed under the MIT license. I have
previously released my package under the GPL-3 license. Would it be more
appropriate for me to change the license to MIT? I know no one h
Greetings,
I know in Bioconductor there is the BiocGenerics package (
https://bioconductor.org/packages/release/bioc/html/BiocGenerics.html). I
have not been able to find any similar package on CRAN. I use S4 methods
quite often and a package like this would be very useful for future
packages I
R Developers,
I am currently in development of some additional CUDA based packages to
bring more GPU computing to the R community. Recently, I no longer have
access to an NVIDIA GPU and therefore I am unable to run any unit tests on
the functions I create. I can confirm the packages build on a c
Greetings,
I am trying to create some unit tests for a Rcpp::sourceCpp call. It
includes some dependencies with the // [[Rcpp::depends]] flag and compiles
and passes if I call the test file with testthat::test_file. However, if I
try to call it with devtools::test() to run all of my tests, the
c
the S3 if I want different classes passed to the call.
Charles
On Mon, Jun 26, 2017 at 12:42 PM, Charles Determan
wrote:
> Could you point to one of these packages you refer to? I'm still having
> problems and not sure why at the moment.
>
> Thanks
>
> On Mon, Jun 26,
ould define the method, as this normally should return an error from
> conformMethod().
>
> So:
> #' @rdname pmax
> setGeneric("pmax", signature = "...")
>
> should work. I've used this myself in quite a number of packages.
>
> Cheers
> Jor
function(...){
> # do some stuff
> })
>
> More information on how to deal with dots can be found on the help page
> ?dotsMethods.
>
> If you have a generic in the base package (eg plot is such one), you only
> define the method and
Greetings R users,
I was wondering how others are exporting S3 methods in their packages when
the generic is in 'base'. For example, let's say I want to export a new
pmax method. The only way I have found to get this to work is by
redefining the function with 'UseMethod' and setting the default
0:41 AM, Duncan Murdoch
wrote:
> On 16/03/2017 11:00 AM, Charles Determan wrote:
>
>> Greetings,
>>
>> Not sure if this should be on the Rcpp list but it isn't strictly related
>> to Rcpp but to package building involving Rcpp so I am posting it here.
>>
>>
Greetings,
Not sure if this should be on the Rcpp list but it isn't strictly related
to Rcpp but to package building involving Rcpp so I am posting it here.
I am often working on GPU packages that use either OpenCL or CUDA. OpenCL
is nice because it doesn't require a special additional compiler
I am working on an R package that contains some CUDA code. As such, it
needs to use the 'nvcc' compiler. I then need to use some of the R header
files such as R.h. On a linux machine, I can handle this with my configure
script using autotools that will replace @R_INCL@ with AC_SUBST(R_INCL).
How
Hi Constantinos,
I believe you could just put the following in your DESCRIPTION file so the
R version takes care of the C++11 flag.
SystemRequirements: C++11
Regards,
Charles
On Fri, Sep 30, 2016 at 8:46 AM, Costas Tsirogiannis
wrote:
> Greetings,
>
> I am developing a package that uses C++
Greetings,
I have seen this previous discussion (
https://stat.ethz.ch/pipermail/r-package-devel/2015q2/000115.html) on this
question but I didn't find a clear answer. I am looking at integrating
some more existing open-source C++ libraries to R packages. However, a
handful use/require cmake for
k columns of X. LINPACK's
> QR happens to be implemented as successive orthogonalization, but LAPACK's
> is not, so only the former is usable with lm().
>
> So, I suppose what I am getting at is that not even lm() uses qr(), it
> calls LINPACK directly.
>
> -pd
>
&
Hello,
I am currently working on an implementation of QR decomposition (leveraging
a C++ library via Rcpp). Naturally I would like to have the R syntax as
similar as possible to base R 'qr' function. Given the class structure of
my package my instinct was to export an S4/S3 method.
However, the
rse I can speak only for myself, but I'd help out if asked and I
> think in general you'll find people here to be a pretty helpful bunch.
>
> Cheers,
> Boris
>
>
> On Feb 5, 2016, at 8:30 AM, Charles Determan > wrote:
>
> > I'm not sure if this
I'm not sure if this question is appropriate for the R mailing lists but
I'm not sure where else to ask.
I am wondering if there is any means by which package authors can solicit
testers for a package. I believe this is often referred to as 'crowd
sourced testing'.
I am aware of continuous integ
Thanks Dirk,
This appears to work for my purposes.
Charles
On Thu, Nov 12, 2015 at 7:34 AM, Dirk Eddelbuettel wrote:
>
> On 12 November 2015 at 07:17, Charles Determan wrote:
> | I am trying to compile a package (using Rcpp) where the libraries needed
> | for linking (assigned w
I am trying to compile a package (using Rcpp) where the libraries needed
for linking (assigned with PKG_LIBS) are in different locations depending
upon the architecture (32 or 64 bit).
In the R-admin documents 6.3.1 Windows (
http://www.hep.by/gnu/r-patched/r-admin/R-admin_36.html) it is stated th
> On 13 Oct 2015, at 09:42 , Uwe Ligges
> wrote:
>
> >
> >
> > On 13.10.2015 09:01, Barry Rowlingson wrote:
> >> On Tue, Oct 13, 2015 at 4:16 AM, Dirk Eddelbuettel
> wrote:
> >>>
> >>> On 12 October 2015 at 13:13, Charles Determan wr
Greetings,
I have a package which provides headers for a C++ library (similar to the
BH package). However, the C++ library has some heavily nested components
within its' structure so when I run R CMD check I get the following NOTE:
Tarballs are only required to store paths of up to 100 bytes and
Charles
On Tue, Aug 11, 2015 at 12:13 PM, Dirk Eddelbuettel wrote:
>
> On 11 August 2015 at 11:49, Charles Determan wrote:
> | I am beginning to reach the completion of a new package I would like to
> | submit to CRAN. However, there are a few aspects of it that I would like
> | som
I am beginning to reach the completion of a new package I would like to
submit to CRAN. However, there are a few aspects of it that I would like
some guidance prior to submitting.
1. It requires some third party software (i.e. an OpenCL SDK) to be
installed before it will compile (it contains c++
e it's not using that target at all, and is instead using a
> generic .so target?
>
> On Fri, Jun 5, 2015 at 9:02 AM, Charles Determan
> wrote:
>
>> A quick followup, even when I try and use the g++ I cannot seem to pass
>> the
>> objects (it keeps omitting the
doesn't use the
OBJS variable (note, I confirmed that the OBJS variable does contain all .o
files)
gpuRcuda.so: $(OBJS)
$(CXX) $< -o $@ $(R_LIBS) $(LIBS)
Regards,
Charles
On Fri, Jun 5, 2015 at 9:42 AM, Charles Determan
wrote:
> Greetings,
>
> Quick context, I hav
Greetings,
Quick context, I have been working on developing a set of packages to make
GPU computing as simple as possible with R. I have a functional package
that works very nicely with OpenCL based code (gpuR -
https://github.com/cdeterman/gpuR) but I also am building a companion CUDA
backend pa
I am actively working on an R package that will incorporate some CUDA code
for using NVIDIA GPU devices. I am quite familiar with Rcpp for C++ code
and accustomed to using a Makevars file for specifying compiler options.
However I am stumped currently about how to use the NVCC compiler for the
.cu
;
> So what speaks against releasing your derived work under the GPL >= 2?
>
> Thomas
>
>
>
> On 28.05.2015 17:48, Charles Determan wrote:
>
>> When developing a new package we want to have a license attributed to that
>> package. That said, I am a little con
When developing a new package we want to have a license attributed to that
package. That said, I am a little confused how one would approach the MIT
license. I am working on a package that extends upon another library that
has the MIT license. I know that I need to create a LICENSE file with YEA
Hi Chaitanya,
That is strange the R CMD check is stalling but there didn't appear to be
any attached screenshot. I would be also beneficial if we could see/access
your source code. Is your package hosted on GitHub or a similar service?
Regards,
Charles
On Mon, May 25, 2015 at 10:42 PM, Chaitan
30 matches
Mail list logo