Re: [R-pkg-devel] R CMD check no-nanny option?

2015-06-11 Thread Duncan Murdoch
more easily than suppressing them, so why not do that? Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Package with multiple compilers?

2015-05-29 Thread Duncan Murdoch
for those .o files in your Makevars file. It is essentially a fragment of the full Makefile needed by your package. I forget if you'll need to give an explicit recipe for the library, or whether the standard file will link them in. Try it! Duncan Murdoch

Re: [R-pkg-devel] need some help to understand package build workflow

2015-07-31 Thread Duncan Murdoch
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

Re: [R-pkg-devel] Running tests on 32-bit and 64-bit

2015-08-17 Thread Duncan Murdoch
. And thus need an easy way to run tests on both 32-bit and 64-bit. I'm not sure I see the problem. If you install both the 32 and 64 bit versions, then you can run whichever one you want. To run both, just give the full path to the R.exe executables when you run the tests. Duncan Murdoch

Re: [R-pkg-devel] Listing a package in Imports: when it's used outside of R directory

2015-08-15 Thread Duncan Murdoch
. Suggests sounds closer to what you want, so you could use that, but then your package will fail if a user installs it without suggested packages. Depends is generally a bad idea. So use Imports, but do import something. Duncan Murdoch __ R-package-devel

Re: [R-pkg-devel] browseURL in examples

2015-08-18 Thread Duncan Murdoch
. If I want to refer to a website with browseURL in the examples, what's the most elegant way to do it? \dontrun -- obtrusive ## not run parts, confuse new R-users # browseURL(www.link.html) -- user must uncomment things Using if (interactive()) browseURL(...) is a reasonable way. Duncan

Re: [R-pkg-devel] Browser Level for Conditional Function Parameter

