abfleishman / trakR

R package for basic data processing for spatial animal tracking data
GNU General Public License v3.0
3 stars 1 forks source link

error when installing trakR #6

Closed mgilmour closed 5 years ago

mgilmour commented 5 years ago

The following error occurs after attempting to install trakR. It looks like it initially downloads correctly, but maybe runs into a problem while unpacking?

devtools::install_github("abfleishman/trakR")

Downloading GitHub repo abfleishman/trakR@master √ checking for file 'C:\Users\Morgan\AppData\Local\Temp\RtmpQRQtQT\remotes16b644d785fb2\abfleishman-trakR-630cc7c/DESCRIPTION' (366ms)

  • preparing 'trakR': √ checking DESCRIPTION meta-information ...
  • checking for LF line-endings in source and make files and shell scripts
  • checking for empty or unneeded directories
  • looking to see if a 'data/datalist' file should be added
  • building 'trakR_0.0.3.tar.gz'

Installing package into ‘C:/Users/Morgan/Documents/R/win-library/3.5’ (as ‘lib’ is unspecified)

  • installing source package 'trakR' ... ** R Error : (converted from warning) unable to re-encode 'InOutPoints.R' lines 11, 15, 16, 17, 19 ERROR: unable to collate and parse R files for package 'trakR'
  • removing 'C:/Users/Morgan/Documents/R/win-library/3.5/trakR' In R CMD INSTALL Error in i.p(...) : (converted from warning) installation of package ‘C:/Users/Morgan/AppData/Local/Temp/RtmpQRQtQT/file16b6448c95f59/trakR_0.0.3.tar.gz’ had non-zero exit status
abfleishman commented 5 years ago

I could reproduce on windows 10. but installed and loaded fine on my mac. need to dig deeper on windows

mgilmour commented 5 years ago

Got the same error with a newer version of R (3.5.3) on my other laptop. Maybe it's just this one computer?

abfleishman commented 5 years ago

fixed with 34a9189b

abfleishman commented 5 years ago

@mgilmour try it now I found special characters in the description of the InOutPoints function documentation and removed them and it works on my computer here now

mgilmour commented 5 years ago

Works!

On Thu, May 2, 2019 at 1:35 PM Abram Fleishman notifications@github.com wrote:

@mgilmour https://github.com/mgilmour try it now I found special characters in the description of the InOutPoints function documentation and removed them and it works on my computer here now

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/abfleishman/trakR/issues/6#issuecomment-488823198, or mute the thread https://github.com/notifications/unsubscribe-auth/AC2MHN62QQBB4W4QKRHQODDPTNGCVANCNFSM4HIIVNZA .

-- Morgan Gilmour, PhD Ocean Sciences Long Marine Lab University of California, Santa Cruz 95060

Check out my seabird research here http://www.morgangilmour.com

mgilmour commented 5 years ago

Thanks!

On Thu, May 2, 2019 at 1:43 PM Morgan Gilmour mgilmour@ucsc.edu wrote:

Works!

On Thu, May 2, 2019 at 1:35 PM Abram Fleishman notifications@github.com wrote:

@mgilmour https://github.com/mgilmour try it now I found special characters in the description of the InOutPoints function documentation and removed them and it works on my computer here now

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/abfleishman/trakR/issues/6#issuecomment-488823198, or mute the thread https://github.com/notifications/unsubscribe-auth/AC2MHN62QQBB4W4QKRHQODDPTNGCVANCNFSM4HIIVNZA .

-- Morgan Gilmour, PhD Ocean Sciences Long Marine Lab University of California, Santa Cruz 95060

Check out my seabird research here http://www.morgangilmour.com

-- Morgan Gilmour, PhD Ocean Sciences Long Marine Lab University of California, Santa Cruz 95060

Check out my seabird research here http://www.morgangilmour.com

abfleishman commented 5 years ago

it was all because I had a delta symbol in the function description. who knows why it works on my and your other computer....


