Skip to content
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

Issue when checking all packages installed #9234

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

N-thony
Copy link
Collaborator

@N-thony N-thony commented Nov 6, 2024

@ChrisMarsh82 @rdstern I realized after a discussion on Skype with @Patowhiz that AllPackagesInstalled() is called immediately after starting the R engine but before executing setup scripts via ExecuteSetupRScriptsAndSetupRLinkAndDatabook(). This ordering causes issues because AllPackagesInstalled() depends on R scripts or functions loaded later in the process.

To resolve this, I rearrange the order so that ExecuteSetupRScriptsAndSetupRLinkAndDatabook() is executed immediately after starting the R engine, allowing it to configure the necessary R environment before checking for installed packages. Have a look.
Note that this is only for developers to be in track also of installed packages in the development. It is not a big issue because it doesn't affect users. We can leave it open and use it if needed.

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