cronR package error

package-installation
cronr

#1

Dears,
I am unable to install the cronR package and scheduling is a very important task in my project. Please help me to sort out the issue.

error includes the below,

install.packages("cronR")
Installing package into ‘C:/Users/My-PC/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘cronR’ is not available (for R version 3.5.1)


#2

Hi! Welcome!

cronR helps schedule R scripts to run via the cron scheduler utility found on Unix systems. Windows doesn’t have cron, so it doesn’t make much sense to try to run cronR on Windows. Therefore, the package author has included a flag (OS_type: unix) on CRAN, making it so that the package will only install on Unix-alike systems.

The same author has a separate Windows scheduler interface package:
https://cran.r-project.org/package=taskscheduleR