On 4 June 2019 at 16:42, Rolf Turner wrote:
| I am working on a revision of my Iso package (which hasn't been revised 
| for quite a while) and have added in registration of Fortran routines 
| that are called directly by .Fortran() in R functions.
| 
| When I do
| 
|      R CMD check --as-cran Iso_0.0-18.tar.gz
| 
| I get a "NOTE":
| 
| > Compilation used the following non-portable flag(s):
| >   ‘-Wdate-time’ ‘-Werror=format-security’ ‘-Wformat’

[...]

| P.S. I am running Ubuntu 18.04.  Happy to supply any further details 
| that might be relevant.

Upgrade to 3.6.0-2 and it will be taken care of -- first bullet of second
entry in what follows in relevant. I should have taken care of that earlier.
In any event, this was discussed here or on r-sig-debian very recently.

  edd@rob:~$ zcat /usr/share/doc/r-base-core/changelog.Debian.gz | \
  head -17 r-base (3.6.0-2cosmic) cosmic; urgency=medium
  
    * Compilation for Ubuntu 18.10
    * debian/control Changed dependency to generic tcl-dev and tk-dev
  
   -- Michael Rutter <marut...@gmail.com>  Mon, 13 May 2019 00:41:33 +0000
  
  r-base (3.6.0-2) unstable; urgency=medium
  
    * debian/Renviron.site: Set variable _R_CHECK_COMPILATION_FLAGS_KNOWN_
      to white-list compiler flags pulled in Debian's gcc configuration
  
    * configure{,.ac}: Applied two upstream patches from this week to
      accommodate gfortran 8 changes related to C to Fortran calls
  
   -- Dirk Eddelbuettel <e...@debian.org>  Sat, 11 May 2019 13:58:42 -0500
  
  edd@rob:~$
  
(I am on 18.10 but Michael kindly provides builds for all relevant flavours,
including your 18.04.)

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to