[R-pkg-devel] cpp11 and "non-API calls to R"

2024-07-08 Thread Mark Padgham
l and quite prominent case, to hear any views from CRAN folk as to whether everybody dependent on cpp11 will have to wait for resolution before they'll be able to resubmit? Alternatively, any indication from anybody in a position to opine on cpp11 status and future maintenance p

Re: [R-pkg-devel] The problem with resubmitting the package to the Cran

2023-11-09 Thread Mark Padgham
You'll need to fix that note before resubmitting. If you can share a link to a public repository, people in this list will likely be able to help. regards, Mark On 11/8/23 17:54, Karolina Marek wrote: Hello, I have the following case. I would like to resubmit a package to the Cran - per

Re: [R-pkg-devel] Trouble with long-running tests on CRAN debian server

2023-08-21 Thread Mark Padgham
On 21/08/2023 14:34, Dirk Eddelbuettel wrote: On 21 August 2023 at 15:16, Ivan Krylov wrote: | On Mon, 21 Aug 2023 12:02:55 +0100 | Scott Ritchie wrote: | | > remotes::install_github("sritchie73/ukbnmr") | > library(ukbnmr) | > system.time({ remove_technical_variation(test_data) }) | | data.ta

Re: [R-pkg-devel] Suppressing compiler warnings?

2023-08-14 Thread Mark Padgham
On 14/08/2023 14:43, Dirk Eddelbuettel wrote: On 14 August 2023 at 11:51, Mark Padgham wrote: | An update of a package of mine got immediately kicked off CRAN because | an externally-bundled file which had not been changed for years, and | which included "pragma clang system_heade

[R-pkg-devel] Suppressing compiler warnings?

2023-08-14 Thread Mark Padgham
s actually better than nullptr the way the code is constructed. The rest are - currently - unimportant deprecation warnings, all of one specific class.) Thanks, Mark __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] if statements in NAMESPACE file

2021-09-30 Thread Mark Miller
Returning to the original question, if it's helpful: I'd like to know what constraints led to considering an export only available on Windows, and see if we can suggest some other designs. It'd be good to keep the user's mental model abstracted from the platform they're working on. There are often

Re: [R-pkg-devel] Skipping tests on CRAN

2021-04-20 Thread Mark van der Loo
on the value of that environment variable. This is what tinytest does under the hood. Best, Mark On Wed, Apr 21, 2021 at 7:17 AM Ott Toomet wrote: > Hi packagers, > > what is the best way to skip certain tests on CRAN? So far I have included > certain test files in .Rbuildignore

[R-pkg-devel] Checks on wrong package?

