Hello,
I am working on a package where I am passing some computations from R to C and
back. The C code runs many stochastic trajectories of a population model (with
the RNG from R through multiple calls to GetRNGstate and PutRNGstate). I would
like that each trajectory has its own seed.
My
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
A quick followup, even when I try and use the g++ I cannot seem to pass the
objects (it keeps omitting the .o file generated from nvcc). How can I
have my Makevars file pass a defined list of object files to the final
shared library call?
Alternate gpuRcuda.so block where the build output still
Have you checked out Hadley's secret package?
https://github.com/hadley/secure/blob/master/README.md
Sent from my iPhone
On 6 Jun 2015, at 8:19 am, Neal Fultz nfu...@gmail.com wrote:
I am working on updating the RGoogleDocs package to use OAuth2, since the
old api was recently turned off (at
I found the actual reason: I was really stupid.
At the time of testing, I had killed the internet acces.
Sorry for bothering you all ...
Berry
PS: If you want to know why on earth I did that:
Yesterday, I got the error: unable to connect to CRAN.R-project.org on port 80.
I couldn't find an
On 03.06.2015 09:48, Berry Boessenkool wrote:
Hi,
after submitting my package update, CRAN (Brian Ripley) found a couple of
warnings / messages.
URLs that are not longer existent, a non-ASCII character from copypasting,
incorrect title case.
Stuff that I should and could definitely solve
On Wed, 2015-06-03 at 09:51 +0200, Uwe Ligges wrote:
On 03.06.2015 09:48, Berry Boessenkool wrote:
Hi,
after submitting my package update, CRAN (Brian Ripley) found a couple of
warnings / messages.
URLs that are not longer existent, a non-ASCII character from copypasting,
Dear all,
I am writing a package that contains some binaries that should be
linked in /usr/bin after the package
has been installed (I placed them in Rpackage/inst/bin)
I know I can use a script configure or configure.win to be run
before the package has been installed, is there a way I can write
Hi all,
I am developing a package for the interpretation of mass spectrometry data,
which can be found here: https://github.com/goat-anti-rabbit/labelpepmatch.R
I wrote a vignette that compiles fine into a .html using knitr in Rstudio.
The output line in the vignette.rmd file looks like :
On 9 June 2015 at 10:24, Seth Wenchel wrote:
| Hi All,
|
| I'm running into an error with R CMD check --as-cran on R 3.2.0 for
| windows. Obviously i've tried googling but i haven't found this specific
| issue. I was wondering if it is because of my company's network settings.
| FWIW, it makes
On 9 June 2015 at 11:47, Seth Wenchel wrote:
| Actually, all of those switches came in as i was trying to resolve this
issue.I
| started with just R CMD check --as-cran. In fact, my Rprofile.site does have
a
| similar statement and sets a proxy but it doesn't seem good enough for the
CRAN
|
I am thinking of writing an R wrapper for some code that uses cmake. If I
include that code under the src directory (ie in src/the_other_project/),
am I likely to run into problems with CRAN? Never been down that road and
would like to know if this is feasible. I guess I would have to call cmake
Hello all,
I have submitted a package (seqminer) for bug-fix to CRAN on June 7.
So far I have not heard back from CRAN team about its status
(acceptance/rejection).
Should I re-submit the package or keep waiting? Are there any suggestions?
Thanks,
Xiaowei
[[alternative HTML version
On 9 Jun 2015, at 22:08, Gábor Csárdi csardi.ga...@gmail.com wrote:
Thanks! I just looked at it, but it seems that it actually requires an
external system cmake. I am trying to put cmake itself into a package.
This one:
https://github.com/stnava/cmaker
I remember now there is another
On Thu, 2015-06-18 at 09:14 -0400, Ben Bolker wrote:
(I didn't know that browsers had trouble accessing file names that
started with a digit?)
They don't.
the relevant rfc, I think, is this one:
https://www.ietf.org/rfc/rfc3986.txt
the 'unreserved' (allowed) characters are
unreserved =
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
It's specific to doc files. In the current version, section 1.4 says:
Documents in inst/doc can be in arbitrary format, however we strongly
recommend providing them in PDF format, so users on almost all
platforms can easily read them. To ensure
Hi Jenny,
And a warm welcome here. I hope you enjoy this place and its ability to form
questions (and answers) beyond the 140 char limit posed elsewhere. :-)
On 21 June 2015 at 07:46, Jennifer Bryan wrote:
| I hope this is an appropriate to place to ask this. My question involves
add-on tools
On 11/06/2015 9:15 AM, Kevin Coombes wrote:
Hi,
When I run R CMD check --as-cran on my packages in R 3.2.0, I now get
a new series of NOTE's telling me that (1) the Description field in the
DESCRIPTION should file should not start with This package or with the
package name, and (2) the Title
Dear Martin, dear package developers,
I had a very similar case three days ago in one of our packages. Our aim
was to provide an S3 method matplot.deSolve and an alternative and more
specific non-S3 function matplot.1D because the .1D follows the naming
scheme of other related functions.
The
Dear list members,
Use of platform-specific code to open new plot devices (e.g., `quartz`,
`x11`) is discouraged in favour of using `dev.new`; however, this does not
work in RStudio. A purported solution introduced in R 3.1.1 was to call
`dev.new(noRStudioGD = TRUE)`, which works on Windows, but
Uwe Ligges lig...@statistik.tu-dortmund.de
on Fri, 12 Jun 2015 22:58:17 +0200 writes:
On 12.06.2015 18:22, Roebuck,Paul L wrote:
Actually, between this and other things coming from 'R
CMD check' these days, I disagree that this is reasonable
at all - it's a hack
Actually, between this and other things coming from 'R CMD check' these
days,
I disagree that this is reasonable at all - it's a hack at best that only
fixes
this particular issue. Better would be to introduce lint-like directives
that
turn off certain R CMD check notes/warnings at different
Alex Chubaty alex.chub...@gmail.com
on Fri, 12 Jun 2015 14:41:56 -0700 writes:
Dear list members,
Use of platform-specific code to open new plot devices (e.g., `quartz`,
`x11`) is discouraged in favour of using `dev.new`; however, this does not
work in RStudio. A
Yes, you're right. Thanks for your help.
Xiaowei
On Wed, Jun 10, 2015 at 11:16 AM, Uwe Ligges
lig...@statistik.tu-dortmund.de wrote:
On 10.06.2015 17:58, Xiaowei Zhan wrote:
Thanks for your help. I did send an email on Jun 6, but no response. Is
this the email address for CRAN team:
On 29/05/2015 9:52 AM, Charles Determan wrote:
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
On 29 May 2015 at 08:23, Drew Schmidt wrote:
|
| On 05/29/2015 07:56 AM, Dirk Eddelbuettel wrote:
| Lastly, in many cases [eg when you link against libR], the aggregate work
| will be under GPL (= 2) anyway. But within the aggregate work the code
| you added can be under a different license
On 01.07.2015 11:38, Matthew Wolak wrote:
Hello all,
I maintain the 'nadiv' package on CRAN and am unsure how best to comply
with CRAN policy/not waste CRAN maintainers' time with respect to
structuring my DESCRIPTION file to link with an R package not available in
a public repository. (Note,
Hello,
I'm doing my package check for CRAN, in order to see whether submitting the
package-update passes all checks.
I'm doing the tests under Windows 7, using R-Version R Under development
(unstable) (2015-06-28 r68602).
Now I got a quite long list of NOTEs, which are probably no problem,
Hi Uwe,
It seems like this is quite a major change; I imagine it will affect many
packages (since lots of packages implicitly assume other 'base' packages,
like 'utils', will always be available in an R session). IIUC, in the
latest versions of R-devel, only the 'base' package can be assumed
Regarding alternative places for scripts, you can add a directory (eg
inst/testLocalScripts) and then with a recently added R CMD feature you
can do
R CMD check --test-dir=inst/testLocalScripts your-package.tar.gz
This will not (automatically) be checked on CRAN. Beware that you also
need
On 07/02/2015 10:52 PM, Henrik Bengtsson wrote:
From R 3.2.0, check:
capabilities(libcurl)
libcurl
TRUE
TRUE means R was built such that HTTPS is supported. If you see
FALSE, make sure libcurl is available when/if you build R from source.
I do have TRUE for this. The default
Hi Paul,
On Thu, Jul 2, 2015 at 9:46 PM, Paul Gilbert pgilbert...@gmail.com wrote:
(This problem with download.file() affects quantmod, and possibly several
other packages. e.g. getSymbols('M2',src='FRED') fails.)
Thanks for the note. I'm aware of this, and actually wanted to ask
this list
On 31/07/2015 6:14 PM, Kevin Ushey wrote:
I'm not sure if that's correct -- from what I see, in the generated Rd
documentation:
- The 'usage' is drawn from the S4 generic,
- The 'arguments' are drawn from the function.
I think R CMD check is correctly warning about that.
I agree the
On 12 August 2015 at 09:07, Duncan Murdoch wrote:
| On 12/08/2015 8:26 AM, Dirk Eddelbuettel wrote:
| I frequently tests against all reverse dependencies against some of my
| packages, ie Rcpp, RcppArmadillo, ... and packages using rgl generally fail
| during these tests.
[...]
| A while
I placed in top of all test scripts:
if(!interactive()) Sys.setenv(RGL_USE_NULL=TRUE) #disable RGL for headless
machines
on 3)
I guess I could build and test the github version of package on travis.ci in a
OSX environment
Many thanks for the help
PS What happens when you squeeze grapes? -they
Dear all,
When we prepared a release candidate form package mboost (see
https://github.com/hofnerb/mboost/tree/master/pkg/mboostPatch for the
code) we we found a strange issue regarding the timings. When running
R CMD check --as-cran
on the package mboost we found the following timings:
On 08/18/2015 05:12 AM, Berry Boessenkool wrote:
Hi all,
In the CRAN package policies [1], it says
Packages should not start external software (such as PDF viewers or
browsers) during examples or tests unless that specific instance of
the software is explicitly closed afterwards.
If I want to
On 17/08/2015 5:03 AM, Thierry Onkelinx wrote:
Dear all,
Is there an easy way to run the tests of a package on both a 32-bit and
64-bit version? Ideally it should work when using R CMD check --as-cran on
all OS's. Although I expect that multi architecture versions are only
available on
Use winbuilder, it runs 32-bit and 64-bit R tests on a Windows 64-bit
platform. Not sure how you implemented the different precisions, but
just go ahead and try on winbiulder.
Best,
Uwe Ligges
On 17.08.2015 11:03, Thierry Onkelinx wrote:
Dear all,
Is there an easy way to run the tests of a
Perhaps related: in the Bioconductor minfi package I do some checking on
somewhat large matrices (450,000 times n). To save space, I compute a hash
of the correct result using the digest package. As you, I ran into obvious
issues with precision across platforms. To solve this, I take the matrix
Dear all,
Is there an easy way to run the tests of a package on both a 32-bit and
64-bit version? Ideally it should work when using R CMD check --as-cran on
all OS's. Although I expect that multi architecture versions are only
available on windows. So a Windows only solution will be fine as well.
| Check DetailsVersion: 1.8.3
| Check: tests
| Result: ERROR
| Running the tests in ‘tests/stdUsage.R’ failed.
| Last 13 lines of output:
| plot(ffTest42,col=Col,plot_GOF=TRUE,speed=T)
| [1] compute goodness-of-fit with leave-one-out k-nearest
neighbor(guassian kernel),
On 15/08/2015 2:36 AM, Dean Attali wrote:
It seems like if a package is declared under the Imports: field in
the DESCRIPTION
file, and that package is not used in any code in the R directory, then I
get an error when doing a R CMD CHECK
Namespace in Imports field not imported from: 'DT'
Dear Duncan,
On 12 Aug 2015, at 14:07, Duncan Murdoch wrote:
A while ago I added support in rgl to run on headless machines. Set
the
environment variable RGL_USE_NULL=TRUE before loading rgl, and should
never try to call X11 (or whatever graphics system you're using).
(It's also possible to
On 18/08/2015 6:12 AM, Berry Boessenkool wrote:
Hi all,
In the CRAN package policies [1], it says
Packages should not start external software (such as PDF viewers or
browsers) during examples or tests unless that specific instance of
the software is explicitly closed afterwards.
If
Berry,
why not use
\href{[your link]}{[link text]}
in the documentation details[1]?
Best,
Mark
[1] https://cran.r-project.org/doc/manuals/R-exts.html#Marking-text
Op di 18 aug. 2015 om 13:21 schreef Duncan Murdoch murdoch.dun...@gmail.com
:
On 18/08/2015 6:12 AM, Berry Boessenkool wrote:
Dear all,
Thanks for the feedback.
@Uwe
I'll have a look at winbuilder. Can it handle non-CRAN dependencies?
E.g. packages which are available on github or bitbucket?
I was rather looking for something which can run on my local machine.
That would give me faster feedback than a remote system. My
Hello All,
The package that I am working no longer gives warnings upon closing connections
and syntax is used properly (and understood - thanks to all that answered my
questions). I have two questions regarding package documentation.
Any special considerations when creating multiple
Hi all,
I am trying to write an R package that relies on an external C library. My
understanding is that the prefered method is to include the C library in
the `src' folder of the package. I'm running into two problems that may
prevent this package from being distributed on CRAN:
1) The library
Dear list members,
My question was prompted by a message from a user indicating that loading
the Rcmdr package following installation via install.packages(Rcmdr)
failed in the manner I indicated, with the indirect dependency ggplot2
missing.
I thought that I was able to duplicate this error by
Dear list members,
I'm pretty sure (from memory) that this was discussed before but I can't
find a relevant thread.
The Rcmdr packages depends on the RcmdrMisc package which depends on the
Hmisc package which imports the ggplot2 package.
When the Rcmdr package is installed via
Hi all,
In the CRAN package policies [1], it says
Packages should not start external software (such as PDF viewers or
browsers) during examples or tests unless that specific instance of
the software is explicitly closed afterwards.
If I want to refer to a website with browseURL in the
Many CRAN packages offer improved performance when compiled with
OpenMP. However, the MacOS and Windows binaries built by CRAN are built
without openmp enabled. Would it be possible to build openmp enabled
binaries for some CRAN packages?
--
Joshua N. Pritikin
Department of Psychology
On Sun, Aug 23, 2015 at 08:01:08AM +0200, Mark van der Loo wrote:
Afaik, openmp is available on windows. According to writing R
extensions:
There is nothing to say what version of OpenMP is supported: version
3.0 (May 2008) is supported by recent versions of the Linux, _Windows_
On 24 August 2015 at 11:02, Joshua N Pritikin wrote:
| Currently, we have a configure script for package OpenMx that only
| enables openmp if gcc is the compiler (OS X only). Nice to hear that
| openmp is supported on Windows.
Interesting that you opt to ignore OpenMP support on the platform
On 24 August 2015 at 09:14, Joshua N Pritikin wrote:
| On Sun, Aug 23, 2015 at 08:01:08AM +0200, Mark van der Loo wrote:
| Afaik, openmp is available on windows. According to writing R
| extensions:
|
| There is nothing to say what version of OpenMP is supported: version
| 3.0
On Mon, Aug 24, 2015 at 09:29:34AM -0500, Dirk Eddelbuettel wrote:
On 24 August 2015 at 09:14, Joshua N Pritikin wrote:
| So I take that answer as, No, CRAN cannot possibly enable openmp for
| binary builds. Is that correct?
The CRAN maintainers are not withholding OpenMP from you because
On Mon, Aug 24, 2015 at 10:14:10AM -0500, Dirk Eddelbuettel wrote:
On 24 August 2015 at 11:02, Joshua N Pritikin wrote:
| Currently, we have a configure script for package OpenMx that only
| enables openmp if gcc is the compiler (OS X only). Nice to hear that
| openmp is supported on
Dirk, I pick one of the packages you suggested and asked my colleague to
test it on MacOS X. As you can see, it did not use more than 1 CPU. I
inspected the Makevars and found that it relied on
SHLIB_OPENMP_CXXFLAGS. This variable is set to -fopenmp on my laptop.
Does CRAN add -fopenmp to
The way several packages have implemented OpenMP is to wrap it in pre-compiler
statements i.e.:
// Include openMP if the compiler supports it
#ifdef _OPENMP
#include omp.h
#endif
This way, all compilers can build the code and those that have OpenMP (even
modified versions of clang:
Good day,
Why do I get a debug message and a change in browser level when I inspect the
title variable ? For the comparison variable, it simply prints its value and
remains at level 1.
aFunction - function(comparison = c(within, classifier, selection),
title =
I always get the browser level change in combination with if-statements...
You haven't by change at some point in time set
debug(aFunction)
If so, set
undebug(aFunction)
Berry
From: dstr7...@uni.sydney.edu.au
To: r-package-devel@r-project.org
Date: Thu, 20 Aug 2015 05:00:06 +
Subject:
On 20/08/2015 1:00 AM, Dario Strbenac wrote:
Good day,
Why do I get a debug message and a change in browser level when I inspect the
title variable ? For the comparison variable, it simply prints its value and
remains at level 1.
This is an R-devel question, not an R-pkg-devel question.
On 12 Aug 2015, at 23:30, Søren Havelund Welling wrote:
I placed in top of all test scripts:
if(!interactive()) Sys.setenv(RGL_USE_NULL=TRUE) #disable RGL for
headless machines
System environment variables are inherited, so I think you should be
able to do this once in your master test
Henrik,
Thanks for the detailed response! I'll have to look at the R.cache package
and try out your suggestions.
Jon
On Mon, Jun 29, 2015 at 12:48 PM, Henrik Bengtsson
henrik.bengts...@ucsf.edu wrote:
FYI,
my R.cache package keeps cache files under a specific cache directory.
To meet the
Most of this has been answered by others already. Note that package base
itself is always imported into the Namespace but names from the other
packages are not and really need to be if actually used.
Best,
Uwe Ligges
On 29.06.2015 19:09, Kevin Ushey wrote:
Hi Uwe,
It seems like this is
I am about to retire from my 'day job' and will therefore have little
further association with acadaemia/research in general or R in
particular. I am currently maintainer for the 3 mapping packages maps,
mapdata and mapproj.
Is there anyone out there who would be willing to take this on?
I
On 03/08/2015 4:31 PM, Glenn Schultz wrote:
Hello All,
I have a package which I would like to distribute. However, there are some
classes that are not exported if I provide a tar file can the user decompress
the tar to the source and then export class. I am thinking the answer is
year
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 15-08-03 06:34 PM, Glenn Schultz wrote:
Hi Ben,
[Please keep the list cc'd in your replies.]
Thanks for answering so quickly. Basically, I want to be able to
distribute the package to users and testers some are on Mac others
Windows. I
On 3 August 2015 at 19:32, Glenn Schultz wrote:
| Got it thanks - I want to achieve maximum exposure and transparency
So provide access to the source code, as well as to installable binaries.
That is a recipe many of us have used for years if not decades.
Dirk
--
http://dirk.eddelbuettel.com
Hi Ben,
I get it thanks - feedback very helpful.
-Glenn
On Aug 03, 2015, at 06:06 PM, Ben Bolker bbol...@gmail.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 15-08-03 06:34 PM, Glenn Schultz wrote:
Hi Ben,
[Please keep the list cc'd in your replies.]
Thanks for answering
Got it thanks - I want to achieve maximum exposure and transparency
Sent from my iPhone
On Aug 3, 2015, at 5:10 PM, Duncan Murdoch murdoch.dun...@gmail.com wrote:
On 03/08/2015 4:31 PM, Glenn Schultz wrote:
Hello All,
I have a package which I would like to distribute. However, there are
Besides what Duncan said, relying on user to supply arguments is pretty bad
as it more or less guarantees _any_ automated test will not succeed (for lack
of involvement of the sage user).
Writing configure scripts feels like yet another painful step, but it really
is not that hard if you know a
The behavior changed somewhere along the line. I think it is related to
the version bump from 3.1 to 3.2, but it could have been earlier.
It used to be when I wanted to release a version of my package I would run:
INSTALL
check
build
INSTALL --build (on each of a Windows and Mac box).
to
On 30/07/2015 2:53 PM, Russell Almond wrote:
I've got a package that uses C code to link R to a third-party library.
I've set up my configure script to take an argument --with-netica
which passes the location of the library, header files, c.
So I can install the package using:
$ R
Hi All,
I have a package stable and working. Now, I am trying to consolidate some
functions that share similar inputs. Example below. So, I branched on github
and work with the branch but now when I run the R check in studio I get the
following warning:
* checking Rd \usage sections ...
Thanks for the suggestion. I do have a configure script (that is what
is reading the --with-netica arg) but I didn't think about searching the
standard install locations. I can probably use that to work around this
problem.
However, that doesn't completely solve the problem. If I want to
On 31/07/2015 7:11 AM, Hadley Wickham wrote:
It seems arguable that this is actually a roxygen bug - the function
that's actually exported from the package does not have a type
argument.
The package fails R CMD check because of a bad .Rd file. If a user had
written that file, it would be user
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 15-08-03 04:31 PM, Glenn Schultz wrote:
Hello All,
I have a package which I would like to distribute. However, there
are some classes that are not exported if I provide a tar file can
the user decompress the tar to the source and then export
I have been somewhat surprised by the number of positive responses to my
message. I have found a candidate for the position of maintainer of the
maps, mapdata and mapproj packages. I have confidence that Alex Deckmyn
alex.deck...@meteo.be will do at least as good a job as I have done in
this
I've got a package that uses C code to link R to a third-party library.
I've set up my configure script to take an argument --with-netica
which passes the location of the library, header files, c.
So I can install the package using:
$ R CMD INSTALL RNetica
Colin Gillespie csgilles...@gmail.com
on Mon, 10 Aug 2015 20:33:32 + writes:
Dear All,
I have a package that uses reference classes. When I build the package I
get numerous notes of the sort
Note: no visible binding for '-' assignment to 'pars'
I've tried using
To your question:
Reference classes are used in *many* places, and the use of ' - '
is really standard there.
e.g., package 'lme4', or 'pcalg' are two packages I'm involved with,
which use ref.classes and ' - ' but are fine with that.
So there must be something peculiar in your
You can avoid the temporary file by replacing
dput(def, file= (tf - tempfile()))
compiler::cmpfile(tf)
with
cdef - compiler::compile(def)
#Note: no visible binding for '-' assignment to 'ConfigString'
The compiled code appears to work.
eval(cdef)
c1 - Config$new()
c1
#Reference
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
This is a problem in the compiler package. Here is a way to reproduce it:
def - quote(Config - setRefClass(Config,
fields = list(
ConfigString = character),
methods = list(
# Constructor
initialize = function() {
ConfigString - Hello, World!
})
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
| some guidance prior to submitting.
|
| 1. It requires some third party software (i.e. an
I'm trying to create a package that uses a MPI Fortran module. I have a working
version https://github.com/ignacio82/MyPi of that package that uses a
Fortran module without MPI.
When I run the function `FMPIpi(DARTS = 5000, ROUNDS = 100, cores=2)` I get
the following errors:
FMPIpi(DARTS =
Not sure, but your problem might be answered in the .Fortran() help page:
All Fortran compilers known to be usable to compile R map symbol names to
lower case, and so does .Fortran.
I've been caught by that before, and found that using all lowercase names
for Fortran routines in R is safest.
Also it's a little strange to put an RDS file _inside_ a gz, since
normally the compression is done internally.
And are you sure you should be exposing this data via a function,
rather than using the regular package data mechanism?
Hadley
On Sun, Aug 9, 2015 at 7:04 AM, Joshua Ulrich
Hi Joshua, Thank-you.
I did not realize that the call to return closed the connection
-Glenn
On Aug 9, 2015, at 9:04 AM, Joshua Ulrich josh.m.ulr...@gmail.com wrote:
On Sun, Aug 9, 2015 at 8:59 AM, Glenn Schultz glennmschu...@me.com wrote:
Hi All,
I use connections to open and close data
Hi All,
I use connections to open and close data folders needed by my package. After
each function closes I get the following warnings (depending on the connection
that has been opened).
10: closing unused connection 3
Thanks peter.
1. Does it say anywhere that the build process should use src/Makevars?
I'm not sure, where should it say that? I'm using the default options in
Rstudio to create a package
2. Also notice that an important part of the package concept is that
packages can be distributed.
The package
Hi,
I'm learning to develop R packages that use Fortran (and MPI). I recently
asked a question on stack-overflow and I was told to contact this list with
a followup question.
When I add to src/Makevars the follwoing line
FC=mpif90
Rstudio ignores it when I click `Build and Reload`. But, if I
Dear All,
I have a package that uses reference classes. When I build the package I
get numerous notes of the sort
Note: no visible binding for '-' assignment to 'pars'
I've tried using GlobalVariables, but that didn't solve the issue.
After some googling, I came across the page
Greetings,
I'm using dplyr inside of another package with examples like this:
data - dplyr::filter(data, datetime = trange[1], datetime = trange[2])
When I run my package through R CMD check I get the following NOTES:
monitorSubsetData: no visible binding for global variable ‘datetime’
I
On 11.08.2015 00:35, Jonathan Callahan wrote:
Greetings,
I'm using dplyr inside of another package with examples like this:
data - dplyr::filter(data, datetime = trange[1], datetime = trange[2])
When I run my package through R CMD check I get the following NOTES:
monitorSubsetData: no
Hi Jonathan,
Re: this note: no visible binding for global variable ‘datetime’
In programming and packages, it is recommended to use special versions of
dplyr’s single table verbs, e.g., use `filter_()` as opposed to `filter()`.
Note the underscore. The “underscore” functions use standard
Thanks Jenny! Just the advice I was looking for.
On Mon, Aug 10, 2015 at 4:40 PM, Jennifer Bryan je...@stat.ubc.ca wrote:
Hi Jonathan,
Re: this note: no visible binding for global variable ‘datetime’
In programming and packages, it is recommended to use special versions of
dplyr’s single
Hi Dirk,
Thanks for your response, I get the point on return(). For me, it is a security
blanket - I just need to let that go rather than justify keeping it. I will
refactor the connections and just get comfortable without return().
Thanks,
Glenn
On Aug 10, 2015, at 09:59 PM, Dirk
1 - 100 of 8754 matches
Mail list logo