Hi Everyone,

I'm a co-lead on the development of the {rsofun} package, a package to
model ecosystem processes.

https://github.com/geco-bern/rsofun

The package uses a FORTRAN code base which is giving us some compilation
and CRAN compliance problems. Our last submission was withdrawn with the
following errors on Fedora: "
error:
loc("/data/gannet/ripley/R/packages/incoming/rsofun.Rcheck/00_pkg_src/rsofun/src/interface_biosphere_biomee.mod.f90":105:62):
/data/gannet/ripley/Sources2/LLVM/17.0/llvm-project-17.0.3.src/flang/lib/Lower/ConvertType.cpp:392:
not yet implemented: derived type components with non default lower bounds
"

This seems to be resolved when setting the suggested compiler flags for
Fedora as: `-fc-prototypes-external`. However, this generates Warnings
throughout platforms, as setting these compiler flags in Makevars is
considered poor practice.

I'm wondering how to reconcile both demands, i.e. addressing the above
CLANG/LLVM issue, while not setting the compiler flags? Any guidance or
ideas on this would be appreciated.

Kind regards,
Koen

-- 
Koen Hufkens, Ph.D.

Senior Scientist
Geocomputation and Earth Observation
Institute of Geography
University of Bern

founder BlueGreen Labs
bluegreenlabs.org
@koen_hufkens@mastodon.social

        [[alternative HTML version deleted]]

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

Reply via email to