vsbuffalo / msr

Process MS results in R, in a tidy way
17 stars 2 forks source link

package install not working... #4

Open ryanpeek opened 4 years ago

ryanpeek commented 4 years ago

Hey Vince! I was going to play around with this as I'm about to do some ms simulations for an eDNA/genomics project I'm starting. I saw your package (as well as a few others, coala is a new one...have you used it?) and thought it would be perfect for what I'm doing. Unfortunately when I try to install it, it seems to be failing. I'm using the following code:

devtools::install_github("vsbuffalo/msr")

And getting this error:

Error : (converted from warning) /private/var/folders/jv/56h34hjn2l302ypnnsphwnx00000gn/T/RtmpxsZwv7/R.INSTALL34d547b6daab/msr/man/parse_ms.Rd:24: unexpected section header '\description'
ERROR: installing Rd objects failed for package ‘msr’
* removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/msr’
Error: Failed to install 'msr' from GitHub:
  (converted from warning) installation of package ‘/var/folders/jv/56h34hjn2l302ypnnsphwnx00000gn/T//RtmpFzijsh/file3498db795cf/msr_0.1.1.tar.gz’ had non-zero exit status`

My system is a MacOSX 10.14.6 using R 3.6.2 and RStudio 1.2.5019.

You haven't updated this in awhile, so no worries if you don't have time to mess with this, but just an FYI. Thanks, Ryan

vsbuffalo commented 4 years ago

I think you might have warnings converted to errors in your ~/.Rprofile — it does create a warning for me, but installs fine. Maybe try options(warn=0) and let me know if that works? I'll try to fix the warning soon.

ryanpeek commented 4 years ago

Dang...I definitely don't have that in my Rprofile. Unless that's some weird default, I definitely haven't messed within anything other than a few custom width/prompt options. Let me try installing one more time and I'll get back to you.

R

On Tue, Jan 21, 2020 at 11:45 AM Vince Buffalo notifications@github.com wrote:

I think you might have warnings converted to errors in your ~/.Rprofile — it does create a warning for me, but installs fine. Maybe try options(warn=0) and let me know if that works? I'll try to fix the warning soon.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vsbuffalo/msr/issues/4?email_source=notifications&email_token=ABMX3MH5OJGIAQDGPNDI7ADQ65GGJA5CNFSM4KINSOWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJRAGRI#issuecomment-576848709, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMX3MHDF6GM5K6WKV3TK3DQ65GGJANCNFSM4KINSOWA .

--

"When we try to pick out anything by itself, we find it hitched to everything else in the universe."John Muir (My First Summer in the Sierra, 1911) ----------------------------------------------------- Ryan Peek, PhD (he/him) Aquatic Ecologist, Post-Doctoral Researcher Center for Watershed Sciences, UC Davis ryanpeek.github.io http://ryanpeek.github.io @riverpeek 530.754.5351

-----------------------------------------------------

ryanpeek commented 4 years ago

Same error... 😢

vsbuffalo commented 4 years ago

Can you try

$ R --vanilla
> devtools::install_github("vsbuffalo/msr")
ryanpeek commented 4 years ago

Yup! I did that actually just to be sure and same error. Has to do with a section header in your parse_ms.Rd?

** help
Error : (converted from warning)
/private/var/folders/jv/56h34hjn2l302ypnnsphwnx00000gn/T/RtmpeY35fJ/R.INSTALL5c1443ee487/msr/man/parse_ms.Rd:24:
unexpected section header '\description'
ERROR: installing Rd objects failed for package ‘msr’
* removing
‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/msr’
Error: Failed to install 'msr' from GitHub:
  (converted from warning) installation of package
‘/var/folders/jv/56h34hjn2l302ypnnsphwnx00000gn/T//RtmpRBJrPh/file5be8ac4c446/msr_0.1.1.tar.gz’
had non-zero exit status
liaoj12 commented 4 years ago

Hi ryanpeek, I had the same problem on both my win10 and macOS, and tried many things. It turns out that downgraded the R version from 3.6 to 3.4 works for me. But I didn't try if 3.5 works. A simple solution would be changing your used version of R in rstudio (just google how to do it on mac, on win10, I simply need to download a 3.4 version, and switch it from Options in rstudio).

ryanpeek commented 4 years ago

Thanks for the heads up! I'll try!

R

On Fri, Feb 28, 2020 at 3:28 PM Junjie Liao notifications@github.com wrote:

Hi ryanpeek, I had the same problem on both my win10 and macOS, and tried many things. It turns out that downgraded the R version from 3.6 to 3.4 works for me. But I didn't try if 3.5 works. A simple solution would be changing your used version of R in rstudio (just google how to do it on mac, on win10, I simply need to download a 3.4 version, and switch it from Options in rstudio).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vsbuffalo/msr/issues/4?email_source=notifications&email_token=ABMX3MFJKNCHDF7EJEZSCULRFGM3LA5CNFSM4KINSOWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENKQXVI#issuecomment-592776149, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMX3MCXTI2KYALDBK7IBBTRFGM3LANCNFSM4KINSOWA .

--

"When we try to pick out anything by itself, we find it hitched to everything else in the universe."John Muir (My First Summer in the Sierra, 1911) ----------------------------------------------------- Ryan Peek, PhD (he/him) Aquatic Ecologist, Post-Doctoral Researcher Center for Watershed Sciences, UC Davis ryanpeek.github.io http://ryanpeek.github.io @riverpeek 530.754.5351

-----------------------------------------------------