Skip to content

create R package include Fortran source code.

4 messages · yiqun yang, Duncan Murdoch, Charles C. Berry

#
On 21/07/2014 12:10 PM, yiqun yang wrote:
You will see more information in the files in the barpkg.Rcheck 
directory created during the check.  You can see some of those messages 
on the screen if you do an explicit INSTALL.

I'd guess that the compile failed, but can't guess why.

Duncan Murdoch
#
yiqun yang <emiliawxr <at> gmail.com> writes:
-------------------------------------------------------------

[deleted]

-------------------------------------------------------------
?.First.lib

refers to the base-defunct {base} help page which says:

[...]

# Defunct in 2.14.0
.First.lib(lib, pkg)

[...]
Details

Some of these have stubs which report that they are defunct, but most have
been removed completely (apart from being documented here).
[...]

====

So, don't use .First.lib.

Try a useDynLib directive in your NAMESPACE file.

You probably need to spend some time pondering 

  Writing R Extensions

especially section

1.5.4 useDynLib

HTH,

Chuck