2015-08-20 Thread Duncan Murdoch
sourced, it would give the line number from that file. Duncan Murdoch aFunction - function(comparison = c(within, classifier, selection), title = if(comparison[1] == within) Internal else Between) { browser() require(ggplot2) comparison - match.arg(comparison

Re: [R-pkg-devel] .tar vs. binary builds

2015-08-03 Thread Duncan Murdoch
it as a source package on CRAN. It's more work than self-publishing (because you need to meet their requirements), but it will improve your package. If your package is distributed in any other way, some people (like me) will advise against using it at all. Duncan Murdoch

Re: [R-pkg-devel] R CMD build with configure-args

2015-07-30 Thread Duncan Murdoch
it, but I'd like to know if it was removed for a reason. Duncan Murdoch but that generates an error: gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -I. -I/src -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c Cases.c -o

Re: [R-pkg-devel] need some help to understand package build workflow

2015-07-31 Thread Duncan Murdoch
error, but roxygen2 wrote it, so I'd say it's pretty clearly a roxygen2 bug. Duncan Murdoch Hadley On Fri, Jul 31, 2015 at 12:53 AM, Kevin Ushey kevinus...@gmail.com wrote: I've posted an MRE at https://github.com/klutometis/roxygen/issues/362. The issue occurs when a function and an S4

Re: [R-pkg-devel] Appropriate place to post about CRAN check environments etc.

2015-07-21 Thread Duncan Murdoch
. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] invalid 'envir' argument note from R-devel

2015-07-14 Thread Duncan Murdoch
It looks like a bug in codetools. It handles a number of functions specially; data() is one, binomial() is another. I think there are some implicit assumptions in it that stats and utils are on the search path, but in the new tests, they aren't. Duncan Murdoch On 14/07/2015 3:40 AM, peter

Re: [R-pkg-devel] renaming a package

2015-07-19 Thread Duncan Murdoch
'IRISSeismicRoll'. Rename it and submit it. In your message to CRAN, mention that you are renaming it from seismicRoll, and say why the name seismicRoll is no longer appropriate. Don't do this too often, but there's no problem doing it occasionally, when there's a good reason to do so. Duncan

Re: [R-pkg-devel] Help needed to setting custom packages for R 3.1.2

2015-07-13 Thread Duncan Murdoch
(){...} Then run roxygen::roxygenise() to build the NAMESPACE file. That's very dangerous advice. roxygen stomps on all kinds of things besides the things you want it to touch. Duncan Murdoch HTH Seth On Monday, July 13, 2015, sbihorel sebastien.biho...@cognigencorp.com wrote: Hi, My group

Re: [R-pkg-devel] invalid 'envir' argument note from R-devel

2015-07-13 Thread Duncan Murdoch
her example: e - new.env() data(mydataset, envir=e) I've substituted USArrests for mydataset. Duncan Murdoch Thanks for this, John -pd On 13 Jul 2015, at 22:31 , John Fox j...@mcmaster.ca wrote: Dear list members, I'm getting a new note from R-devel that I haven't seen before

Re: [R-pkg-devel] Do I need to namespace and import functions from 'methods' package?

2015-07-12 Thread Duncan Murdoch
On 12/07/2015 4:01 PM, Dean Attali wrote: I have a package that is using the 'is' function from the 'methods' package. My package has been on CRAN for some time now and has had 3 different versions already. Yesterday when submitting, I got a response with: * checking R code for possible

Re: [R-pkg-devel] Help needed to setting custom packages for R 3.1.2

2015-07-15 Thread Duncan Murdoch
functions -- but from a user point of view, you shouldn't be able to tell the difference, since you're not allowed to modify Hmisc::latex. Duncan Murdoch Sebastien On 7/13/2015 9:42 PM, sbihorel wrote: Hi, Sorry about the table. It looked good when displayed using a fixed width font

Re: [R-pkg-devel] Warnings with reverse dependencies in mutually dependend packages?

2015-08-25 Thread Duncan Murdoch
, then you could update both at once. When you submit the first one, say that the other submission is coming as well. You should also be making use of version specifiers in your DESCRIPTION file. If B version 2 won't work with A version 1, then say that, via Depends: A (=2.0.0) Duncan Murdoch

Re: [R-pkg-devel] how to make "r-release-osx-x86_64-mavericks" machine support rgl 3D plots

2015-10-08 Thread Duncan Murdoch
On 08/10/2015 4:41 PM, Dr Gregory Jefferis wrote: > Dear Duncan, > > Could I just revive this one more time > > On 16 Aug 2015, at 17:21, Duncan Murdoch wrote: > >> It is harder for you to implement this yourself, because CRAN frowns >> on >> tests that t

Re: [R-pkg-devel] how to make "r-release-osx-x86_64-mavericks" machine support rgl 3D plots

2015-10-08 Thread Duncan Murdoch
h. So I use .Rbuildignore to exclude those. Another way to achieve something similar is to put some tests in another directory besides "tests" (e.g. inst/slowtests), and use the --test-dir argument to R CMD check to run those. This way other people can run your tests if they wa

Re: [R-pkg-devel] Define S4 method for generic in other package

2015-08-28 Thread Duncan Murdoch
to do what you want pretty clearly, but I have no idea if the declarations above satisfy them. Duncan Murdoch setMethod( f = bar, signature = signature(A = myClass), definition = function( a, b ){ bar( a = myClass@A, b = myClass@B ) } ) When I

Re: [R-pkg-devel] html from Rd

2015-09-14 Thread Duncan Murdoch
the input file before conversion, or the output file after conversion. The latter is probably easier because the output is a little more predictable. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R-pkg-devel] Writing a portable package that imports functions only available on Windows

2015-09-19 Thread Duncan Murdoch
ight be a good idea to do away with them completely, but that would be pretty boring work, for little gain. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Problem (with complex.h?) under Microsoft Windows

2016-01-02 Thread Duncan Murdoch
kage thinking that this might prevent me from having to put the Faddeeva source files in my own package but it did not work ... Depends is not the way to link at the C++ level. If this is possible, you'll need to use LinkingTo as well as Imports. I'm not sure if it's possible, but people on the

Re: [R-pkg-devel] Build fails on Mavericks

2015-11-19 Thread Duncan Murdoch
-mac group. If not, give more details. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] How to link executables for non-R-users?

2016-06-16 Thread Duncan Murdoch
ng something optional, but I really see no point in that: it is no more work for you to write a function to do the work than it would be for you to handle a request from INSTALL to do the work, but it is a lot more work for us. Duncan Murdoch Further note that to prevent clogging the PATH wi

Re: [R-pkg-devel] Absent variables and tibble

