diff --git a/R/rtools.R b/R/rtools.R index 95cc932..65162cc 100644 --- a/R/rtools.R +++ b/R/rtools.R @@ -188,6 +188,10 @@ rtools <- function(path, version, ...) { } is.rtools <- function(x) inherits(x, "rtools") +#' Retrieve a text string with the rtools version needed +#' +#' @keywords internal +#' @export rtools_needed <- function() { r_version <- getRversion() diff --git a/man/rtools_needed.Rd b/man/rtools_needed.Rd new file mode 100644 index 0000000..9b228cc --- /dev/null +++ b/man/rtools_needed.Rd @@ -0,0 +1,12 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/rtools.R +\name{rtools_needed} +\alias{rtools_needed} +\title{Retrieve a text string with the rtools version needed} +\usage{ +rtools_needed() +} +\description{ +Retrieve a text string with the rtools version needed +} +\keyword{internal}