Abram B. Fleishman | Research Scientist Conservation Metrics, Inc. http://www.conservationmetrics.com UCSC Coastal Science Campus 145 McAllister Way, Santa Cruz, CA 95060 (541)-207-2335 | abram@conservationmetrics.com

On Thu, May 2, 2019 at 1:43 PM mgilmour notifications@github.com wrote:

Thanks!

On Thu, May 2, 2019 at 1:43 PM Morgan Gilmour mgilmour@ucsc.edu wrote:

Works!

On Thu, May 2, 2019 at 1:35 PM Abram Fleishman <notifications@github.com

wrote:

@mgilmour https://github.com/mgilmour try it now I found special characters in the description of the InOutPoints function documentation and removed them and it works on my computer here now

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/abfleishman/trakR/issues/6#issuecomment-488823198, or mute the thread < https://github.com/notifications/unsubscribe-auth/AC2MHN62QQBB4W4QKRHQODDPTNGCVANCNFSM4HIIVNZA

.

-- Morgan Gilmour, PhD Ocean Sciences Long Marine Lab University of California, Santa Cruz 95060

Check out my seabird research here http://www.morgangilmour.com

-- Morgan Gilmour, PhD Ocean Sciences Long Marine Lab University of California, Santa Cruz 95060

Check out my seabird research here http://www.morgangilmour.com

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/abfleishman/trakR/issues/6#issuecomment-488825579, or mute the thread https://github.com/notifications/unsubscribe-auth/ACGK6DCCYB4T7XRBXJQUA5DPTNHA3ANCNFSM4HIIVNZA .

mgilmour commented 5 years ago

Yeah, that's really weird. lol

On Thu, May 2, 2019 at 2:12 PM Abram Fleishman notifications@github.com wrote:

it was all because I had a delta symbol in the function description. who knows why it works on my and your other computer....


Abram B. Fleishman | Research Scientist Conservation Metrics, Inc. http://www.conservationmetrics.com UCSC Coastal Science Campus 145 McAllister Way, Santa Cruz, CA 95060 (541)-207-2335 | abram@conservationmetrics.com

On Thu, May 2, 2019 at 1:43 PM mgilmour notifications@github.com wrote:

Thanks!

On Thu, May 2, 2019 at 1:43 PM Morgan Gilmour mgilmour@ucsc.edu wrote:

Works!

On Thu, May 2, 2019 at 1:35 PM Abram Fleishman < notifications@github.com

wrote:

@mgilmour https://github.com/mgilmour try it now I found special characters in the description of the InOutPoints function documentation and removed them and it works on my computer here now

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <https://github.com/abfleishman/trakR/issues/6#issuecomment-488823198 , or mute the thread <

https://github.com/notifications/unsubscribe-auth/AC2MHN62QQBB4W4QKRHQODDPTNGCVANCNFSM4HIIVNZA

.

-- Morgan Gilmour, PhD Ocean Sciences Long Marine Lab University of California, Santa Cruz 95060

Check out my seabird research here http://www.morgangilmour.com

-- Morgan Gilmour, PhD Ocean Sciences Long Marine Lab University of California, Santa Cruz 95060

Check out my seabird research here http://www.morgangilmour.com

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/abfleishman/trakR/issues/6#issuecomment-488825579, or mute the thread < https://github.com/notifications/unsubscribe-auth/ACGK6DCCYB4T7XRBXJQUA5DPTNHA3ANCNFSM4HIIVNZA

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/abfleishman/trakR/issues/6#issuecomment-488834017, or mute the thread https://github.com/notifications/unsubscribe-auth/AC2MHN4P7UYSNEPCVHIAEQ3PTNKKHANCNFSM4HIIVNZA .

-- Morgan Gilmour, PhD Ocean Sciences Long Marine Lab University of California, Santa Cruz 95060

Check out my seabird research here http://www.morgangilmour.com