Skip to content
Prev 5720 / 12125 Next

[R-pkg-devel] package installation and linking with JAGS

On Wed, 8 Jul 2020 11:06:31 +0200
Frantisek Bartos <f.bartos96 at gmail.com> wrote:

            
This warning is easy to deal with:
Use plain "=" macro definitions, since others aren't considered portable
enough.
Replace $(wildcard ...) with hard-coded lists of files.

See the POSIX standard [*], or, indeed, section 'Writing portable
packages' in WRE [**] for a list of Make features considered portable.

Alternatively, add "GNU make" to SystemRequirements: in your
DESCRIPTION. This will silence the warnings, but require the GNU
flavour of Make to install your package.
How do you build the source package before installing it? I tried to
git clone your package, then R CMD build . it, and got a perfectly valid
RoBMA_0.0.0.9000.tar.gz without any *.o files inside. I *think* that R
CMD INSTALL <directory> may be not a good idea, but you can add .*\.o$
to .Rbuildignore to prevent the object files from getting inside your
source package this way.
Also, please don't post in HTML.