forsys-sp / patchmax

A spatial selection optimization algorithm in ForSysR
GNU General Public License v3.0
3 stars 0 forks source link

Issues installing patchmax #33

Open melBoyd opened 11 months ago

melBoyd commented 11 months ago

I've been trying to install patchmax in R studio using the provided code (remotes::install_github("forsys-sp/patchmax", force = TRUE)) but I keep getting the following error messages:

1: In missing_devel_warning(pkgdir) : Package patchmax has compiled code, but no suitable compiler(s) were found. Installation will likely fail. Install Rtools (https://cran.r-project.org/bin/windows/Rtools/).Then use the pkgbuild package, or make sure that Rtools in the PATH. 2: package ‘assertive’ is not available for this version of R

I am using the most up-to-date version (RStudio 2023.12.0+369). Do I need to use an older version to get the package to work?

Thanks.

melBoyd commented 11 months ago

I re-ran it again and now am only getting the second error message....must be something to do with assertive? It looks like that package is no longer available on CRAN.

codyevers commented 11 months ago

Good to know, will need to replace these checks w/ alternative. Looks like there are a couple options: assertthat, assertr