2016-06-27 Thread Duncan Murdoch
e to make a faster internal implementation; !is.null(df$x) is quite a bit faster than "x" %in% names(df). Duncan Murdoch Hadley On Mon, Jun 27, 2016 at 10:05 AM, Lenth, Russell V <russell-le...@uiowa.edu> wrote: > Thanks, Hadley. I do understand why you'd want more careful c

Re: [R-pkg-devel] Force namespace prefix for a loaded package function

2016-06-27 Thread Duncan Murdoch
On 27/06/2016 5:46 PM, Tim Keitt wrote: http://www.keittlab.org/ On Mon, Jun 27, 2016 at 10:19 AM, Duncan Murdoch <murdoch.dun...@gmail.com <mailto:murdoch.dun...@gmail.com>> wrote: On 27/06/2016 11:08 AM, Tim Keitt wrote: http://www.keittlab.org/ On Mon,

Re: [R-pkg-devel] pdflatex crashes with R CMD check

2016-02-09 Thread Duncan Murdoch
--pdf "Rd2.tex" --max-iterations=20 -I "c:/R/R-32~1.3/share/texmf/tex/latex" -I "c:/R/R-32~1.3/share/texmf/bibtex/bst"' had status 1 Does someone has a clue what is going wrong? Miktex has been messing around with texify, and possibly with pdflatex (I'm just guess

Re: [R-pkg-devel] Package fails to build on Windows only, builds on GNU/Linux (parse issue)

2016-02-03 Thread Duncan Murdoch
to fix this character issue for Windows package development? I can't see any difference there. Is that the point, or do you see a difference? What is the exact error message you get when parsing? Duncan Murdoch I have created the R code with the Kate text editor. I have not had this issue

Re: [R-pkg-devel] Issue with nlme-package on Windows

2016-02-26 Thread Duncan Murdoch
as a library upon startup. Since installing and checking of packages is done in a separate R process, you would do this by setting an environment variable. Quoting Brian Ripley recently in R-devel: Set R_LIBS to change the library path for new sessions: see ?.libPath . Duncan Murdoch

Re: [R-pkg-devel] How to pass a connection into a C function (R 3.2)

2016-01-21 Thread Duncan Murdoch
advise the other method. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] How to pass a connection into a C function (R 3.2)

2016-01-21 Thread Duncan Murdoch
to do what you describe. Sorry, my advice was wrong. I remembered that we exposed code to create new connections, and assumed it had some code to work with them, but it doesn't. Duncan Murdoch Sorry if I was unclear. Sent from my iPhone >> On 21 Jan 2016, at 5:44 pm, Duncan M

Re: [R-pkg-devel] How to pass a connection into a C function (R 3.2)

2016-01-21 Thread Duncan Murdoch
connection object? You could also call R from C to do the I/O for you. Duncan Murdoch On 21 Jan 2016, at 6:04 pm, Duncan Murdoch <murdoch.dun...@gmail.com> wrote: On 21/01/2016 12:50 PM, Tom Quarendon wrote: But that's what I want to do, create the connection in R code and pass it on to

Re: [R-pkg-devel] Issue with vignette on win-builder

2016-01-20 Thread Duncan Murdoch
the vignette out of the package temporarily, but extract all of its R code (using the purl() function), and include that script as a test script. I believe you'll get more informative error messages from a test failure than a vignette failure. Duncan Murdoch

Re: [R-pkg-devel] Packages that depend on third-party binaries

2016-01-23 Thread Duncan Murdoch
to obtain the external software because of license issues. So you might think about distributing such a package to your colleagues and others by a less careful channel, e.g. Github. I tell my students *never* to use packages unless they are on CRAN, but you may have no choice. Duncan Murdoch

Re: [R-pkg-devel] Namespace error

2016-02-16 Thread Duncan Murdoch
will need to contact the Roxygen2 maintainers about this. We don't support it. Duncan Murdoch Glenn Error in namespaceExport(ns, exports) : undefined exports: View Error: package or namespace load failed for ‘BondLab’ Execution halted * checking whether the namespace can be loaded with stated

Re: [R-pkg-devel] Is it possible to protect a word from the spell checker?

2016-03-01 Thread Duncan Murdoch
directory in ?"aspell-utils". Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Possible R CMD check extensions (Was: Possibly mis-spelled words in DESCRIPTION)

2016-05-08 Thread Duncan Murdoch
ich also suck up CRAN's time and energy. The technical implementation is much easier than the procedural one. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Possible mis-spelled words ...

2016-07-21 Thread Duncan Murdoch
ON look like crap. You'll just have to throw yourself on the mercy of the CRAN judges. Duncan Murdoch I have a very vague recollection of having seen something about this topic on this mailing list, but a search of the archives turned up nothing. Nor could I find anything about &q

Re: [R-pkg-devel] Possible mis-spelled words ...

2016-07-21 Thread Duncan Murdoch
that and let real spelling errors slip through, the judges won't be merciful. Duncan Murdoch Jim On Fri, Jul 22, 2016 at 8:39 AM, Rolf Turner <r.tur...@auckland.ac.nz> wrote: On 22/07/16 10:34, Duncan Murdoch wrote: On 21/07/2016 5:48 PM, Rolf Turner wrote: I just had a revision of a p

Re: [R-pkg-devel] Handling Not-Always-Needed Dependencies?

2016-08-02 Thread Duncan Murdoch
On 02/08/2016 4:20 PM, Dirk Eddelbuettel wrote: On 2 August 2016 at 16:07, Duncan Murdoch wrote: | On 02/08/2016 1:41 PM, Dirk Eddelbuettel wrote: | > | > On 2 August 2016 at 13:12, Duncan Murdoch wrote: | > | On 02/08/2016 1:01 PM, Dirk Eddelbuettel wrote: | > | > | > |

Re: [R-pkg-devel] Handling Not-Always-Needed Dependencies?

2016-08-02 Thread Duncan Murdoch
On 02/08/2016 6:34 PM, Dirk Eddelbuettel wrote: On 2 August 2016 at 18:13, Duncan Murdoch wrote: | Okay, now I think I understand, but I agree with CRAN. It is not | feasible to tell if the test happened somewhere in the code unless we | enforce a particular way of writing the test. Debian

Re: [R-pkg-devel] Handling Not-Always-Needed Dependencies?

2016-08-02 Thread Duncan Murdoch
ht I understood Joshua's point (and agreed with it), but you also seem to be agreeing with him and I don't understand at all what you're saying. What is "this" in your last paragraph, that you have failed to convince CRAN gatekeepers about? Duncan Murdoch

Re: [R-pkg-devel] Handling Not-Always-Needed Dependencies?

2016-08-04 Thread Duncan Murdoch
On 03/08/2016 9:15 PM, Dirk Eddelbuettel wrote: On 3 August 2016 at 17:35, Duncan Murdoch wrote: | No, you are reading something into my messages that isn't there. I | think I understand your suggestion now (CRAN should test with no | Suggested packages present, not with all of them present

Re: [R-pkg-devel] Pkgs with ToS violations

2016-08-04 Thread Duncan Murdoch
has certified that the package satisfies the policy "The code and examples provided in a package should never do anything which might be regarded as malicious or anti-social.". Duncan Murdoch __ R-package-devel@r-project.org mailing

Re: [R-pkg-devel] relation between vignettes and help files

2016-07-13 Thread Duncan Murdoch
n't support relative links. (It is possible to set up your system so you can use absolute links by always running the help system on the same port, but you can't count on your users to be doing that.) So Ross is probably out of luck if he's using Sweave. Duncan Murdoch __

Re: [R-pkg-devel] relation between vignettes and help files

2016-07-15 Thread Duncan Murdoch
for particular kinds of vignettes (the ones rendered in HTML). Duncan Murdoch I suspect those problems are rare, and in those cases users can poke around in the install directories to find what they need. The reverse linking (vignettes to help) won't really work that way, as the Reference Manuals

Re: [R-pkg-devel] Absent variables and tibble

2016-06-27 Thread Duncan Murdoch
") in your tests. (Pick your own name to make your code understandable if you don't like my choice.) You could suggest to the tibble maintainers that they add a function like this. Duncan Murdoch __ R-package-devel@r-project.org mailing list http

Re: [R-pkg-devel] Handling Not-Always-Needed Dependencies? - Part 2

2016-08-04 Thread Duncan Murdoch
;) (The latter means you'd need to prefix all testthat functions with "testthat::", but it has the advantage that their names don't conflict with yours.) Or perhaps you don't want to give an error, you just want to skip some of your tests. It's your decision. Duncan Murdoch _

