Re: [R-pkg-devel] Package fails to build on CRAN Windows server: rtracklayer version too new

2021-04-19 Thread Henrik Bengtsson
Not that it solves your problem per se, but here's what I think CRAN only has rtracklayer 1.48.0 installed on WIndows, i.e. why you get error "namespace 'rtracklayer' 1.48.0 is being loaded, but >= 1.51.5 is required.": * The current Bioconductor "release" is version 3.12 * As you say,

Re: [R-pkg-devel] compiling C sources on windows

2021-04-19 Thread Brad Eck
Thanks Kevin, that fixed the compilation issue. On to the next! Brad On Mon, Apr 19, 2021 at 5:06 PM Kevin Ushey wrote: > I suspect the cause is this: > > > https://github.com/bradleyjeck/epanet2toolkit/blob/aa698568ab85db133f8634928e8cfe661b41ed57/src/epanet2.h#L42-L61 > > Usually, you only

Re: [R-pkg-devel] compiling C sources on windows

2021-04-19 Thread Kevin Ushey
I suspect the cause is this: https://github.com/bradleyjeck/epanet2toolkit/blob/aa698568ab85db133f8634928e8cfe661b41ed57/src/epanet2.h#L42-L61 Usually, you only need to explicitly use __declspec if you're compiling with MSVC -- it shouldn't be necessary when using a MinGW toolchain (as R's

[R-pkg-devel] compiling C sources on windows

2021-04-19 Thread Brad Eck
Dear List - I'm working to get a package of mine that was archived last year back on to CRAN. The epanet2toolkit provides an R interface to the EPANET simulation engine that is written in C. The latest development version of the package builds and checks ok on mac and linux but fails to compile