2021-04-12 Thread Mark Hogue
ase advise. Thanks, Mark Hogue [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Confusion about what should be in Imports for a package with a shiny app

2021-03-24 Thread R. Mark Sharp
interactively or in their own scripts and applications. I will modify the DESCRIPTION file accordingly. Mark R. Mark Sharp, Ph.D. Data Scientist and Biomedical Statistical Consultant 7526 Meadow Green St. San Antonio, TX 78251 mobile: 210-218-2868 rmsh...@me.com > On Mar 24, 2021, a

[R-pkg-devel] Confusion about what should be in Imports for a package with a shiny app

2021-03-24 Thread R. Mark Sharp
ld be listed within the DESCRIPTION file. Help will be appreciated. Mark R. Mark Sharp, Ph.D. Data Scientist and Biomedical Statistical Consultant 7526 Meadow Green St. San Antonio, TX 78251 mobile: 210-218-2868 rmsh...@me.com __ R-package-devel@r-projec

Re: [R-pkg-devel] Assigning a variable to global environment

2020-12-11 Thread Mark Miller
to refer to the columns without the $. On Fri, Dec 11, 2020 at 11:13 AM Tiago Olivoto wrote: > Thanks, everyone, > > Following Mark suggestion: > > The problem I'm trying to solve is: > Users of my package metan (https://CRAN.R-project.org/package=metan), > sometimes n

Re: [R-pkg-devel] Assigning a variable to global environment

2020-12-11 Thread Mark Miller
I think it would be helpful to describe more deeply what you're trying to do by this. There's a fair chance there's a better way to do what you're trying to do. Mark On Fri, Dec 11, 2020 at 10:53 AM Tiago Olivoto wrote: > Thank Matt for your response. > Would be an ac

[R-pkg-devel] C++11 requirements for package dependencies

2020-11-30 Thread Mark Clements
ons to use C++11 for older versions of R? Moreover, as a principle, should a package need to change the Makevars and DESCRIPTION files to suit the most recent updates of their dependencies? I would have thought that such a need would break many packages. Sincerely, Mark. När du skickar e-post till

Re: [R-pkg-devel] Interpret feedback: not write testthat-tests in examples

2020-07-16 Thread Mark van der Loo
authors to make sure that their package works as it should and to avoid re-introducing bugs (regressions). Best, Mark On Thu, Jul 16, 2020 at 3:28 PM Richel Bilderbeek < ric...@richelbilderbeek.nl> wrote: > Dear R package developers, > > I would enjoy some help regarding som

Re: [R-pkg-devel] Two packages with the same generic function

2020-06-22 Thread Mark Leeds
Hi Duncan: I maintain dynlm and your example is the exact reason I've been getting emails from people regarding it not working correctly. I've been telling them to load dplyr by using library(dplyr, exclude = c("filter", "lag")) On Mon, Jun 22, 2020 at 7:57 PM Duncan Murdoch wrote: > On 22/

Re: [R-pkg-devel] [R] a question of etiquette

2020-06-02 Thread R. Mark Sharp
defending their position and disagree with it. However, it is their position based on what I think is a conservative or overly cautious legal interpretation. I am not a lawyer, however, so my opinions are of no import. Mark R. Mark Sharp, Ph.D. Data Scientist and Biomedical Statistical Consultant

Re: [R-pkg-devel] [R] a question of etiquette

2020-06-02 Thread R. Mark Sharp
I strongly prefer. The GPL-2 and GPL-3 licenses are apparently sufficiently ambiguous in the legal community that some companies avoid them. Mark R. Mark Sharp, Ph.D. Data Scientist and Biomedical Statistical Consultant 7526 Meadow Green St. San Antonio, TX 78251 mobile: 210-218-2868 rmsh

[R-pkg-devel] Fwd: [R] a question of etiquette

2020-06-01 Thread R. Mark Sharp
the following: person("Terry", "Therneau", role = c("aut”)) Mark R. Mark Sharp, Ph.D. Data Scientist and Biomedical Statistical Consultant 7526 Meadow Green St. San Antonio, TX 78251 mobile: 210-218-2868 rmsh...@me.com > Begin forwarded message: > > Fro

[R-pkg-devel] Examples for functions called by Shiny server

2020-03-15 Thread R. Mark Sharp
an Rd file that is to have the example. I cannot think of a meaningful example for a function that creates the content of a new Shiny tabpanel when an error is detected. Suggestions are eagerly sought. Mark R. Mark Sharp, Ph.D. Data Scientist and Biomedical Statistical Consultant 7526 Meadow

Re: [R-pkg-devel] dir() function use in R packages

2020-03-04 Thread Mark Leeds
I think you want file.path(). you can use that to make a directory that includes a path to it. See ?file.path for more details. Then, you can do something like mydir ,- file.path(whatever)1, whatever2). setwd(mydir) but mydir needs to exist before you do that so check existence first using file.

Re: [R-pkg-devel] Manual inspection of a new CRAN submission

2019-12-18 Thread R. Mark Sharp
mistake. Mark R. Mark Sharp, Ph.D. Data Scientist and Biomedical Statistical Consultant 7526 Meadow Green St. San Antonio, TX 78251 mobile: 210-218-2868 rmsh...@me.com > On Dec 18, 2019, at 7:26 PM, Mauricio Zambrano-Bigiarini > wrote: > > Thank you very much Duncan for the

Re: [R-pkg-devel] Fwd: CRAN submission radsafer 2.1.0

2019-12-17 Thread Mark van der Loo
xes on the confirmation page) the package will be staged for build and check at CRAN. Once your package passes this stage, it is released on CRAN. After that it takes some days before your package has been built and checked at the different architectures listed on the CRAN check results page. HTH, Mark O

[R-pkg-devel] Fwd: CRAN submission radsafer 2.1.0

2019-12-17 Thread Mark Hogue
Submission Date: Tue, Dec 17, 2019 at 5:55 PM Subject: CRAN submission radsafer 2.1.0 To: Mark Hogue Dear Mark Hogue Someone has submitted the package radsafer to CRAN. You are receiving this email to confirm the submission as the maintainer of this package. To confirm the submission to CRAN, follow

[R-pkg-devel] compression of vignettes

2019-11-21 Thread R. Mark Sharp
".", args = c('--no-manual', '--compact-vignettes="gs+qpdf"'); devtools::test(); quit(save = "no", status = if (length(c(r$errors, r$warnings)) > 0) { 1 } else { 0 }, runLast = FALSE)' I have tried the following build arguments in RStu

[R-pkg-devel] R-hub PREPERROR on Ubuntu Linux 16.04 LTS, R-release, GCC not on other platforms

2019-11-08 Thread R. Mark Sharp
not available for package ‘nprcmanager’ The following platforms have no errors or warnings and have only the “New submission” note. Windows Server 2008 R2 SP1, R-devel, 32/64 bit Fedora Linux, R-devel, clang, gfortran Mark R. Mark Sharp, Ph.D. Data Scientist and Biomedical Statistical Consultant 75

Re: [R-pkg-devel] License of pre-built vignettes

2019-10-25 Thread Mark van der Loo
Adding a static PDF vignette is very easy. I have written about it here: http://www.markvanderloo.eu/yaRb/2019/01/11/add-a-static-pdf-vignette-to-an-r-package/ Best, Mark Op vr 25 okt. 2019 13:22 schreef Berry Boessenkool < berryboessenk...@hotmail.com>: > > You could also consi

Re: [R-pkg-devel] checking CRAN incoming feasibility NOTE

2019-10-05 Thread R. Mark Sharp
d release) ## R CMD check results 0 errors | 0 warnings | 1 note * This is a new release. R. Mark Sharp, Ph.D. Data Scientist and Biomedical Statistical Consultant 7526 Meadow Green St. San Antonio, TX 78251 mobile: 210-218-2868 rmsh...@me.com > On Oct 5, 2019, at 5:10 PM, Roy Mendelssohn - NOAA