Re: [R-pkg-devel] Handling Not-Always-Needed Dependencies?

2016-08-02 Thread Duncan Murdoch
On 02/08/2016 1:41 PM, Dirk Eddelbuettel wrote: On 2 August 2016 at 13:12, Duncan Murdoch wrote: | On 02/08/2016 1:01 PM, Dirk Eddelbuettel wrote: | > | > On 2 August 2016 at 11:36, Joshua Ulrich wrote: | > | Maybe I'm missing something, but isn't that the point o

Re: [R-pkg-devel] R package with external C++ library

2016-08-03 Thread Duncan Murdoch
these? I don't set CRAN policy, but I would say yes. Problem 1 limits your package to systems using compilers that support those antiquated headers; R tries very hard to be portable across many systems. Problem 2 makes R potentially unstable. Duncan Murdoch I'm not very used to writing C/C++ code

Re: [R-pkg-devel] R package with external C++ library

2016-08-03 Thread Duncan Murdoch
? Yes. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Handling Not-Always-Needed Dependencies?

2016-08-03 Thread Duncan Murdoch
On 03/08/2016 2:03 PM, Dirk Eddelbuettel wrote: On 3 August 2016 at 13:44, Duncan Murdoch wrote: | On 03/08/2016 11:17 AM, Dirk Eddelbuettel wrote: | > | > On 3 August 2016 at 16:21, Uwe Ligges wrote: | > | | > | | > | On 03.08.2016 16:14, Dirk Eddelbuettel wrote: | > | >

Re: [R-pkg-devel] no visible global function definition for ‘par’

2017-01-30 Thread Duncan Murdoch
grDevices, that won't happen. Duncan Murdoch Thank you, Cathy Lee Gierke *“Darkness cannot drive out darkness: only light can do that. Hate cannot drive out hate: only love can do that.” * *“The arc of the moral universe is long, but it bends towards justice.”* *“Nothing in the world is more

Re: [R-pkg-devel] package API change

2017-01-18 Thread Duncan Murdoch
will eventually go away. (Or just re-implement the old ones using the new ones.) You can call the .Deprecated() function from the old ones to warn users every time they are used. Duncan Murdoch __ R-package-devel@r-project.org mailing list https

Re: [R-pkg-devel] Handling Not-Always-Needed Dependencies?

2016-08-03 Thread Duncan Murdoch
't see how :: would be any different than it is now. If you don't have foo available, and you try to use foo::bar(), what would happen other than an error? Duncan Murdoch Op wo 3 aug. 2016 om 01:46 schreef Duncan Murdoch <murdoch.dun...@gmail.com <mailto:murdoch.dun...@gmail.com>&

Re: [R-pkg-devel] Handling Not-Always-Needed Dependencies? - Part 2

2016-08-04 Thread Duncan Murdoch
gested package. Users of your package don't need the other one, but testers do. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] .bib file in vignette not found during R CMD check

2017-02-28 Thread Duncan Murdoch
check on your own, please use the `dev` branch; https://github.com/pat-s/sperrorest/tree/dev pandoc-citeproc: stable 0.10.4.1 (bottled), HEAD pandoc: stable 1.19.2.1 (bottled), HEAD Your .Rbuildignore file says not to include Biblio.bib. Don't do that. Duncan M

Re: [R-pkg-devel] .bib file in vignette not found during R CMD check

2017-02-28 Thread Duncan Murdoch
ource directory". Put ^ at the beginning if you want to refer to the main dir. Hadley, reporting what gets omitted might be a good suggestion, but it might report too much in a package with compiled code (the .o files will generally be omitted; rgl has 51 of those in src...). Duncan Murdo

Re: [R-pkg-devel] R CMD Check warning about vigentte dates

2016-09-15 Thread Duncan Murdoch
py of the tarball that causes them. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Mis-spelled word with winbuilder

2016-09-21 Thread Duncan Murdoch
CRAN asks that software names be quoted (in single quotes). In particular, R package names should be quoted. Proper names of people and things other than software do not need to be quoted. Duncan Murdoch __ R-package-devel@r-project.org mailin

Re: [R-pkg-devel] doc url to vignette

2016-09-21 Thread Duncan Murdoch
se URL "vignette2.html". They'll be installed in the same directory when the package is installed, so the relative link will work. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] R Packages Never Finish Check

