TIBHannover / BacDiveR

Inofficial R client for the DSMZ's Bacterial Diversity Metadatabase (former contact: @katrinleinweber). https://api.bacdive.dsmz.de/client_examples seems to be the official alternatives.
https://TIBHannover.GitHub.io/BacDiveR/
MIT License
10 stars 12 forks source link

Fix install errors on Windows #62

Closed katrinleinweber closed 6 years ago

katrinleinweber commented 6 years ago
Warning in readRenviron(get_Renviron_path()) :
  file 'C:\...\/.Renviron' cannot be opened for reading
Error: package or namespace load failed for 'BacDiveR':
 .onAttach failed in attachNamespace() for 'BacDiveR', details:
  call: get_credentials()
  error: BacDive login credentials not set completely. Please run prepare_Renviron().
Error: loading failed
Execution halted
*** arch - x64
Warning in readRenviron(get_Renviron_path()) :
  file 'C:\...\/.Renviron' cannot be opened for reading
Error: package or namespace load failed for 'BacDiveR':
 .onAttach failed in attachNamespace() for 'BacDiveR', details:
  call: get_credentials()
  error: BacDive login credentials not set completely. Please run prepare_Renviron().
Error: loading failed
Execution halted
ERROR: loading failed for 'i386', 'x64'
* removing 'C:/.../R/win-library/3.4/BacDiveR'

It might not be a good idea to:

https://github.com/tibhannover/BacDiveR/blob/master/R/utils.R#L13-L15