[R-pkg-devel] checking CRAN incoming feasibility NOTE

2019-10-05 Thread R. Mark Sharp
elease) checking CRAN incoming feasibility ... NOTE Maintainer: 'R. Mark Sharp ' New submission License components with restrictions and base license permitting such: MIT + file LICENSE File 'LICENSE': Copyright 2017-2019 R. Mark Sharp Permission is hereby g

Re: [R-pkg-devel] CRAN policies with regards to runnable examples

2019-10-01 Thread Mark van der Loo
} anywhere, I will at initial submission already use the 'Optional Comment' box to document why each \dontrun{} is necessary. Based on my earlier experiences, this seems reasonable and also the fastest way to publication. Best, Mark On Wed, Oct 2, 2019 at 5:31 AM Hong Ooi via R-pa

Re: [R-pkg-devel] General considerations about vignettes

2019-08-30 Thread Mark van der Loo
m not really favoring it, but I can see cases where this may be useful (e.g. I use a static vignette in one pkg to include a published paper). -Mark On Fri, Aug 30, 2019 at 5:00 PM Michael Dewey wrote: > Comments in-line > > On 30/08/2019 14:59, Iñaki Ucar wrote: > > On Fri, 30 Au

Re: [R-pkg-devel] Link compiled C object to internal package file

2019-06-21 Thread mark padgham
as simply `char * getenv ("MY_FILE_PATH");`. 4. Insert `MY_FILE_PATH` macro for every desired reference to locally packaged file. Works perfectly! Thanks again, mark On 19/06/2019 17:46, Martin Morgan wrote: Section 1.2 of 'Writing R Extensions' says Another example is w

Re: [R-pkg-devel] Link compiled C object to internal package file

2019-06-19 Thread mark padgham
ystem.file() function? On June 19, 2019 5:45:51 AM CDT, mark padgham wrote: Dear All, I'm developing a package which primarily relies on C code that itself has to call an external text file representing a dictionary or lookup table. The location of this file is defined in a C macro, the file its

[R-pkg-devel] Link compiled C object to internal package file

