Skip to content
This repository has been archived by the owner on Oct 31, 2019. It is now read-only.

Commit

Permalink
Rename package to AzureSMR - fixes #14. Bump version to 0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
andrie committed Dec 19, 2016
1 parent 4f77629 commit 0e55808
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 39 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: AzureSM
Package: AzureSMR
Type: Package
Title: Package for Interacting with Azure Services, including HDInsight (Spark, Hive), Virtual Machines and blob storage
Version: 0.1
Version: 0.2
Date: 2016-12-17
Author: Alan Weaver
Maintainer: Alan Weaver <alanwe@microsoft.com>
Expand Down
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export(AzureGetBlob)
export(AzureHDIConf)
export(AzureHiveSQL)
export(AzureHiveStatus)
export(AzureListAllRecources)
export(AzureListAllResources)
export(AzureListHDI)
export(AzureListRG)
Expand Down
8 changes: 4 additions & 4 deletions R/AzureSM-package.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' AzureSM
#' AzureSMR
#'
#' The AzureSM package connects R to the Azure Service Manager API.
#' The AzureSMR package connects R to the Azure Service Manager API.
#'
#' This enables you to use and change many Azure resources, including:
#'
Expand All @@ -12,8 +12,8 @@
#' }
#'
#'
#' @name AzureSM-package
#' @aliases AzureSM
#' @name AzureSMR-package
#' @aliases AzureSMR
#' @docType package
#' @keywords package
#'
Expand Down
8 changes: 0 additions & 8 deletions R/Deprecated.R

This file was deleted.

2 changes: 1 addition & 1 deletion R/config.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# @config Location of file that contains configuration in JSON format
#
read.AzureSM.config <- function(config = getOption("AzureSM.config")){
read.AzureSMR.config <- function(config = getOption("AzureSMR.config")){
z <- tryCatch(fromJSON(file(config)),
error = function(e)e
)
Expand Down
4 changes: 2 additions & 2 deletions R/zzz.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AzureSM.config.default <- "~/.azureml/settings.json"
AzureSMR.config.default <- "~/.azureml/settings.json"

.onAttach <- function(libname, pkgname){
options(AzureML.config = AzureSM.config.default)
options(AzureSMR.config = AzureSMR.config.default)
}
2 changes: 1 addition & 1 deletion R/zzz_test_helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
skip_if_missing_config <- function(f){
if(!file.exists(f)) {
msg <- paste("To run tests, add a file ~/.azuresm/settings.json containing AzureML keys.",
msg <- paste("To run tests, add a file ~/.azuresmr/settings.json containing AzureML keys.",
"See ?workspace for help",
sep = "\n")
message(msg)
Expand Down
10 changes: 5 additions & 5 deletions man/AzureSM-package.Rd → man/AzureSMR-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions man/defunct.Rd

This file was deleted.

0 comments on commit 0e55808

Please sign in to comment.