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

Open only 1 .Renviron editor window #68

Open
2 tasks
katrinleinweber opened this issue Apr 23, 2018 · 0 comments
Open
2 tasks

Open only 1 .Renviron editor window #68

katrinleinweber opened this issue Apr 23, 2018 · 0 comments

Comments

@katrinleinweber
Copy link
Collaborator

katrinleinweber commented Apr 23, 2018

A minor issue remains after #62: 2 editor windows are opened, upon devtools::install_github("tibhannover/BacDiveR") when no .Renviron file is present.

This is not very user-friendly. I already tried deleting:

file.edit(r_env_file)

and

get_credentials()

but that either didn't change the behavior, or it stopped any editor window from opening. The latter seems less user-friendly, so I left #67 as it were.

Update

In a Debian installation, no editor window opened, and file.edit(file.path(Sys.getenv('HOME'), '.Renviron')) yielded a semi-error about the file being open already.

  • try the install again after deleting utils.R entirely
  • Find difference between .onLoad & .onAttach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant