Unable to install some packages in R

The repository has 3.6 in it,
And I can see what happened… This Forum software abbreviated the URL even though it was enclosed in CODE tags… I don’t remember that happening before, is probably a newly introduced bug

Don’t copy the following URL,
Copy the <link> of the URL… Typically you can Rt-click on the link and see the appropriate option, the exact wording would depend on the web browser you’re using.

http://download.opensuse.org/repositories/devel:/languages:/R:/released/openSUSE_Leap_15.1/

So, you should build your URL string in 3 parts…
First the zypper command

zypper ar -f

Then paste the above URL,
Then a space and then enter a name for your repository, I simply suggest

LEAP_15.1_R_repository

Then you should refresh which should find the metadata and prompt you to accept the GPG key.
After that, you should be able to install R, maybe simply doing a “zypper update” might be sufficient since you presumably already installed all the R packages for 3.5 but can’t compile.

TSU

Nice. Now I have got the most recent R version:

version             _                           
platform       x86_64-suse-linux-gnu       
arch           x86_64                      
os             linux-gnu                   
system         x86_64, linux-gnu           
status                                     
major          3                           
minor          6.1                         
year           2019                        
month          07                          
day            05                          
svn rev        76782                       
language       R                           
version.string R version 3.6.1 (2019-07-05)

With that it still did not work. I additionally installed libopenssl-devel and R-xml2 and the installation of “devtools” went through. I haven’t started working with the package, but I guess the problem is solved now.
Thanks for your help and sorry for late reply.

Best