2019-06-19 Thread mark padgham
**must** be linked directly from the compiled object, not at run time. This means that no R-based solutions can be implemented, and so the problem can only be solved in this case through figuring out how to direct a compiled object to connect to an additional pac

Re: [R-pkg-devel] CRAN student assistants

2019-05-15 Thread Mark van der Loo
privately sent CRAN emails on GH, including personal details such as name and e-mail address of the sender without their explicit consent. Best, Mark On Wed, May 15, 2019 at 4:44 PM Jennifer Bryan wrote: > Hello, > > Since this has turned into a worldwide code review, I will briefly a

Re: [R-pkg-devel] Change in normal random numbers between R 3.5.3 and R 3.6.0

2019-05-10 Thread R. Mark Sharp
27;: unused argument (sample.kind = "Rounding") See ‘/tmp/RtmpA4S3Ki/file32b81c218ac8/nprcmanager.Rcheck/00install.out’ for details. Information on the location(s) of code generating the ‘Note’s can be obtained by re-running with environment variable R_KEEP_PKG_SOURCE set to ‘yes’. Mar

Re: [R-pkg-devel] Change in normal random numbers between R 3.5.3 and R 3.6.0

2019-05-09 Thread R. Mark Sharp
ion()$minor) / 10.0) if (version >= 3.6) { args <- list(seed, sample.kind = "Rounding") } else { args <- list(seed) } suppressWarnings(do.call(set.seed, args)) } Mark R. Mark Sharp, Ph.D. Data Scientist and Biomedical Statistical Consultant 7526 Meadow Green St. Sa

Re: [R-pkg-devel] Whack-a-mole base::assign(".ptime", proc.time(), pos = "CheckExEnv")

