-
Notifications
You must be signed in to change notification settings - Fork 129
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
[BUG] a function is not found in the env when I use the parallel package #1130
Comments
Thank you for this interesting bug report. It's not so much an issue specific to golem itself, but rather about how to create a function that uses foreach in a package. My initial attempt was to ensure that the functions myfunct1 and myfunct2 were properly exported. By adding the appropriate @export tags, it works much better:
then :
|
Hello, thank for your help.
|
Describe the bug
I have two functions myfunct1 and myfunct2. myfunct1 uses the myfunct2 function. I want to use these two functions in a foreach()%dopar%{} loop but i get a error:
To Reproduce
I create util and funct files with this commands:
utils.util.R
ftc_function.R
app_server.R
session info
The text was updated successfully, but these errors were encountered: