knausb / vcfR

Tools to work with variant call format files
248 stars 54 forks source link

Compilation flag issue #118

Closed knausb closed 5 years ago

knausb commented 5 years ago

While building the package I receive the following warning.

❯ checking compilation flags used ... WARNING
  Compilation used the following non-portable flag(s):
    ‘-Wdate-time’ ‘-Werror=format-security’ ‘-Wformat’
knausb commented 5 years ago

After banging my head against this one for a while I realized it was building fine on Travis and Appveyor. I tried my Mac and it was fine too. So I've concluded that this is a system specific issue and may be due to recent software installs or updates.

knausb commented 5 years ago

I followed This SO post and it built fine. Note that my system did not have a ~/.R/ directory. At first I interpreted this as a typo and tried to use ~/R/ which did not work. When I created ~/.R/ it worked.