Handling of calibration data

Issue #4 resolved
Pedro J. Aphalo repo owner created an issue

Currently calibration data objects are created manually and included in the source distribution. This is a bug because these data objects contain functions, which to make this even worse are compiled from C++. Probably best solution is to build these data objects when the package is loaded. This should not add too much overhead, and could be also expanded to work with calibrations added by users.

Comments (2)

  1. Pedro J. Aphalo reporter

    No. Obvious and simple solution is to simply store the name of the function instead of the functions itself!!

  2. Pedro J. Aphalo reporter

    Resolved by storing the name of worker functions as part of calibration data. This is certainly best for functions defined within the package itself, but not for user defined functions. Low level functions edited to accept both functions and function names.

  3. Log in to comment