Skip to content

Commit

Permalink
remove some R-foreign debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
AllinCottrell committed Feb 7, 2024
1 parent b1d9cfc commit 1a6abce
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/src/gretl_foreign.c
Original file line number Diff line number Diff line change
Expand Up @@ -2575,7 +2575,6 @@ int check_set_R_home (void)
}

err = gretl_test_fopen(path, "r");
fprintf(stderr, "user path '%s', err %d\n", path, err);
/* an error here is not necessarily fatal, if we can get
the R path from the registry.
*/
Expand Down Expand Up @@ -2670,7 +2669,6 @@ int check_set_R_home (void)
}

Rhome = getenv("R_HOME");
fprintf(stderr, "Rhome = '%s'\n", Rhome);

if (Rhome == NULL || *Rhome == '\0') {
fprintf(stderr, "No R_HOME\n");
Expand All @@ -2684,7 +2682,6 @@ int check_set_R_home (void)
#endif
lp = g_strdup_printf("%s/lib/%s", Rhome, libname);
err = (lstat(lp, &buf) != 0);
fprintf(stderr, "lp '%s', err %d\n", lp, err);
if (err) {
/* needs correcting */
do_setenv = 1;
Expand Down

0 comments on commit 1a6abce

Please sign in to comment.