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

EAPI=8

inherit R-packages

DESCRIPTION='Build and Raytrace 3D Scenes'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/rayrender_0.32.2.tar.gz"
LICENSE='GPL-3'

IUSE="${IUSE-} r_suggests_dplyr r_suggests_rvcg r_suggests_sf
	r_suggests_spdata r_suggests_testthat r_suggests_tibble"
R_SUGGESTS="
	r_suggests_dplyr? ( sci-CRAN/dplyr )
	r_suggests_rvcg? ( sci-CRAN/Rvcg )
	r_suggests_sf? ( sci-CRAN/sf )
	r_suggests_spdata? ( sci-CRAN/spData )
	r_suggests_testthat? ( >=sci-CRAN/testthat-3.0.0 )
	r_suggests_tibble? ( sci-CRAN/tibble )
"
DEPEND=">=dev-lang/R-3.0.2
	>=sci-CRAN/Rcpp-1.0.0
	sci-CRAN/decido
	sci-CRAN/magrittr
	>=sci-CRAN/rayimage-0.10.0
	sci-CRAN/withr
	sci-CRAN/png
	sci-CRAN/raster
	sci-CRAN/progress
	>=sci-CRAN/rayvertex-0.10.4
	sci-CRAN/vctrs
	sci-CRAN/cli
	sci-CRAN/pillar
"
RDEPEND="${DEPEND-}
	>=sci-CRAN/spacefillr-0.3.0
	sci-CRAN/RcppThread
	sci-CRAN/progress
	sci-CRAN/Rcpp
	${R_SUGGESTS-}
"