2016-09-30 Thread Duncan Murdoch
check does. If they both give the same problem, you might need to dive into the R sources to see what "* checking installed package size ..." really does, and try running code like that independently. Duncan Murdoch This is my session info: R version 3.3.1 (2016-06-21) Platform: x86_64-w64

Re: [R-pkg-devel] Understanding notes from win-builder

2016-10-03 Thread Duncan Murdoch
ractive()) browseURL( ... ) Duncan Murdoch -Roy > On Oct 3, 2016, at 11:56 AM, Duncan Murdoch <murdoch.dun...@gmail.com> wrote: > > On 03/10/2016 1:22 PM, Hadley Wickham wrote: >> On Mon, Oct 3, 2016 at 12:10 PM, Roy Mendelssohn - NOAA Federal >> <roy.mendelss...@no

Re: [R-pkg-devel] Note and warning about subdirectory sizes

2016-10-02 Thread Duncan Murdoch
e extdata sub-directory has .R files, .png files (taking up the most space), and .txt files. That message is likely talking about a vignette. See the help page ?compactPDF for how to invoke it during a build. Duncan Murdoch __ R-package-devel@r-

Re: [R-pkg-devel] Using BLAS on Windows

2016-11-10 Thread Duncan Murdoch
(FLIBS) I don't know if you need LAPACK and Fortran libs; try it without those if you want. R will set the macros appropriately when it is built. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-p

Re: [R-pkg-devel] package in 'Suggests'

2016-10-19 Thread Duncan Murdoch
ted. However, we don't do those tests, because we currently don't have the resources to do so. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Change in maintainer email address

2016-11-16 Thread Duncan Murdoch
? They should both happen around the same time. It doesn't matter what order. If one happens too much before the other, things are likely to go wrong and cause both you and CRAN extra work. Duncan Murdoch __ R-package-devel@r-project.org mailing list

Re: [R-pkg-devel] building binary gives error when trying to load

2016-11-01 Thread Duncan Murdoch
On 01/11/2016 1:10 PM, Henric Winell wrote: On 2016-11-01 17:01, Uwe Ligges wrote: > On 01.11.2016 15:56, Duncan Murdoch wrote: >> On 01/11/2016 9:49 AM, Rampal Etienne wrote: >>> Dear all, >>> >>> When I try to build a Windows binary in RStudio using R-d

[R-pkg-devel] Package submissions via ftp will no longer be accepted by CRAN

2016-11-01 Thread Duncan Murdoch
ecided that it will be a requirement for submission from now on. Documentation updates will be showing up as we find them. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] warning from win_build

2016-12-29 Thread Duncan Murdoch
the change to R-devel is very recent, it may change again.) Duncan Murdoch cheers Ben On 16-12-29 01:16 PM, Roy Mendelssohn - NOAA Federal wrote: Hi All: I am working on a new submission of my xtractomatic package (the main change being the use of https). I develop on a Mac. When

Re: [R-pkg-devel] warning from win_build

2016-12-29 Thread Duncan Murdoch
ucture() puts it on a length-zero list instead. R-devel's complaint is unnecessary here, but could be avoided with the code change waiver <- function() structure(list(), class = "waiver") I've cc'd Hadley to let him know. Duncan Murdoch -Roy On Dec 29, 2016, at 11:44 AM

Re: [R-pkg-devel] Including Rcpp in an existing package

2016-12-22 Thread Duncan Murdoch
the list of "reverse " on https://CRAN.R-project.org/package=Rcpp (where is Depends, Imports, Suggests, or LinkingTo). Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Windows specific compiler for CUDA builds

2017-03-16 Thread Duncan Murdoch
recruit someone to do it), go ahead. Assuming you do a good job, we can put your patches into the base code. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] R CMD check not finding my vignettes

2017-04-19 Thread Duncan Murdoch
maybe the error messages will be less obscure.) Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] R_registerRoutines, etc.

2017-04-23 Thread Duncan Murdoch
ision(a-h,o-z) . I.e. the "actual types are "double precision", "double precision", "integer", "double precision", "double precision". So in this case I should (?) replace extern void F77_NAME(mnn

Re: [R-pkg-devel] R_registerRoutines, etc.