2019-04-30 Thread Mark Hogue
some long examples, but that function was never mentioned in the error, so it was very confusing. Cheers, Mark On Tue, Apr 30, 2019 at 4:44 AM peter dalgaard wrote: > That line is a generic part of the timing (it records current time so that > at the end you can do what amounts to "

[R-pkg-devel] Whack-a-mole base::assign(".ptime", proc.time(), pos = "CheckExEnv")

2019-04-29 Thread Mark Hogue
added argument checks on these functions? Could someone advise where to go to understand this error better? And is it normal to get only one error at a time like this? Thanks, Mark [[alternative HTML version deleted]] __ R-package-devel@r-

Re: [R-pkg-devel] Submitting CORELS (Certifiably Optimal Rule Lists) package with/without Windows support

2018-12-20 Thread Mark van der Loo
mally be accepted that do not run on at least two of the major R platforms." and also "It should be normal for those without Windows machines of their own to use the winbuilder service to check a package before submission. " Best wishes, Mark [1] https://cran.r-project.org/web/pa

Re: [R-pkg-devel] Package builds, installs, and runs but does not pass devtools::check()

2018-07-19 Thread Mark van der Loo
ot used any tidyverse packages as an Imports or Depends. Hope this helps, Best, Mark Op di 17 jul. 2018 om 23:10 schreef Michael Hannon < jmhannon.ucda...@gmail.com>: > Thanks, Mark. Your points are well-taken, but I wouldn't refer to > this as a "small side-tra

Re: [R-pkg-devel] Package builds, installs, and runs but does not pass devtools::check()

2018-07-17 Thread Mark van der Loo
Hope this helps, Best, Mark Op di 17 jul. 2018 om 11:28 schreef Michael Hannon < jmhannon.ucda...@gmail.com>: > Thanks to John and Zhian for their recent and informative comments. > > Regarding check() and NSE: the moral seems to be that a little > learning is a dangerous thing

Re: [R-pkg-devel] Getting error: Installation failed: Unknown username with my package

2018-07-13 Thread R. Mark Sharp
. Mark R. Mark Sharp, Ph.D. Data Scientist and Biomedical Statistical Consultant 7526 Meadow Green St. San Antonio, TX 78251 mobile: 210-218-2868 rmsh...@me.com > On Jul 13, 2018, at 7:17 PM, Gábor Csárdi wrote: > > Hi Mark, > > seems like you have "Remotes: covr"

[R-pkg-devel] Getting error: Installation failed: Unknown username with my package

2018-07-13 Thread R. Mark Sharp
ameSurgerySheets, and one public rmsharp/rmsutilityr both install fine. Does anyone know what I may have broken or how? Mark R. Mark Sharp, Ph.D. Data Scientist and Biomedical Statistical Consultant 7526 Meadow Green St. San Antonio, TX 78251 mobile: 210-218-286

Re: [R-pkg-devel] Questions about making a database package (Rpolyhedra)

2018-06-29 Thread Mark van der Loo
to set up such a repo. -Mark Op do 28 jun. 2018 om 13:56 schreef alejandro baranek < alejandrobara...@gmail.com>: > Hi Joris: > > Thank you for your comments. > Of course, we are using https for aditional downloads. > > For the moment it is not needed to use github L

Re: [R-pkg-devel] How to handle deprecated package dependency? 2 suggestions 1 question

2018-06-25 Thread Mark van der Loo
Dear Vincent, I think this is little known, but you can get the CRAN result status of any package from R, see tools::CRAN_check_results(). Best, Mark Op ma 25 jun. 2018 om 22:13 schreef Duncan Murdoch : > On 25/06/2018 3:21 PM, Vincent van Hees wrote: > > Dear all, > > > &

Re: [R-pkg-devel] library dlstats -> cran_stats()

2018-03-16 Thread Mark van der Loo
unfortunately not. In any case, it would depend on the willingness of each CRAN mirror maintainer to record and publish such statistics. -M Op vr 16 mrt. 2018 om 16:57 schreef Knut Krueger : > Am 16.03.2018 um 13:44 schrieb Spencer Graves: > > > > > > On 2018-03-16 06

Re: [R-pkg-devel] library dlstats -> cran_stats()

2018-03-16 Thread Mark van der Loo
Knut AFAIR the download statistics are limited to downloads from RStudio's cloud service, so none of the other CRAN mirrors are included. I think there is no separation between updates, re-installs, or installs done automatically by CI-services, for example. -Mark Op vr 16 mrt. 2018 om

Re: [R-pkg-devel] CRAN policy on binary submission

2018-01-08 Thread Mark van der Loo
Dear Hugh, this question was asked earlier on this list: http://r.789695.n4.nabble.com/executable-files-R-package-td4390488.html See especially the answer of Duncan Murdoch. Best, Mark Op di 9 jan. 2018 om 03:26 schreef Hugh Parsonage : > On https://cran.r-project.org/ , it says > &g

Re: [R-pkg-devel] Questions about third-party package distribution, especially with respect to security

2017-09-17 Thread Mark van der Loo
Dear Robert, R supports package repositories out of the box. A repository is just a way of organizing files. The most popular repositories are CRAN and Bioconductor. There is even a package that allows you to set up your own repository on Github (the drat package). It depends on the repository ma

Re: [R-pkg-devel] New Package Proposal: Feather with Matrix Notation ( [ , ] $ ) Access

2017-09-17 Thread Mark van der Loo
You could first have a look at the LaF packge. It does a lot of what you want already. -M Op zo 17 sep. 2017 om 04:41 schreef Juan Telleria : > Dear R Developers, > > I am writing as I would like to propose a github project for the creation > of on-disk data.frames/tibbles. > > These new S3 class

Re: [R-pkg-devel] Submitting a package to C-RAN

2017-09-03 Thread Mark van der Loo
I suggest you follow the link and check the notes.. On Sun, Sep 3, 2017, 1:06 PM Travers Ching wrote: > I am trying to submit a package to CRAN. It did not pass the automated > checks. However, I don't understand what it is I am supposed to fix. > > I have run R CMD check ... -- as-cran and it

[R-pkg-devel] Error on rhub/fedora not appearing on CRAN

2017-08-10 Thread Mark van der Loo
ence that we can pass to Gabor, if it indeed is an rhub issue. Cheers, Mark [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] problem with package_native_routine_registration_skeleton

2017-06-22 Thread Mark van der Loo
I have had no problems recently (having updated a pkg or two with this over the last couple of weeks). Your question is not reproducible so its hard to help... best, Mark Op wo 21 jun. 2017 om 23:46 schreef Simon Barthelmé < simon.barthe...@gipsa-lab.fr>: > Dear list, > > Is anyb

Re: [R-pkg-devel] Spell checking

2017-06-20 Thread Mark van der Loo
I had the same experience. Also recently I uploaded a pkg without a vignette but with a vignette engine specified in the DESCRIPTION. This gave no error with R CMD check --as-cran (r-dev) but I did receive a request to fix it. -M On Tue, Jun 20, 2017, 17:50 Thomas J. Leeper wrote: > I've now h

Re: [R-pkg-devel] Package building - compiling multiple dll files from within src directory

2017-05-05 Thread Mark
les). Such packages should have files src/Makefile and src/Makefile.win (unless intended for only Unix-alikes or only Windows)." Best, Uwe Ligges On 04.05.2017 17:09, Mark wrote: Hi, I am creating an R package with multiple c files within src directory. If possible, I would like to crea

