# Copyright 1999-2021 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit R-packages

DESCRIPTION='Web Framework Inspired by Express.js'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/ambiorix_1.0.2.tar.gz"
LICENSE='GPL-3'

IUSE="${IUSE-} r_suggests_htmltools r_suggests_htmlwidgets r_suggests_mime
	r_suggests_readr"
R_SUGGESTS="
	r_suggests_htmltools? ( sci-CRAN/htmltools )
	r_suggests_htmlwidgets? ( sci-CRAN/htmlwidgets )
	r_suggests_mime? ( sci-CRAN/mime )
	r_suggests_readr? ( sci-CRAN/readr )
"
DEPEND="sci-CRAN/assertthat
	sci-CRAN/here
	sci-CRAN/log
	sci-CRAN/fs
	sci-CRAN/cli
	sci-CRAN/glue
	sci-CRAN/httpuv
	sci-CRAN/promises
	sci-CRAN/jsonlite
	sci-CRAN/websocket
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"