2017-04-23 Thread Duncan Murdoch
On 23/04/2017 6:38 AM, Rolf Turner wrote: On 23/04/17 21:57, Duncan Murdoch wrote: On 22/04/2017 5:25 PM, Rolf Turner wrote: (1) I found that having an R function with the same name as that of a routine (Fortran subroutine in this case) that it called, causes all sorts of chaos. I had

Re: [R-pkg-devel] R_registerRoutines, etc.

2017-04-23 Thread Duncan Murdoch
On 23/04/2017 6:18 PM, Rolf Turner wrote: On 23/04/17 23:05, Duncan Murdoch wrote: Looks like extern void F77_NAME(mnnd)(double *, double *, int *, double *, double *); to me. One more (I hope it's the last!) question: One of my subroutines has an argument of type *logical

Re: [R-pkg-devel] R_registerRoutines, etc.

2017-04-23 Thread Duncan Murdoch
On 23/04/2017 7:53 PM, Rolf Turner wrote: On 24/04/17 11:36, Duncan Murdoch wrote: On 23/04/2017 6:18 PM, Rolf Turner wrote: On 23/04/17 23:05, Duncan Murdoch wrote: Looks like extern void F77_NAME(mnnd)(double *, double *, int *, double *, double *); to me. One more (I hope it's

Re: [R-pkg-devel] best way the handle errors conditionally

2017-03-06 Thread Duncan Murdoch
<- function() { ... } if (transaction) { DBI::dbBegin(conn) } tryCatch( longset() error = function(e){ if (transaction) { dbRollback(conn) } stop(e) } ) Duncan Murdoch __ R-package-devel@r-project.org mailing list ht

Re: [R-pkg-devel] .bib file in vignette not found during R CMD check

2017-03-01 Thread Duncan Murdoch
On 01/03/2017 2:17 AM, Henrik Bengtsson wrote: On Tue, Feb 28, 2017 at 2:47 PM, Duncan Murdoch <murdoch.dun...@gmail.com> wrote: On 28/02/2017 5:17 PM, Patrick Schratz wrote: Thanks Duncan, that was the problem! Although the Rbuildignore entry pointed to the main dir No, it co

Re: [R-pkg-devel] Problems runing a example (shiny App) within a package

2017-07-29 Thread Duncan Murdoch
n "checking examples ..." and don't complete the tests. How to solve it Shiny apps are interactive, and the tests are performed in a batch session, so one simple approach is to change your example to if (interactive()) runclt() Duncan Murdoch Link to source code https://1drv.ms/u/

Re: [R-pkg-devel] package dependencies not detected?

2017-08-16 Thread Duncan Murdoch
On 16/08/2017 8:31 AM, Dirk Eddelbuettel wrote: On 16 August 2017 at 12:51, peter dalgaard wrote: | > On 16 Aug 2017, at 11:11 , Berry Boessenkool wrote: | > | > if a function in a package uses graphics::legend in the code, but does not import it in the

Re: [R-pkg-devel] \Sexpr{} expressions but no 'build/partial.rdb' file

2017-07-27 Thread Duncan Murdoch
. The CRAN message was correct. Phil, it would be helpful if you explained how you really produced that tarball, so people know how not to do it. Duncan Murdoch Phil On Wed, Jul 26, 2017 at 10:30 AM, Duncan Murdoch <murdoch.dun...@gmail.com <mailto:murdoch.dun...@gmail.com>> wrote

Re: [R-pkg-devel] \Sexpr{} expressions but no 'build/partial.rdb' file

2017-07-26 Thread Duncan Murdoch
is warning and my difficulty in reproducing the message? Thank you in advance. How did you produce the tar.gz file? If you did it in some way other than running "R CMD build ...", don't do that. When I run R CMD build, I do get the build/partial.rdb file in the tarba

Re: [R-pkg-devel] spell check in DESCRIPTION

2017-07-26 Thread Duncan Murdoch
sure why it showed up in your check. Duncan Murdoch (Full report in link below) best, Simon <https://win-builder.r-project.org/incoming_pretest/170726_112041_mgcv_1818/00check.log> -- Simon Wood, School of Mathematics, University of Bristol BS8 1TW UK +44 (0)117 33 18273

Re: [R-pkg-devel] \Sexpr{} expressions but no 'build/partial.rdb' file

2017-07-26 Thread Duncan Murdoch
hin R using untar("mirtCAT_1.6.tar.gz", list = TRUE) When I do that, the partial.rdb file is entry 28. Duncan Murdoch Phil On Wed, Jul 26, 2017 at 7:06 AM, Duncan Murdoch <murdoch.dun...@gmail.com <mailto:murdoch.dun...@gmail.com>> wrote: On 25/07/2017 4:42 PM, Phil Chalmer

Re: [R-pkg-devel] Doubt about adding files to a R package

2017-06-28 Thread Duncan Murdoch
) You can also use the "data" directory if you want to make them available to users using the data() function. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Using non-exported functions from another package with :::

2017-07-05 Thread Duncan Murdoch
functions (or equivalent ones). This might be more successful if you write the help pages and send them a Github pull request explaining your need, since that makes it essentially no immediate work (just long term support work). Duncan Murdoch Thank you in adv

Re: [R-pkg-devel] The Help (e.g. links) is not working for my packages

2017-08-09 Thread Duncan Murdoch
thing that you've written is reproducible by others. See if you can put together a short self-contained series of instructions that display the problems (or just one of them). It might involve installing from Github, or making a package tarball available somewhere. Duncan Murdoch _

Re: [R-pkg-devel] DBI connection at package load

2017-08-04 Thread Duncan Murdoch
se #' to import the usefull function. #' @return NULL #' @export #' @import dplyr dbplyr DBI magrittr RPostgreSQL tidyr #' #' @examples #' fun_import() fun_import <- function(){ NULL } Not sure why you'd want these 13 lines instead of editing your NAMESPACE file, but that's your choice...

Re: [R-pkg-devel] Plotrix install bug with Umlauts in path name

2017-08-22 Thread Duncan Murdoch
to this, I would be happy to hear about it as if there is a problem with the plotrix package I would like to fix it. Thanks. I just tried this, and had no problem. So I think you'll need to see the logs of exactly what problem André was seeing. Duncan Murdoch Jim Original message Just

Re: [R-pkg-devel] Guidance on importind multiple text files for @example

2017-05-11 Thread Duncan Murdoch
ample". Not sure what you mean by "import". What are you starting with? What do you want to end up with? Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] package installation fails due to missing package not listed in NAMESPACE

2017-05-16 Thread Duncan Murdoch
eNamespace("ggplot2")) ggplot2::ggplot() else ... (optional warning that you need it) ... Duncan Murdoch ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest team Biometrie & Kwaliteitszorg / team Biometrics & Quality Ass