[R-pkg-devel] Package building - compiling multiple dll files from within src directory

2017-05-04 Thread Mark
... I could then load different dll files in the NAMESPACE: useDynLib("mod01") useDynLib("mod02") useDynLib("mod03") ... I don't know how can I set the MAKEVARS to do this correctly, and any suggestions would be much appreciated. Mark ___

Re: [R-pkg-devel] How do you discover and learn about R packages?

2017-03-20 Thread Mark van der Loo
Julia, Just took the poll. I think cranberries would deserve mention there as well. It is the only continuous feed that reports in new pkgs and updates (that I know of). Best, Mark On Mon, Mar 20, 2017, 14:57 Julia Silge wrote: > I am contributing to a session at userR 2017 this coming J

Re: [R-pkg-devel] UseR! Session: Making R easier to use (was: Navigating the jungle of R packages)

2017-02-12 Thread Mark van der Loo
Fwiw, there's also something called the awesome lists ( https://github.com/sindresorhus/awesome, and see the R list here: https://github.com/qinwf/awesome-R), which is basically a kind of task views for any language, and controlled via git pull requests. Not sure if this would be a good alternativ

Re: [R-pkg-devel] Delaporte: Test Errors on Sun Sparc

2017-02-05 Thread Mark van der Loo
Avraham, I can't help you out directly but Jeroen Ooms has a VM image with Solaris & R available: https://github.com/jeroenooms/solarisvm best, Mark Op zo 5 feb. 2017 om 21:27 schreef Avraham Adler : > I recently changed the back-end compiled code for the Delaporte > pack

Re: [R-pkg-devel] Compiler choice on CRAN (R-windows-oldrel)

2016-08-25 Thread Mark van der Loo
__GNUC_MINOR__ <= 6 #else #define HAS_REDUCTION #endif #endif /* more code */ #ifdef HAS_REDUCTION #pragma omp parallel for reduction(min:imin), reduction(max:imax) #endif for (int i=0; i: > > > On 25.08.2016 13:14, Mark van der Loo wrote: > > Thank you Peter, good poin

Re: [R-pkg-devel] Compiler choice on CRAN (R-windows-oldrel)

2016-08-25 Thread Mark van der Loo
Thank you Peter, good points. Good to know for sure (or a.s.) that compiler specification at CRAN is not an option. The 4th option is interesting as well. I may just do that. Thanks again! Mark Op do 25 aug. 2016 om 12:17 schreef peter dalgaard : > I don't have hard inf

[R-pkg-devel] Compiler choice on CRAN (R-windows-oldrel)

2016-08-25 Thread Mark van der Loo
epend on R>=3.3 - Alter my code (as kindly suggested by Ott Toomet in [1]) - Tell CRAN to use the modern compiler. Obviously, the latter would be easiest. Is this is even possible? For a local installation I could set an environment variable[3], but how about doing this at CRAN? Thanks

Re: [R-pkg-devel] openMP/reduction statement causes build crash on travis-ci

2016-08-03 Thread Mark van der Loo
Thanks Dirk! that did it. I wasn't aware of the trusty 14.04 option. Just adding sudo: required dist: trusty at the top of my .travis.yaml solved it https://docs.travis-ci.com/user/trusty-ci-environment/, Cheers, Mark Op wo 3 aug. 2016 om 14:38 schreef Dirk Eddelbuettel : > >

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

2016-08-03 Thread Mark van der Loo
ed). At the moment, I'm inclined against the idea, but I for one like to see me proven wrong. >> [1] actually, once we know a pkg is Recommended, the >> 'if(requireNamespace)' could even be absorbed in the :: operator. >I don't see how :: would be any different

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

