msr icon indicating copy to clipboard operation
msr copied to clipboard

package install not working...

Open ryanpeek opened this issue 5 years ago • 7 comments

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

ryanpeek avatar Jan 17 '20 20:01 ryanpeek

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.

vsbuffalo avatar Jan 21 '20 19:01 vsbuffalo

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 [email protected] 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 avatar Jan 21 '20 21:01 ryanpeek

Same error... 😢

ryanpeek avatar Jan 21 '20 21:01 ryanpeek

Can you try

$ R --vanilla
> devtools::install_github("vsbuffalo/msr")

vsbuffalo avatar Jan 21 '20 21:01 vsbuffalo

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

ryanpeek avatar Jan 22 '20 00:01 ryanpeek

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).

liaoj12 avatar Feb 28 '20 23:02 liaoj12

Thanks for the heads up! I'll try!

R

On Fri, Feb 28, 2020 at 3:28 PM Junjie Liao [email protected] 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

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

ryanpeek avatar Feb 28 '20 23:02 ryanpeek