You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error in (function (name, args = NULL, cluster = "Local", command = NULL, :
'resourceLimits' must be of class 'rs_launcher_resourcelimit'
This error is also thrown with cluster = "slurm_cluster" and args = "-e future::availableCores()", which is my actual use case. The error is not thrown when resourceLimits is not used.
Is this a bug or should I be using this argument differently? Thank you!
The text was updated successfully, but these errors were encountered:
Hi,
I have an issue when trying to use launcherSubmitJob with the resourceLimits argument:
rstudioapi::launcherSubmitJob(
name = "testcoresetting",
cluster = "Local",
command = "R",
args = "-e print('hi')",
resourceLimits = rstudioapi::launcherResourceLimit(type = "cpuCount", value = 4)
)
leads to:
Error in (function (name, args = NULL, cluster = "Local", command = NULL, :
'resourceLimits' must be of class 'rs_launcher_resourcelimit'
This error is also thrown with cluster = "slurm_cluster" and args = "-e future::availableCores()", which is my actual use case. The error is not thrown when resourceLimits is not used.
Is this a bug or should I be using this argument differently? Thank you!
The text was updated successfully, but these errors were encountered: