Open-Systems-Pharmacology / rSharp

R package for communication with .NET Core
http://www.open-systems-pharmacology.org/rSharp/
GNU General Public License v2.0
1 stars 0 forks source link

Build error on linux #128

Closed Felixmil closed 7 months ago

Felixmil commented 7 months ago

I'm setting up R-CMD-Check actions on github and it fails on ubuntu with the following error:

  Running examples in ‘rSharp-Ex.R’ failed
  The error most likely occurred in:

  > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
  > ### Name: getSexpType
  > ### Title: Get the type code for a SEXP
  > ### Aliases: getSexpType
  > 
  > ### ** Examples
  > 
  > getSexpType(1)
  Error in .External("r_get_sexp_type", sexp, PACKAGE = rSharpEnv$nativePkgName) : 
    "r_get_sexp_type" not available for .External() for package "rSharpUX"
  Calls: getSexpType
  Execution halted

This step passes on Windows.

Any idea why ?

rwmcintosh commented 7 months ago

The prebuilt binary is probably not built after r_get_sexp_type was added.

rwmcintosh commented 7 months ago

The prebuilt binary is probably not built after r_get_sexp_type was added.

No, it's not that. None of these examples work in Linux.

rwmcintosh commented 7 months ago

The prototypes are not exported. I'll commit this fix on this branch.