Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with MODIS package installation #95

Open
bholst505 opened this issue Aug 6, 2020 · 0 comments
Open

Problem with MODIS package installation #95

bholst505 opened this issue Aug 6, 2020 · 0 comments

Comments

@bholst505
Copy link

Hi,

I am trying to download and use the MODIS package but run into the following error when loading the package into an R session with the library() command:

library(MODIS)
Error: package or namespace load failed for ‘MODIS’:
.onAttach failed in attachNamespace() for 'MODIS', details:
call: parse(ifelse(file.exists(optfile), optfile, tmpopt))
error: C:\Users\BRADY'~1\AppData\Local\Temp\RtmpKkWxHh/.MODIS_Opts.R:16:18: unexpected symbol
15: # Default output location for MODIS package processing results.
16: outDirPath <- 'C
^

The traceback is as follows:

traceback()
6: stop(msg, call. = FALSE, domain = NA)
5: value[3L]
4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
3: tryCatchList(expr, classes, parentenv, handlers)
2: tryCatch({
attr(package, "LibPath") <- which.lib.loc
ns <- loadNamespace(package, lib.loc)
env <- attachNamespace(ns, pos = pos, deps, exclude, include.only)
}, error = function(e) {
P <- if (!is.null(cc <- conditionCall(e)))
paste(" in", deparse(cc)[1L])
else ""
msg <- gettextf("package or namespace load failed for %s%s:\n %s",
sQuote(package), P, conditionMessage(e))
if (logical.return)
message(paste("Error:", msg), domain = NA)
else stop(msg, call. = FALSE, domain = NA)
})
1: library(MODIS)

Any help would be much appreciated, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant