omegahat / RDCOMClient

GNU General Public License v2.0
77 stars 34 forks source link

Is it not ready for 3.5.0 #14

Open hack-r opened 5 years ago

hack-r commented 5 years ago

Apologies, I don't use this myself but have had a couple of StackOverflow questions I've tried to answer on this fine package in the past 24 hours, but I keep getting:

Warning in install.packages : package ‘RDCOMClient’ is not available (for R version 3.5.0)

and a similar type of error when trying to hit the OmegaHat repo URI. Haven't tried install_github. I presume it's just a version issue so I thought I'd check. Many thanks.

mark-archer commented 5 years ago

After installing RTools for R 3.5 I was able to run devtools::install_github("omegahat/RDCOMClient") and everything seemed to work just fine. @omegahat Is there a reason you don't want to bump the package to 3.5 on CRAN? If it's a time issue I'd be happy to take that on for you.

mkoohafkan commented 5 years ago

I just tried using the development version to create an MS Outlook COM object and it locks R up... so maybe not ready for CRAN?

library(RDCOMClient)
OutApp <- COMCreate("Outlook.Application")
outMail = OutApp$CreateItem(0)

Duplicate of #9?

mark-archer commented 5 years ago

@mkoohafkan Are you saying when you install RDCOMClient via devtools::install_github("omegahat/RDCOMClient") it locks up R when you try to create an instance of Outlook but when you install RDCOMClient via CRAN it doesn't?

mkoohafkan commented 5 years ago

@mark-archer I haven't tried it with older versions of R, just the current release 3.5.2. sorry for the confusion.

mark-archer commented 5 years ago

Got it. Well if this behavior is the same between older versions of R and 3.5 as well as the version of RDCOM on CRAN and the current code on github then I'd say there's no reason not to bump the version on CRAN to 3.5.

By not bumping the version on CRAN, it's preventing people who use that package from moving to newer versions of R or from using CRAN as their package manager. Neither one of those seem like good things to me.