Skip to content

Adding fit function implementation #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

yolandazzz13
Copy link

This pull request contained all the fitting function implementations that I completed during the past semester, all of which I presented in the all-hands meetings.

On top of that, I noticed that, at least for mac users, R studio has trouble installing earlier versions of a package due to lack of precompiled libraries in those versions. For example, if you run renv::restore(), hoping that it will automatically install all the required packages for this probability distribution calculator, unfortunately for the package 'Matrix', it will fail to install version "1.6-0", as specified in the previous lock file. In fact, one will only be able to install newer versions, for example [1.7-2], released by R community.

My solution previously was to manually update the version number in the lock file, which is very tedious and repetitively and I took a long time to figure out. Even though specifying versions in a lock file enhances reproducibility, it causes installation errors for certain users.

Given that, I experimented with getting rid of all the "Version:" fields in each package, allowing it to automatically install the latest version, turns out that compilation was perfectly fine with the newest versions, and I was able to run renv::restore() smoothly, and run the app in the same way I used to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant