devel/R-cran-lintr: New port: A 'Linter' for R Code

This commit is contained in:
Guangyuan Yang 2021-12-10 00:19:44 -05:00
parent ac510869a9
commit 937188af9d
4 changed files with 40 additions and 0 deletions

View file

@ -66,6 +66,7 @@
SUBDIR += R-cran-itertools
SUBDIR += R-cran-later
SUBDIR += R-cran-lifecycle
SUBDIR += R-cran-lintr
SUBDIR += R-cran-listenv
SUBDIR += R-cran-lubridate
SUBDIR += R-cran-magrittr

View file

@ -0,0 +1,31 @@
# Created by: Guangyuan Yang <ygy@FreeBSD.org>
PORTNAME= lintr
DISTVERSION= 2.0.1
CATEGORIES= devel
DISTNAME= ${PORTNAME}_${DISTVERSION}
MAINTAINER= ygy@FreeBSD.org
COMMENT= A 'Linter' for R Code
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= R-cran-knitr>0:print/R-cran-knitr
RUN_DEPENDS= R-cran-jsonlite>0:converters/R-cran-jsonlite \
R-cran-crayon>0:devel/R-cran-crayon \
R-cran-cyclocomp>0:devel/R-cran-cyclocomp \
R-cran-rstudioapi>=0.2:devel/R-cran-rstudioapi \
R-cran-testthat>=2.2.1:devel/R-cran-testthat \
R-cran-knitr>0:print/R-cran-knitr \
R-cran-digest>0:security/R-cran-digest \
R-cran-rex>0:textproc/R-cran-rex \
R-cran-xml2>=1.0.0:textproc/R-cran-xml2 \
R-cran-xmlparsedata>=1.0.3:textproc/R-cran-xmlparsedata \
R-cran-httr>=1.2.1:www/R-cran-httr
TEST_DEPENDS= R-cran-mockery>0:devel/R-cran-mockery \
R-cran-rmarkdown>0:textproc/R-cran-rmarkdown
USES= cran:auto-plist
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1639112705
SHA256 (lintr_2.0.1.tar.gz) = fe0723757b653ef83ec7a5005d0a7524cd917d646d35a5627ee639158881ce93
SIZE (lintr_2.0.1.tar.gz) = 219142

View file

@ -0,0 +1,5 @@
Checks adherence to a given style, syntax errors and possible semantic issues.
Supports on the fly checking of R code edited with 'RStudio IDE', 'Emacs',
'Vim', 'Sublime Text' and 'Atom'.
WWW: https://github.com/jimhester/lintr