Date: Fri, 10 Dec 2021 05:21:01 GMT From: Guangyuan Yang <ygy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 937188af9d1a - main - devel/R-cran-lintr: New port: A 'Linter' for R Code Message-ID: <202112100521.1BA5L1OR085990@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by ygy: URL: https://cgit.FreeBSD.org/ports/commit/?id=937188af9d1a4dd7622b8aef33814345a6a9b73a commit 937188af9d1a4dd7622b8aef33814345a6a9b73a Author: Guangyuan Yang <ygy@FreeBSD.org> AuthorDate: 2021-12-10 05:19:44 +0000 Commit: Guangyuan Yang <ygy@FreeBSD.org> CommitDate: 2021-12-10 05:19:44 +0000 devel/R-cran-lintr: New port: A 'Linter' for R Code --- devel/Makefile | 1 + devel/R-cran-lintr/Makefile | 31 +++++++++++++++++++++++++++++++ devel/R-cran-lintr/distinfo | 3 +++ devel/R-cran-lintr/pkg-descr | 5 +++++ 4 files changed, 40 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 219accf957cc..c8f9a34475df 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/R-cran-lintr/Makefile b/devel/R-cran-lintr/Makefile new file mode 100644 index 000000000000..4c9c265f00ce --- /dev/null +++ b/devel/R-cran-lintr/Makefile @@ -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> diff --git a/devel/R-cran-lintr/distinfo b/devel/R-cran-lintr/distinfo new file mode 100644 index 000000000000..e6dc41aedf02 --- /dev/null +++ b/devel/R-cran-lintr/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1639112705 +SHA256 (lintr_2.0.1.tar.gz) = fe0723757b653ef83ec7a5005d0a7524cd917d646d35a5627ee639158881ce93 +SIZE (lintr_2.0.1.tar.gz) = 219142 diff --git a/devel/R-cran-lintr/pkg-descr b/devel/R-cran-lintr/pkg-descr new file mode 100644 index 000000000000..f870f03f6705 --- /dev/null +++ b/devel/R-cran-lintr/pkg-descr @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112100521.1BA5L1OR085990>