Fixing The namespace problems

This commit is contained in:
hollorol 2019-01-15 20:31:55 +01:00
parent 5ba2f13127
commit 790757d77d
3 changed files with 4 additions and 13 deletions

View File

@ -27,7 +27,7 @@ Imports:
LinkingTo: Rcpp
SystemRequirements: C++11
Maintainer: Roland Hollo's <hollorol@gmail.com>
RoxygenNote: 6.1.0
RoxygenNote: 6.1.1
Suggests: knitr,
rmarkdown,
VignetteBuilder: knitr

View File

@ -26,6 +26,7 @@ export(spinupMuso)
export(supportedMuso)
export(updateMusoMapping)
import(ggplot2)
import(tcltk)
import(utils)
importFrom(Rcpp,evalCpp)
importFrom(digest,digest)
@ -56,15 +57,7 @@ importFrom(limSolve,xsample)
importFrom(magrittr,'%<>%')
importFrom(rmarkdown,render)
importFrom(scales,percent)
importFrom(tcltk,tcl)
importFrom(tcltk,tclRequire)
importFrom(tcltk,tclVar)
importFrom(tcltk,tclvalue)
importFrom(tcltk,tk_choose.dir)
importFrom(tcltk,tk_choose.files)
importFrom(tcltk,tktitle)
importFrom(tcltk,tktoplevel)
importFrom(tcltk,tkwidget)
importFrom(tibble,rownames_to_column)
importFrom(tidyr,separate)
useDynLib(RBBGCMuso)

View File

@ -47,11 +47,9 @@ copyMusoExamleTo <- function(example = NULL, destination = NULL){
currDir <- getwd()
setwd(cExample)
if(!WindowsP){
file.copy("./bin/muso", destination)
file.copy(grep("(exe|dll)$", list.files(), value = TRUE, invert = TRUE),destination)
} else {
file.copy("./bin/muso.exe", destination)
file.copy("./bin/cygwin1.dll", destination)
file.copy(grep("^muso$", list.files(), value = TRUE, invert = TRUE),destination)
}
file.copy(grep("bin", list.files(), value = TRUE, invert = TRUE),destination)
setwd(currDir)
}