Colleagues,
I have a function (maxsimset) in package optpart that has worked for
at least a decade, passes check --as-cran on my ubuntu-based system, and
builds without errors at win-builder and CRAN windows, but fails at CRAN
debian (unstable) with the error
> mss.test(mss.10,shoshsite$e
On Wed, 15 Jan 2020 at 13:58, Roberts, David wrote:
>
> Colleagues,
>
> I have a function (maxsimset) in package optpart that has worked for
> at least a decade, passes check --as-cran on my ubuntu-based system, and
> builds without errors at win-builder and CRAN windows, but fails at CRAN
> d
If mss$member is not a matrix you will get that error because setsiz will
be NULL.
> setsiz <- ncol( 33 )
> sample(1:3, setsiz)
Error in sample.int(length(x), size, replace, prob) :
invalid 'size' argument
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Wed, Jan 15, 2020 at 4:58 AM R
Dear Bill, Dear Iñaki,
Thank you both; I'm confident that you are right. I realized a list
or data.frame would generate that error message, but I did not know that
NULL would also do so.
This means the the error occurred in the previous function call
which produced an output object t
On Wed, 15 Jan 2020 at 19:26, Roberts, David wrote:
>
> Dear Bill, Dear Iñaki,
>
> Thank you both; I'm confident that you are right. I realized a list
> or data.frame would generate that error message, but I did not know that
> NULL would also do so.
>
> This means the the error occurred
Thanks Iñaki. I was unaware of rhub. Nice tool! Unfortunately, their
debian machine odes not reproduce the error. I have written the R
Submission crew to see if I can submit a package with a
print(str(mss.10)) call to see the output in the examples log, or if
that is an abuse of CRAN submis
One of the issues I'm running into is that it seems every time there's a Mac
update something gets broken with regards to compilers, making it incredibly
challenging to get the development install of R working with Rcpp (which is a
requirement for the packages I need to use to check my packages)
Hi Jonathan,
rocker/r-devel was updated yesterday afternoon (I was able to pull it using
docker on my mac - tested and it works with gcc 9/gfortran 9) and valgrind
(many thanks to the rockerstars!)
best,
Merlise
Merlise A Clyde
Professor Department of Statistical Science
Duke University
http:/
Jonathan,
In all but one (maybe two?) of my packages I found relying on options()
sufficient. I usually follow the somewhat-common pattern of creating a
package-local environment in R/init.R or R/zzz.R. I then fill it with values
reflecting options() (often under a tag starting with the package
Jonathan,
Rocker should be building weekly r-devel and drd (similar, was meant to be a
littler "lighter", effectively the same) images.
As Merlise noticed, somehow the cronjob push to the Docker Hub build service
started to fail -- this sadly happens once in a while so I manually triggered
a re
Hello, All:
How can I create a new project within my GitHub account
(https://github.com/sbgraves237/)?
I'm trying to follow "http://r-pkgs.had.co.nz/git.html":
...
Synchronising with GitHub
...
Open a shell, then follow the instructions on the new repo page.
They’ll look
On 2020-01-15 17:18, Gábor Csárdi wrote:
Seems like you skipped step 1?
"1. Create a new repo on GitHub: https://github.com/new. Give it the
same name as your package, and include the package title as the repo
description. Leave all the other options as is, then click Submit."
Gabor
Awesome -- the key was the "RD", so for me:
docker run -v /Users:/Users --rm -ti rocker/r-devel RD
(where, on a Mac, I was binding my Mac's /Users to the Docker's /Users
directory)
Thanks, all!
--j
On Wed, Jan 15, 2020 at 2:53 PM Dirk Eddelbuettel
mailto:e...@debian.org>> wrote:
Jonathan,
Just in case it helps anyone else who struggles to reproduce CRAN valgind
checks, I decided to document my steps with R-devel & valgrind at
https://github.com/merliseclyde/docker-valgrind has the Dockerfiles to build a
container starting with rocker/r-devel and adding supporting files to build
14 matches
Mail list logo