2016-08-03 Thread Mark van der Loo
not on the path (libgtk2 is on the network, the VM just doesn't know yet). So I'd rather have a proper and accurate error message (which is good practice anyway). Best, Mark [1] actually, once we know a pkg is Recommended, the 'if(requireNamespace)' could even be absorbed in

[R-pkg-devel] openMP/reduction statement causes build crash on travis-ci

2016-08-03 Thread Mark van der Loo
o with travis building on a 12.04 ubuntu VM with a rather old gcc (4.6.3). So I have two questions: 1. Has anyone else seen this? Or am I missing something? 2. Is there a workaround, or should I just go for another build service (which one)? Cheers, Mark [1] Linux duvel 4.4.0-31-generic #50-Ub

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

2016-07-13 Thread Mark van der Loo
tter in the vignette, while focusing on the technical aspects in the Rd files. Hope that helps, Mark On Wed, Jul 13, 2016, 21:29 Boylan, Ross wrote: > I have two questions, one substantive and one technical, about the > relation between vignettes and help files. By "help files&

Re: [R-pkg-devel] Package was removed from CRAN "despite reminders" -- but I did not receive any such messages

2016-06-01 Thread Mark van der Loo
Mail the CRAN team. On Wed, Jun 1, 2016, 10:24 Dean Attali wrote: > My package 'ddpcr' was accepted into CRAN in 2016-02-19 and then updated on > 2016-03-17. There were no errors or warnings or notes in my submission and > it was accepted right away. > > I just tried going to its CRAN page and

Re: [R-pkg-devel] install from github

2015-12-03 Thread Mark van der Loo
cy issue, so in that sense yes. But to make it robust, repo-owners probably need to adhere to either a pure R package structure or start using makefiles for package building. Best, Mark [1] When I say Dirk, I assume you know which one :-). [2] At least, this used to be true. I haven't used i

Re: [R-pkg-devel] Diagnosing error on CRAN's old R, old Windows

2015-10-08 Thread Mark van der Loo
I'm digressing. Best, Mark Op do 8 okt. 2015 om 16:52 schreef Ben Bond-Lamberty : > >Unfortunately the error diagnostics are not particularly helpful, only > showing that four tests failed; the only common thread I see, maybe, is > that all four tests--and no others--use R&#

Re: [R-pkg-devel] extending a few functions from another package

2015-08-28 Thread Mark van der Loo
Implanting is indeed a dirty trick. You could contact the maintainers of geoR and ask if your code can be added to the package. Or perhaps they can export some of the functionality you need. /M Op vr 28 aug. 2015 om 16:58 schreef Facundo Muñoz : > Dear list, > > I have built a package geoR

Re: [R-pkg-devel] why doesn't CRAN add -fopenmp to SHLIB_OPENMP_CXXFLAGS for Mac OS?

2015-08-28 Thread Mark van der Loo
compiler that claims compliance. - Use higher-level paralellization, such as offered by the parallel or partools Best, Mark [1] Well, one problem is: how would install.packages know what binary to choose: the one compiled by clang or the one compiled by gcc? [2] https://cran.r-project.org/web/pa

Re: [R-pkg-devel] [[openmx-dev]] [[openmx-dev]] Re: [[openmx-dev]] Re: openmp

2015-08-24 Thread Mark van der Loo
this fashion. > Supplying binaries seems the only option unless clang developers decide to > support OpenMP, which seems unlikely since Apple wants to promote its own > parallel computing tools. > > Michael Neale > mcne...@mac.com > > > > On Aug 24, 2015, at 3:38 PM,

Re: [R-pkg-devel] [[openmx-dev]] Re: [[openmx-dev]] Re: openmp

2015-08-24 Thread Mark van der Loo
At least on linux, CRAN builds using openMP. I got a valgrind report once [shame on me btw] showing that 9 (out of 10) threads were running examples. So my best guess is that it will do the same for Windows since it also has openMP support according to WRE[1]. I wouldn't know why not, except for

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

2015-08-18 Thread Mark van der Loo
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 : > On 18/08/2015 6:12 AM, Berry Boessenkool wrote: > > Hi all, &