Skip to content

Commit 3217bd4

Browse files
committed
install.Texmaker function added.
1 parent c22de7e commit 3217bd4

5 files changed

Lines changed: 74 additions & 1 deletion

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: installr
22
Type: Package
33
Title: Using R to install stuff (such as: R, Rtools, RStudio, git, and more!)
4-
Version: 0.15.9
4+
Version: 0.15.10
55
Date: 2014-07-27
66
Authors@R: c(person("Tal", "Galili", role = c("aut", "cre", "cph"), email =
77
"tal.galili@gmail.com", comment = "http://www.r-statistics.com"),

NAMESPACE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export(install.RStudio)
3434
export(install.Rdevel)
3535
export(install.Rtools)
3636
export(install.SWFTools)
37+
export(install.Texmaker)
3738
export(install.URL)
3839
export(install.cygwin)
3940
export(install.ffmpeg)
@@ -51,6 +52,7 @@ export(install.pandoc)
5152
export(install.rstudio)
5253
export(install.rtools)
5354
export(install.swftools)
55+
export(install.texmaker)
5456
export(installr)
5557
export(is.RStudio)
5658
export(is.Rgui)

NEWS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
installr 0.15.10 (2014-07-27)
2+
---------------------------
3+
4+
NEW FUNCTIONS:
5+
* install.Texmaker
6+
7+
18
installr 0.15.9 (2014-07-27)
29
---------------------------
310

R/install.R

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,6 +1159,31 @@ install.github <- function(...) install.GitHub(...)
11591159

11601160

11611161

1162+
#' @title Downloads and installs Texmaker for windows
1163+
#' @aliases install.texmaker
1164+
#' @description Allows the user to downloads and install the latest version of Texmaker for Windows.
1165+
#' @details
1166+
#' Texmaker is a free, modern and cross-platform LaTeX editor for linux,
1167+
#' macosx and windows systems that integrates many tools needed to develop
1168+
#' documents with LaTeX, in just one application.
1169+
#' @param URL the URL of the GitHub download page.
1170+
#' @param ... extra parameters to pass to \link{install.URL}
1171+
#' @return logical - was the installation successful or not.
1172+
#' @export
1173+
#' @references
1174+
#' \itemize{
1175+
#' \item Texmaker homepage: \url{http://www.xm1math.net/texmaker/}
1176+
#' }
1177+
#' @examples
1178+
#' \dontrun{
1179+
#' install.Texmaker() # installs the latest version of Texmaker for windows
1180+
#' }
1181+
install.Texmaker <- function(URL = "http://www.xm1math.net/texmaker/texmakerwin32_install.exe",...) {
1182+
install.URL(URL,...)
1183+
}
1184+
1185+
#' @export
1186+
install.texmaker <- function(...) install.Texmaker(...)
11621187

11631188

11641189

man/install.Texmaker.Rd

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
% Generated by roxygen2 (4.0.1): do not edit by hand
2+
\name{install.Texmaker}
3+
\alias{install.Texmaker}
4+
\alias{install.texmaker}
5+
\title{Downloads and installs Texmaker for windows}
6+
\usage{
7+
8+
install.Texmaker(URL = "http://www.xm1math.net/texmaker/texmakerwin32_install.exe",
9+
...)
10+
}
11+
\arguments{
12+
\item{URL}{the URL of the GitHub download page.}
13+
14+
\item{...}{extra parameters to pass to
15+
\link{install.URL}}
16+
}
17+
\value{
18+
logical - was the installation successful or not.
19+
}
20+
\description{
21+
Allows the user to downloads and install the latest version
22+
of Texmaker for Windows.
23+
}
24+
\details{
25+
Texmaker is a free, modern and cross-platform LaTeX editor
26+
for linux, macosx and windows systems that integrates many
27+
tools needed to develop documents with LaTeX, in just one
28+
application.
29+
}
30+
\examples{
31+
\dontrun{
32+
install.Texmaker() # installs the latest version of Texmaker for windows
33+
}
34+
}
35+
\references{
36+
\itemize{ \item Texmaker homepage:
37+
\url{http://www.xm1math.net/texmaker/} }
38+
}
39+

0 commit comments

Comments
 (0)