ocbe-uio / rBAPS

R implementation of the BAPS software for Bayesian Analysis of Population Structure
http://www.helsinki.fi/bsg/software/BAPS/
GNU General Public License v3.0
10 stars 4 forks source link

Several functions are using global variables as arguments #10

Closed wleoncio closed 3 years ago

wleoncio commented 3 years ago

This was an early workaround which is best to be removed. Simply removing them from the argument list (and updating the documentation) should not cause any problems when checking. Those are almost all functions related to the translation of admix1.m. Moreover, leaving it as is is likely to cause bugs.

wleoncio commented 3 years ago

Some links that might help solving environment-related problems (not the tree-kind, though):

wleoncio commented 3 years ago

Fixed. Unit tests are failing now, but that's a different issue.