Re: [R-pkg-devel] Surprised by as.Date() and lubridate::today()

2017-06-19 Thread Duncan Murdoch
ridate might have replaced it), then report on the bug list, or on R-devel. Duncan Murdoch library(lubridate) # today() does not behave as I expected tz(now(tzone = "EET")) tz(today(tzone = "EET")) # UTC!! today("America/New_York") == today("Asia/Tokyo") # FA

Re: [R-pkg-devel] could not find function of a package

2017-05-26 Thread Duncan Murdoch
that run every function that you are exporting. If you had done that originally, this error would never have slipped through testing. Duncan Murdoch Arnab Kumar Maity Department of Statistics Texas A University 3143 TAMU, Room 401A College Station, TX 77843 aku...@stat.tamu.edu<mailto:arnabk

Re: [R-pkg-devel] R force download of specific package versions in DESCRIPTION file

2017-05-21 Thread Duncan Murdoch
has the same bug. Duncan Murdoch Also posted on SO: http://stackoverflow.com/questions/44028355/r-force- download-of-specific-package-versions-in-description-file Thanks, Martin [[alternative HTML version deleted]] __ R-package-deve

Re: [R-pkg-devel] Changing a package's name

2017-06-13 Thread Duncan Murdoch
would find offensive. However, CRAN's opinion is relevant if you want them to distribute it for you. Name changes cause extra work for them so please don't do it unnecessarily, and if you do think it's necessary, explain your reasoning to them when you submit. Duncan Murdoch On 11/06/2017

Re: [R-pkg-devel] Note about portable file names

2017-06-11 Thread Duncan Murdoch
characters, so you could easily avoid the note by removing or shortening the "third_party" directory name, which should be under your control. If you have others where that is not sufficient, you can think about renaming other directories, though I can see that wouldn't be desirable

  1   2   3   4   5   6   7   8   >