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
stop(sprintf(paste0("It seems that FastR was not installed yet.\n",
235
+
stop(sprintf(paste0("It seems that FastR was not installed yet.",
228
236
"Use installFastR() to install GraalVM and FastR to the default location '%s', ",
229
-
"or set argument 'path' to a directory that contains GraalVM and FastR installation.", defaultGraalVMHome())))
237
+
"or set argument 'graalVMHome' to a directory that contains GraalVM and FastR installation. ",
238
+
"See ?getGraalVMHome for more details."), defaultGraalVMHome()))
230
239
} else {
231
-
stop(sprintf(paste0("The GraalVM directory '%s' does not exist.\n",
240
+
stop(sprintf(paste0("The GraalVM directory '%s' does not exist.",
232
241
"Use installFastR('%s') to install GraalVM and FastR to that directory."),
233
242
graalVMHome, graalVMHome))
234
243
}
235
244
}
236
245
if (!file.exists(file.path(graalVMHome, 'bin', 'gu'))) {
237
-
stop(sprintf("The GraalVM directory '%s' appears to be corrupt.\nYou can remove it and use installFastR('%s') to re-install GraalVM and FastR.", graalVMHome, graalVMHome))
246
+
stop(sprintf("The GraalVM directory '%s' appears to be corrupt. You can remove it and use installFastR('%s') to re-install GraalVM and FastR.", graalVMHome, graalVMHome))
238
247
}
239
248
if (!file.exists(file.path(graalVMHome, 'bin', 'Rscript'))) {
240
-
stop(sprintf("The GraalVM installation '%s' does not contain FastR.\nUse installFastR('%s') to install FastR.", graalVMHome, graalVMHome))
249
+
stop(sprintf("The GraalVM installation '%s' does not contain FastR. Use installFastR('%s') to install FastR.", graalVMHome, graalVMHome))
241
250
}
242
251
if (any(c('--jvm', '--native') %in%fastROptions)) {
243
252
warning("Ignoring --jvm/--native in 'fastROptions' argument. Use the 'mode' argument instead.")
0 commit comments