Skip to content

Commit

Permalink
fix requirenamespace
Browse files Browse the repository at this point in the history
also, fix  redirected links
  • Loading branch information
lbusett committed Sep 2, 2020
1 parent 60be9e8 commit 4258f1a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Suggests:
magrittr,
formatR
SystemRequirements:
URL: https://github.com/ropensci/MODIStsp, https://docs.ropensci.org/MODIStsp
URL: https://github.com/ropensci/MODIStsp/, https://docs.ropensci.org/MODIStsp
BugReports: https://github.com/ropensci/MODIStsp/issues
LazyData: true
VignetteBuilder: knitr
Expand Down
6 changes: 5 additions & 1 deletion R/MODIStsp.R
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ MODIStsp <- function(...,
"leafem", "mapedit",
"magrittr")
gui_deps_missing <- !sapply(gui_deps, requireNamespace, quietly = TRUE)

if (sum(gui_deps_missing) > 0) {
stop("You need to install the following Suggested packages to use the MODIStsp GUI.
Please install them with:
Expand All @@ -368,6 +368,10 @@ MODIStsp <- function(...,
requireNamespace("shinydashboard")
requireNamespace("shinyFiles")
requireNamespace("shinyalert")
requireNamespace("shinyjs")
requireNamespace("leafem")
requireNamespace("rappdirs")
requireNamespace("mapedit")
requireNamespace("magrittr")
}
#nocov end
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ knitr::opts_chunk$set(
[![Travis-CI Build Status](https://travis-ci.org/ropensci/MODIStsp.svg?branch=master)](https://travis-ci.org/ropensci/MODIStsp)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.1972039.svg)](https://doi.org/10.5281/zenodo.1972039)
[![Coverage Status](https://img.shields.io/codecov/c/github/ropensci/MODIStsp/master.svg)](https://codecov.io/github/ropensci/MODIStsp?branch=master)
[![](https://badges.ropensci.org/184_status.svg)](https://github.com/ropensci/onboarding/issues/184)
[![](https://badges.ropensci.org/184_status.svg)](https://github.com/ropensci/software-review/issues/184)

# MODIStsp <img src='man/figures/logo.png' align="right" height="139" />

Expand Down
2 changes: 1 addition & 1 deletion vignettes/MODIStsp.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ argument:
#### On Windows

- create a Task following [these instructions](https://technet.microsoft.com/en-us/library/cc748993.aspx); add the path of the MODIStsp.bat launcher as Action (point 6), and specifying `-g -s "X:/yourpath/youroptions.json"` as argument.
- create a Task following [these instructions](https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc748993(v=ws.11)?redirectedfrom=MSDN); add the path of the MODIStsp.bat launcher as Action (point 6), and specifying `-g -s "X:/yourpath/youroptions.json"` as argument.

# Outputs Format and Naming Conventions

Expand Down
2 changes: 1 addition & 1 deletion vignettes/standalone_execution.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ following row:
## _On Windows_

- create a Task following [this instructions](https://technet.microsoft.com/en-us/library/cc748993.aspx)
- create a Task following [this instructions](https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc748993(v=ws.11)?redirectedfrom=MSDN)
- add the path of the MODIStsp.bat launcher as Action (point 6),
specifying `-g -s "X:/yourpath/youroptions.json"` as argument.

0 comments on commit 4258f1a

Please sign in to comment.