Added arguments to install_rosetta()
system argument for installing to user site packages with --user flag
upgrade argument for forcing upgrade of rosetta-soil module
Fixes for recent changes in {reticulate} (>= 1.29)
Add custom py_to_r() S3 wrapper for rosetta.rosetta.SoilData objects (#8)
Suppress some output on non-Windows platforms
Update tests for modern usage of {terra} categorical rasters
Improvements to find_python() (now uses user path python if defined, and calls reticulate::use_python() as needed)
Changed .onLoad() behavior (should reduce amount of custom Python settings needed)
find_python() heuristicsfind_python() helper methodlibrary(rosettaPTF) AND in individual calls to rosettaPTF::install_rosetta()rosettaPTF.python_path and returns the valuerun_rosetta() vars) and parallel/block processing arguments (core, file, nrows, overwrite) to SpatRaster method for Raster* objectsrun_rosetta() methods for matrix, RasterBrick and SpatRasterrun_rosetta() methods for data.frame and RasterStack rosetta-soil, numpylist-input interface; directly coercible to Python data structures used for run_rosetta()Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.