- Fix check logic for whether input SpatRaster is in memory
-
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 forrosetta.rosetta.SoilData
objects (#8)
- Add custom
-
Suppress some output on non-Windows platforms
-
Update tests for modern usage of {terra} categorical rasters
- Set minimum R version to 3.5
-
Improvements to
find_python()
(now uses user pathpython
if defined, and callsreticulate::use_python()
as needed) -
Changed
.onLoad()
behavior (should reduce amount of custom Python settings needed)
- Updated unit tests to skip if required Python modules are not installed
- Fixes for
find_python()
heuristics
- Clarified virtual and Conda environments for {reticulate} setup in function documentation and README
- Add
find_python()
helper method- This method is called when you load the package with
library(rosettaPTF)
AND in individual calls torosettaPTF::install_rosetta()
- Sets the package option
rosettaPTF.python_path
and returns the value
- This method is called when you load the package with
- Add
run_rosetta()
- Pass through variable order (
vars
) and parallel/block processing arguments (core
,file
,nrows
,overwrite
) to SpatRaster method for Raster* objects
- Pass through variable order (
- Use {terra} internally for raster data inputs and outputs
- Add S3
run_rosetta()
methods formatrix
,RasterBrick
andSpatRaster
- Add S3
run_rosetta()
methods fordata.frame
andRasterStack
- Initial R package
- Use {reticulate} to handle install of Python modules:
rosetta-soil
,numpy
- Provide
list
-input interface; directly coercible to Python data structures used forrun_rosetta()