Is the `docker-compose run r` output before or after you changed the
line endings in build_arrow_static.sh? This error:

inst/build_arrow_static.sh: line 38: $'\r': command not found

makes it look like you may have written the file out with
Windows-style line endings which I suspect MinGW is having a hard time
with. If that's the case, do you get a different output from
`docker-compose run r` before you rewrite the file? Are you running
this with (1) recent checkout and (2) with a completely clean working
copy? If you're not sure, include the output of `git rev-parse HEAD`
and `git status` in an updated gist.

On Sun, Oct 22, 2023 at 11:25 PM Divyansh Khatri
<divyanshkhatri...@gmail.com> wrote:
>
> Hi Jonathan,
> So,first of all regarding the previous message I sent I thought I setup the
> R correctly but when i ran the container it was exiting immediately so I
> did the process again.I followed the developer documentation [1] (
> https://arrow.apache.org/docs/r/articles/developers/docker.html#example---the-manual-way
> ).but i am encountering an error (I think it's regarding the line ending
> of inst/build_arrow_static.sh).but even after changing the line ending I am
> still encountering the same error. Can you tell me what's the problem?
>
> https://gist.github.com/Divyansh200102/dd7fc370e39818796c58df44badcc1b8
>
> I have attached the terminal output of the documentation [1] and the 4
> files containing "inst/build_arrow_static.sh"(If I need to make any changes
> in the line ending of any of  them please tell me which one).
>
> Thanks
>
> On Mon, 23 Oct 2023 at 00:59, Divyansh Khatri <divyanshkhatri...@gmail.com>
> wrote:
>
> > Thanks for the help Jonathan,Nic and Bryce I was able to setup R  and the
> >> docs.
> >
> >

Reply via email to