TeamCity Bvcms / Build [Build 1378](https://builds.tpsdb.com/viewLog.html?buildId=6973&buildTypeId=Bvcms_Build) outcome was **FAILURE**
Summary: Tests failed: 8, passed: 10 Build time: 00:06:31
### Failed tests
```
Test collection for IntegrationTests.Areas.Manage.AccountTests (1): IntegrationTests.Areas.Manage.AccountTests.MyData_User_Logon_Success_Test: System.Data.SqlClient.SqlException : Invalid object name 'dbo.Families'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
   at System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
   at System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
   at System.Data.Linq.ChangeDirector.StandardChangeDirector.DynamicInsert(TrackedObject item)
   at System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode)
   at System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode)
   at CmsData.CMSDataContext.SubmitChanges(ConflictMode failureMode) in C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\CmsData\DbUtil\Context.cs:line 130
   at IntegrationTests.Support.AccountTestBase.CreateUser(Family family, String[] roles) in C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\IntegrationTests\Support\AccountTestBase.cs:line 27
   at IntegrationTests.Areas.Manage.AccountTests.MyData_User_Logon_Success_Test() in C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\IntegrationTests\Areas\Manage\AccountTests.cs:line 26

Test collection for IntegrationTests.Areas.Manage.AccountTests (1): IntegrationTests.Areas.Manage.AccountTests.MyData_User_Logon_Fail_Test: System.Data.SqlClient.SqlException : Invalid object name 'dbo.Families'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
   at System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
   at System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
   at System.Data.Linq.ChangeDirector.StandardChangeDirector.DynamicInsert(TrackedObject item)
   at System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode)
   at System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode)
   at CmsData.CMSDataContext.SubmitChanges(ConflictMode failureMode) in C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\CmsData\DbUtil\Context.cs:line 130
   at IntegrationTests.Support.AccountTestBase.CreateUser(Family family, String[] roles) in C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\IntegrationTests\Support\AccountTestBase.cs:line 27
   at IntegrationTests.Areas.Manage.AccountTests.MyData_User_Logon_Fail_Test() in C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\IntegrationTests\Areas\Manage\AccountTests.cs:line 14

Test collection for IntegrationTests.Areas.Manage.AccountTests (1): IntegrationTests.Areas.Manage.AccountTests.MyData_User_Logout_Success_Test: System.Data.SqlClient.SqlException : Invalid object name 'dbo.Families'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
   at System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
   at System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
   at System.Data.Linq.ChangeDirector.StandardChangeDirector.DynamicInsert(TrackedObject item)
   at System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode)
   at System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode)
   at CmsData.CMSDataContext.SubmitChanges(ConflictMode failureMode) in C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\CmsData\DbUtil\Context.cs:line 130
   at IntegrationTests.Support.AccountTestBase.CreateUser(Family family, String[] roles) in C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\IntegrationTests\Support\AccountTestBase.cs:line 27
   at IntegrationTests.Areas.Manage.AccountTests.MyData_User_Logout_Success_Test() in C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\IntegrationTests\Areas\Manage\AccountTests.cs:line 39

Test collection for IntegrationTests.Areas.Manage.AccountTests (1): IntegrationTests.Areas.Manage.AccountTests.MyData_User_ChangePassword_Test: System.Data.SqlClient.SqlException : Invalid object name 'dbo.Families'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
   at System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
   at System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
   at System.Data.Linq.ChangeDirector.StandardChangeDirector.DynamicInsert(TrackedObject item)
   at System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode)
   at System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode)
   at CmsData.CMSDataContext.SubmitChanges(ConflictMode failureMode) in C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\CmsData\DbUtil\Context.cs:line 130
   at IntegrationTests.Support.AccountTestBase.CreateUser(Family family, String[] roles) in C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\IntegrationTests\Support\AccountTestBase.cs:line 27
   at IntegrationTests.Areas.Manage.AccountTests.MyData_User_ChangePassword_Test() in C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\IntegrationTests\Areas\Manage\AccountTests.cs:line 51

Database collection (1): CMSWebTests.QueryModelTests.Should_be_able_to_parse_and_execute_querycode: System.Data.SqlClient.SqlException : Invalid object name 'dbo.Query'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
   at System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
   at System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
   at System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at CmsData.CMSDataContext.ScratchPadCondition() in C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\CmsData\QueryBuilder\QueryContext.cs:line 28
   at CmsWeb.Areas.Search.Models.QueryModel.QueryCode(CMSDataContext db, String code) in C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\CmsWeb\Areas\Search\Models\Query\Model\QueryViewModel.cs:line 15
   at CMSWebTests.QueryModelTests.Should_be_able_to_parse_and_execute_querycode() in C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\UnitTests\CMSWebTests\Code\QueryModelTests.cs:line 17

Database collection (1): CMSWebTests.CodeValueModelTests.Should_be_able_to_get_MemberTypeCodes: System.Data.SqlClient.SqlException : Invalid object name 'lookup.MemberType'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
   at System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
   at System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
   at System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
   at CMSWebTests.CodeValueModelTests.Should_be_able_to_get_MemberTypeCodes() in C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\UnitTests\CMSWebTests\Code\CodeValueModelTests.cs:line 32

Database collection (1): CMSWebTests.CodeValueModelTests.Should_be_able_to_get_BundleStatusTypes: System.Data.SqlClient.SqlException : Invalid object name 'lookup.BundleStatusTypes'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
   at System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
   at System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
   at System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
   at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
   at CMSWebTests.CodeValueModelTests.Should_be_able_to_get_BundleStatusTypes() in C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\UnitTests\CMSWebTests\Code\CodeValueModelTests.cs:line 17

Database collection (1): CMSWebTests.CodeValueModelTests.Should_be_able_to_get_ContactReasonCodes: System.Data.SqlClient.SqlException : Invalid object name 'lookup.ContactReason'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
   at System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
   at System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
   at System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
   at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
   at CMSWebTests.CodeValueModelTests.Should_be_able_to_get_ContactReasonCodes() in C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\UnitTests\CMSWebTests\Code\CodeValueModelTests.cs:line 25

```


Would you be open to setting this to $corner too (so more rectangular theme configs also get a more rectangular selection background and the other way around)


[R/get_current_providers.R:4:3:](https://github.com/leslie-huang/leaflet.providers/blob/75971f4b5fa16e4b3470bbc3f55c83908987bfb8/R/get_current_providers.R#L4) *style:* **Only use double-quotes.**
```r
  '//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_current_providers.R:5:3:](https://github.com/leslie-huang/leaflet.providers/blob/75971f4b5fa16e4b3470bbc3f55c83908987bfb8/R/get_current_providers.R#L5) *style:* **Only use double-quotes.**
```r
  '//{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png',
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_current_providers.R:6:3:](https://github.com/leslie-huang/leaflet.providers/blob/75971f4b5fa16e4b3470bbc3f55c83908987bfb8/R/get_current_providers.R#L6) *style:* **Only use double-quotes.**
```r
  '//tile.osm.ch/switzerland/{z}/{x}/{y}.png',
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_current_providers.R:7:3:](https://github.com/leslie-huang/leaflet.providers/blob/75971f4b5fa16e4b3470bbc3f55c83908987bfb8/R/get_current_providers.R#L7) *style:* **Only use double-quotes.**
```r
  '//{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png',
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_current_providers.R:8:3:](https://github.com/leslie-huang/leaflet.providers/blob/75971f4b5fa16e4b3470bbc3f55c83908987bfb8/R/get_current_providers.R#L8) *style:* **Only use double-quotes.**
```r
  '//{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png',
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_current_providers.R:9:3:](https://github.com/leslie-huang/leaflet.providers/blob/75971f4b5fa16e4b3470bbc3f55c83908987bfb8/R/get_current_providers.R#L9) *style:* **Only use double-quotes.**
```r
  '//tile.openstreetmap.bzh/br/{z}/{x}/{y}.png',
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_current_providers.R:10:3:](https://github.com/leslie-huang/leaflet.providers/blob/75971f4b5fa16e4b3470bbc3f55c83908987bfb8/R/get_current_providers.R#L10) *style:* **Only use double-quotes.**
```r
  '//tiles.openseamap.org/seamark/{z}/{x}/{y}.png',
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_current_providers.R:11:3:](https://github.com/leslie-huang/leaflet.providers/blob/75971f4b5fa16e4b3470bbc3f55c83908987bfb8/R/get_current_providers.R#L11) *style:* **Only use double-quotes.**
```r
  '//s3.amazonaws.com/te512.safecast.org/{z}/{x}/{y}.png',
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_current_providers.R:12:3:](https://github.com/leslie-huang/leaflet.providers/blob/75971f4b5fa16e4b3470bbc3f55c83908987bfb8/R/get_current_providers.R#L12) *style:* **Only use double-quotes.**
```r
  '//{s}.tile.openstreetmap.se/hydda/{variant}/{z}/{x}/{y}.png',
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_current_providers.R:13:3:](https://github.com/leslie-huang/leaflet.providers/blob/75971f4b5fa16e4b3470bbc3f55c83908987bfb8/R/get_current_providers.R#L13) *style:* **Only use double-quotes.**
```r
  '//stamen-tiles-{s}.a.ssl.fastly.net/{variant}/{z}/{x}/{y}{r}.{ext}',
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_current_providers.R:14:3:](https://github.com/leslie-huang/leaflet.providers/blob/75971f4b5fa16e4b3470bbc3f55c83908987bfb8/R/get_current_providers.R#L14) *style:* **Only use double-quotes.**
```r
  '//stamen-tiles-{s}.a.ssl.fastly.net/{variant}/{z}/{x}/{y}.{ext}',
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_current_providers.R:15:3:](https://github.com/leslie-huang/leaflet.providers/blob/75971f4b5fa16e4b3470bbc3f55c83908987bfb8/R/get_current_providers.R#L15) *style:* **Only use double-quotes.**
```r
  '//server.arcgisonline.com/ArcGIS/rest/services/{variant}/MapServer/tile/{z}/{y}/{x}',
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_current_providers.R:16:3:](https://github.com/leslie-huang/leaflet.providers/blob/75971f4b5fa16e4b3470bbc3f55c83908987bfb8/R/get_current_providers.R#L16) *style:* **Only use double-quotes.**
```r
  '//{s}.{base}.maps.cit.api.here.com/maptile/2.1/',
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_current_providers.R:17:3:](https://github.com/leslie-huang/leaflet.providers/blob/75971f4b5fa16e4b3470bbc3f55c83908987bfb8/R/get_current_providers.R#L17) *style:* **Only use double-quotes.**
```r
  '//maps{s}.wien.gv.at/basemap/{variant}/normal/google3857/{z}/{y}/{x}.{format}',
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_current_providers.R:18:3:](https://github.com/leslie-huang/leaflet.providers/blob/75971f4b5fa16e4b3470bbc3f55c83908987bfb8/R/get_current_providers.R#L18) *style:* **Only use double-quotes.**
```r
  '//geodata.nationaalgeoregister.nl/tiles/service/wmts/{variant}/EPSG:3857/{z}/{x}/{y}.png',
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_current_providers.R:19:1:](https://github.com/leslie-huang/leaflet.providers/blob/75971f4b5fa16e4b3470bbc3f55c83908987bfb8/R/get_current_providers.R#L19) *style:* **lines should not be more than 100 characters.**
```r
  '//geodata.nationaalgeoregister.nl/luchtfoto/rgb/wmts/1.0.0/2016_ortho25/EPSG:3857/{z}/{x}/{y}.png',
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_current_providers.R:19:3:](https://github.com/leslie-huang/leaflet.providers/blob/75971f4b5fa16e4b3470bbc3f55c83908987bfb8/R/get_current_providers.R#L19) *style:* **Only use double-quotes.**
```r
  '//geodata.nationaalgeoregister.nl/luchtfoto/rgb/wmts/1.0.0/2016_ortho25/EPSG:3857/{z}/{x}/{y}.png',
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_current_providers.R:20:3:](https://github.com/leslie-huang/leaflet.providers/blob/75971f4b5fa16e4b3470bbc3f55c83908987bfb8/R/get_current_providers.R#L20) *style:* **Only use double-quotes.**
```r
  '//nls-{s}.tileserver.com/nls/{z}/{x}/{y}.jpg',
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_current_providers.R:21:3:](https://github.com/leslie-huang/leaflet.providers/blob/75971f4b5fa16e4b3470bbc3f55c83908987bfb8/R/get_current_providers.R#L21) *style:* **Only use double-quotes.**
```r
  '//maps-{s}.onemap.sg/v3/{variant}/{z}/{x}/{y}.png'
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-providersdetails.R:14:1:](https://github.com/leslie-huang/leaflet.providers/blob/75971f4b5fa16e4b3470bbc3f55c83908987bfb8/tests/testthat/test-providersdetails.R#L14) *style:* **lines should not be more than 100 characters.**
```r
  testthat::expect_equal(providers_details_data[["OpenStreetMap"]][["url"]], "//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```


Couldn't run policy because the pull request is closed
:point_right: click here to view a full list of the events :point_left:


Successfully aliased the URL <https://portfolio-5xewfe5lf.now.sh> to the following aliases.

* https://www.mike-engel.com
* https://mike-engel.com
* https://portfolio.vegemike.now.sh
* https://portfolio-git-master.vegemike.now.sh


már el is felejtettem :)
mostmár csak az egy üres br-t kellene kiszedni ha nincs páratlan

pl: kelenfold
Solt utca | 9 | 24, 26, 28, 30, 32, 34, 36, 38, 40

és azt se bánnám ha txt-ben is elválna [1,3,5][2,4,6]


[![Visit Site](https://raw.githubusercontent.com/pantheon-systems/ci-drops-8/0.1.0/data/img/visit-site-36.png)](https://ci-532-mtcv.pantheonsite.io/)

Created multidev environment [ci-532](https://dashboard.pantheon.io/sites/ad79477c-5d06-4234-b6b8-582ebeee0e5c#ci-532) for mtcv.


@riteshsamala Oh, I didn't look at the LMS first when I made that suggestion... I see "Give Parameters" is in the LMS already but "No units" is not.  So here's what to do:

1. Change login.html to have Give Parameters and No Units checked by default.
2. Revert this code from the tutor.
3. Change the LMS "Give Parameters" checkbox start out checked by default intead of unchecked in both model library and assignment creation.
4. Add a "No Units" checkbox to the model library and assignment creation, and have it be checked by default too.


This call is [causing errors](https://github.com/apollographql/react-apollo/issues/3148) with apollo-client@2.5.1.


Perfecto, los cambios funcionaron 🍄


I don't think it makes sense to remove the versions. The tags are already there in git.


Eso lo dirás tu, MORTAL


The following doc(s) have been deployed to the [httpsandh](https://httpsandh-static-docs.pantheonsite.io/docs) Multidev environment:
- [/docs/http-to-https](https://httpsandh-static-docs.pantheonsite.io/docs/http-to-https)
- [/docs/hsts](https://httpsandh-static-docs.pantheonsite.io/docs/hsts)
- [/docs/pantheon-yml](https://httpsandh-static-docs.pantheonsite.io/docs/pantheon-yml)
- [source/_partials/content/hsts.html](https://github.com/pantheon-systems/documentation/commit/ecfe6bf957c1442075f0944f898171f2f458e9d3/source/_partials/content/hsts.html)


Successfully aliased the URL <https://landingpage-l69birt6q.now.sh> to the following aliases.

* https://landingpage.marciovinicius.now.sh
* https://landingpage-git-master.marciovinicius.now.sh


[R/assertions.R:208:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/assertions.R#L208) *style:* **Lines should not be more than 100 characters.**
```r
      stop("2 or more species share the same label under the 'EN_generic_short' or 'Leading' columns of sim$sppEquiv.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/assertions.R:212:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/assertions.R#L212) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/cohorts.R:46:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L46) *style:* **Lines should not be more than 100 characters.**
```r
#' @param treedFirePixelTableSinceLastDisp A data.table with at least 2 columns, \code{pixelIndex} and \code{pixelGroup}.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:67:48:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L67) *style:* **Variable and function names should not be longer than 30 characters.**
```r
                             speciesEcoregion, treedFirePixelTableSinceLastDisp = NULL,
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:88:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L88) *style:* **Lines should not be more than 100 characters.**
```r
      message(crayon::green("  Regenerating only open pixels (e.g., likely resprouting & serotiny only)"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:89:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L89) *style:* **Lines should not be more than 100 characters.**
```r
    columnsForPG <- c("ecoregionGroup", "speciesCode", "age") # no Biomass because they all have zero
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:90:31:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L90) *style:* **Commas should always have a space after.**
```r
    cd <- newPixelCohortData[,c("pixelIndex", columnsForPG), with = FALSE]
                              ^
```
[R/cohorts.R:118:30:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L118) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    allCohortData <- cohorts[ , .(ecoregionGroup = ecoregionGroup[1],
                             ^
```
[R/cohorts.R:118:31:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L118) *style:* **Commas should never have a space before.**
```r
    allCohortData <- cohorts[ , .(ecoregionGroup = ecoregionGroup[1],
                             ~^
```
[R/cohorts.R:141:5:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L141) *style:* **Commented code should be removed.**
```r
  # newPixelCohortData[, sumB := sum(B, na.rm = TRUE), by = pixelGroup]
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:217:3:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L217) *style:* **Variable or function name should be lowerCamelCase.**
```r
  specieseco_current <- speciesEcoregionLatestYear(speciesEcoregion, time)
  ^~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:218:3:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L218) *style:* **Variable or function name should be lowerCamelCase.**
```r
  specieseco_current <- setkey(specieseco_current[, .(speciesCode, maxANPP, maxB, ecoregionGroup)],
  ^~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:223:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L223) *style:* **Lines should not be more than 100 characters.**
```r
  #missingNewPixelCohortData <- newPixelCohortData[!specieseco_current, on = uniqueSpeciesEcoregionDefinition]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:223:4:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L223) *style:* **Commented code should be removed.**
```r
  #missingNewPixelCohortData <- newPixelCohortData[!specieseco_current, on = uniqueSpeciesEcoregionDefinition]
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:224:3:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L224) *style:* **Variable or function name should be lowerCamelCase.**
```r
  specieseco_current <- specieseco_current[!is.na(maxB)]
  ^~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:225:24:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L225) *style:* **Variable or function name should be lowerCamelCase.**
```r
  specieseco_current[, maxB_eco := max(maxB), by = ecoregionGroup]
                       ^~~~~~~~
```
[R/cohorts.R:226:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L226) *style:* **Lines should not be more than 100 characters.**
```r
  newPixelCohortData <- specieseco_current[newPixelCohortData, on = uniqueSpeciesEcoregionDefinition]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:232:5:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L232) *style:* **Commented code should be removed.**
```r
  # set(newPixelCohortData, NULL, "sumB", 0L)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:239:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L239) *style:* **Lines should not be more than 100 characters.**
```r
  set(newPixelCohortData, which(is.na(newPixelCohortData$oldSumB)), "oldSumB", 0)   ## faster than [:=]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:244:26:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L244) *style:* **Variable or function name should be lowerCamelCase.**
```r
    newPixelCohortData[, B := NULL]
                         ^
```
[R/cohorts.R:248:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L248) *style:* **Lines should not be more than 100 characters.**
```r
  set(newPixelCohortData, NULL, "B", asInteger(pmin(newPixelCohortData$maxANPP, newPixelCohortData$B)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:254:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L254) *style:* **Lines should not be more than 100 characters.**
```r
    if (isTRUE(NROW(unique(newPixelCohortData, by = uniqueCohortDefinition)) != NROW(newPixelCohortData)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:259:5:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L259) *style:* **Commented code should be removed.**
```r
  # cohortData[, sumB := sum(B, na.rm = TRUE), by = "pixelGroup"]  ## recalculate sumB
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:261:7:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L261) *style:* **Commented code should be removed.**
```r
  #   set(cohortData, NULL, "sumB", asInteger(cohortData[["sumB"]]))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:292:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L292) *style:* **Lines should not be more than 100 characters.**
```r
  pgsStillInCDGoneFromPGM <- cohortData[whPgsStillInCDGoneFromPGM,] #setdiff(unique(cohortData$pixelGroup), unique(pgmVals$pixelGroup))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:292:67:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L292) *style:* **Commas should always have a space after.**
```r
  pgsStillInCDGoneFromPGM <- cohortData[whPgsStillInCDGoneFromPGM,] #setdiff(unique(cohortData$pixelGroup), unique(pgmVals$pixelGroup))
                                                                  ^
```
[R/cohorts.R:292:70:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L292) *style:* **Commented code should be removed.**
```r
  pgsStillInCDGoneFromPGM <- cohortData[whPgsStillInCDGoneFromPGM,] #setdiff(unique(cohortData$pixelGroup), unique(pgmVals$pixelGroup))
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:293:4:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L293) *style:* **Commented code should be removed.**
```r
  #pgsStillInPGMGoneFromCD <- setdiff(unique(pgmVals$pixelGroup), unique(cohortData$pixelGroup))
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:295:64:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L295) *style:* **Commas should always have a space after.**
```r
  pgsStillInPGMGoneFromCD <- pgmVals[whPgsStillInPGMGoneFromCD,]
                                                               ^
```
[R/cohorts.R:346:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L346) *style:* **Lines should not be more than 100 characters.**
```r
  # concatenate within rows -- e.g., ecoregionCode_speciesCode_age_biomass or 647_11_Abie_sp_100_2000
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:350:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L350) *style:* **Lines should not be more than 100 characters.**
```r
  pcd[ , c("uniqueComboByPixelIndex") := paste(uniqueComboByRow, collapse = "__"), by = "pixelIndex"]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:350:7:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L350) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  pcd[ , c("uniqueComboByPixelIndex") := paste(uniqueComboByRow, collapse = "__"), by = "pixelIndex"]
      ^
```
[R/cohorts.R:350:8:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L350) *style:* **Commas should never have a space before.**
```r
  pcd[ , c("uniqueComboByPixelIndex") := paste(uniqueComboByRow, collapse = "__"), by = "pixelIndex"]
      ~^
```
[R/cohorts.R:351:7:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L351) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  pcd[ , c("pixelGroup") := as.integer(maxPixelGroup) + as.integer(factor(uniqueComboByPixelIndex))]
      ^
```
[R/cohorts.R:351:8:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L351) *style:* **Commas should never have a space before.**
```r
  pcd[ , c("pixelGroup") := as.integer(maxPixelGroup) + as.integer(factor(uniqueComboByPixelIndex))]
      ~^
```
[R/cohorts.R:353:38:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L353) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  if (getOption("LandR.assertions")) { # old algorithm
                                     ^
```
[R/cohorts.R:357:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L357) *style:* **Lines should not be more than 100 characters.**
```r
    pcd[, pixelGroup2 := mapvalues(pixelGroup, from = unique(pixelGroup), to = as.character(seq_along(unique(pixelGroup))))]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:363:12:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L363) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    pcdOld[ , c(columns2) := lapply(.SD, function(x) {
           ^
```
[R/cohorts.R:363:13:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L363) *style:* **Commas should never have a space before.**
```r
    pcdOld[ , c(columns2) := lapply(.SD, function(x) {
           ~^
```
[R/cohorts.R:367:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L367) *style:* **Lines should not be more than 100 characters.**
```r
    # concatenate within rows -- e.g., ecoregionCode_speciesCode_age_biomass or 647_11_Abie_sp_100_2000
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:368:52:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L368) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    pcdOld[, uniqueComboByRow := as.integer(factor( do.call(paste, as.list(.SD)))),
                                                   ^
```
[R/cohorts.R:372:12:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L372) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    pcdOld[ , c("uniqueComboByPixelIndex") := paste(uniqueComboByRow, collapse = "__"),
           ^
```
[R/cohorts.R:372:13:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L372) *style:* **Commas should never have a space before.**
```r
    pcdOld[ , c("uniqueComboByPixelIndex") := paste(uniqueComboByRow, collapse = "__"),
           ~^
```
[R/cohorts.R:374:12:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L374) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    pcdOld[ , c("pixelGroup") := as.integer(maxPixelGroup) +
           ^
```
[R/cohorts.R:374:13:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L374) *style:* **Commas should never have a space before.**
```r
    pcdOld[ , c("pixelGroup") := as.integer(maxPixelGroup) +
           ~^
```
[R/cohorts.R:379:25:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L379) *style:* **Put spaces around all infix operators.**
```r
    pcdOld[, pixelGroup2:=mapvalues(pixelGroup, from = unique(pixelGroup),
                       ~^~~
```
[R/cohorts.R:424:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L424) *style:* **Variable and function names should not be longer than 30 characters.**
```r
uniqueSpeciesEcoregionDefinition <- c("speciesCode", "ecoregionGroup")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:435:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L435) *style:* **Lines should not be more than 100 characters.**
```r
  message(magenta("Pixels with non-NA cover:, ", cohortData[!is.na(cover), length(unique(pixelIndex))]))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:443:86:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L443) *style:* **Put spaces around all infix operators.**
```r
    pixelsZero <- NROW(cohortData[, all(get(val) == 0), by = "pixelIndex"][get("V1") ==TRUE])
                                                                                ^~~
```
[R/cohorts.R:444:40:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L444) *style:* **Commas should always have a space after.**
```r
    message(magenta("Pixels with all(",val," == 0): ", format(pixelsZero, big.mark = ",")))
                                       ^
```
[R/cohorts.R:444:44:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L444) *style:* **Commas should always have a space after.**
```r
    message(magenta("Pixels with all(",val," == 0): ", format(pixelsZero, big.mark = ",")))
                                           ^
```
[R/cohorts.R:445:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L445) *style:* **Lines should not be more than 100 characters.**
```r
    pixelsBiomassNonZero <- NROW(cohortData[, any(get(val) > 0), by = "pixelIndex"][get("V1") ==TRUE])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:445:95:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L445) *style:* **Put spaces around all infix operators.**
```r
    pixelsBiomassNonZero <- NROW(cohortData[, any(get(val) > 0), by = "pixelIndex"][get("V1") ==TRUE])
                                                                                ^~~
```
[R/cohorts.R:446:40:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L446) *style:* **Commas should always have a space after.**
```r
    message(magenta("Pixels with all(",val," > 0): ", format(pixelsBiomassNonZero, big.mark = ",")))
                                       ^
```
[R/cohorts.R:446:44:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L446) *style:* **Commas should always have a space after.**
```r
    message(magenta("Pixels with all(",val," > 0): ", format(pixelsBiomassNonZero, big.mark = ",")))
                                           ^
```
[R/cohorts.R:447:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L447) *style:* **Lines should not be more than 100 characters.**
```r
    out <- list(pixelsNA = pixelsNA, pixelsZero = pixelsZero, pixelsBiomassNonZero = pixelsBiomassNonZero)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:508:32:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L508) *style:* **Variable or function name should be lowerCamelCase.**
```r
                               availableERC_by_Sp, theUnwantedPixels,
                               ^~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:520:7:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L520) *style:* **Variable or function name should be lowerCamelCase.**
```r
      availableERC_by_Sp <- as.data.table(availableERC_by_Sp)
      ^~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:544:7:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L544) *style:* **Commented code should be removed.**
```r
  #   numChar <- max(nchar(availableERC_by_Sp$initialEcoregionCode), na.rm = TRUE)
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:546:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L546) *style:* **Lines should not be more than 100 characters.**
```r
  #                      initialEcoregionCode := paste0("1_", paddedFloatToChar(as.integer(initialEcoregionCode), numChar))]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:550:16:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L550) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    if (FALSE) { # This is old section... can be deleted soon (April 10, 2019, Eliot)
               ^
```
[R/cohorts.R:565:8:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L565) *style:* **Commented code should be removed.**
```r
    #  stop("values of 34 and 35 on pixelCohortData and sim$LCC2005 don't match")
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:594:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L594) *style:* **Lines should not be more than 100 characters.**
```r
    out <- out[initialPixels != pixels] # rm pixels which are same as initialPixels --> these are known wrong
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:597:42:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L597) *style:* **Put spaces around all infix operators.**
```r
    out[lcc %in% c(classesToReplace), lcc:=NA]
                                        ~^~~
```
[R/cohorts.R:600:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L600) *style:* **Lines should not be more than 100 characters.**
```r
                               on = c("pixelIndex" = "initialPixels"), nomatch = NA] # join the availableERC_by_Sp which has initialEcoregionCode
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:604:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L604) *style:* **Lines should not be more than 100 characters.**
```r
                               paddedFloatToChar(as.integer(lcc), padL = numCharLCCCodes, padR = 0))]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:608:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L608) *style:* **Lines should not be more than 100 characters.**
```r
    out7 <- out5[availableERG2, on = c("speciesCode", "possERC" = "initialEcoregionCode"), nomatch = NA]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:658:7:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L658) *style:* **Commented code should be removed.**
```r
    # setnames(out3, c("initialPixels", "initialEcoregionCode"), c("pixelIndex", "ecoregionGroup"))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:660:7:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L660) *style:* **Commented code should be removed.**
```r
    # out3 <- unique(out3, by = c("pixelIndex", "ecoregionGroup"))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:683:6:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L683) *style:* **Commented code should be removed.**
```r
    #describeCohortData(cohortData)
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:692:16:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L692) *style:* **Variable or function name should be lowerCamelCase.**
```r
  cohortData[, V1 := NULL]
               ^~
```
[R/cohorts.R:697:5:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L697) *style:* **Commented code should be removed.**
```r
  # cohortData[speciesCode == "Popu_sp", cover := asInteger(cover / 2)]
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:699:14:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L699) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  cohortData[ , cover := {
             ^
```
[R/cohorts.R:699:15:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L699) *style:* **Commas should never have a space before.**
```r
  cohortData[ , cover := {
             ~^
```
[R/cohorts.R:711:14:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L711) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  cohortData[ , B := mean(totalBiomass) * cover / 100, by = "pixelIndex"]
             ^
```
[R/cohorts.R:711:15:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L711) *style:* **Commas should never have a space before.**
```r
  cohortData[ , B := mean(totalBiomass) * cover / 100, by = "pixelIndex"]
             ~^
```
[R/cohorts.R:711:17:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L711) *style:* **Variable or function name should be lowerCamelCase.**
```r
  cohortData[ , B := mean(totalBiomass) * cover / 100, by = "pixelIndex"]
                ^
```
[R/cohorts.R:713:14:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L713) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  cohortData[ , B := ceiling(B / pixelGroupBiomassClass) * pixelGroupBiomassClass]
             ^
```
[R/cohorts.R:713:15:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L713) *style:* **Commas should never have a space before.**
```r
  cohortData[ , B := ceiling(B / pixelGroupBiomassClass) * pixelGroupBiomassClass]
             ~^
```
[R/cohorts.R:713:17:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L713) *style:* **Variable or function name should be lowerCamelCase.**
```r
  cohortData[ , B := ceiling(B / pixelGroupBiomassClass) * pixelGroupBiomassClass]
                ^
```
[R/cohorts.R:715:14:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L715) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  cohortData[ , totalBiomass := asInteger(totalBiomass)]
             ^
```
[R/cohorts.R:715:15:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L715) *style:* **Commas should never have a space before.**
```r
  cohortData[ , totalBiomass := asInteger(totalBiomass)]
             ~^
```
[R/cohorts.R:817:36:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L817) *style:* **Variable or function name should be lowerCamelCase.**
```r
  cohortData[cover > 0 & age == 0, B := 0L]
                                   ^
```
[R/cohorts.R:823:5:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L823) *style:* **Commented code should be removed.**
```r
  # cohortData[ , coverProp := (cover/100 * (NROW(cohortData) - 1) + 0.5) / NROW(cohortData)]
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:835:22:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L835) *style:* **Variable or function name should be lowerCamelCase.**
```r
subsetDT <- function(DT, by, doSubset = TRUE) {
                     ^~
```
[R/cohorts.R:840:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L840) *style:* **Lines should not be more than 100 characters.**
```r
              "using maximum of ", sam, " samples per combination of ecoregionGroup and speciesCode. ",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/cohorts.R:845:7:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L845) *style:* **Variable or function name should be lowerCamelCase.**
```r
      DT <- DT[a$lineNum]
      ^~
```
[R/cohorts.R:988:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/cohorts.R#L988) *style:* **Lines should not be more than 100 characters.**
```r
    test2 <- sum(unique(pixelCohortData[, .(pixelGroup, noPixels)])$noPixels) != sum(!is.na(pixelGroupMap[]) & pixelGroupMap[] != 0)  ## 0's have no cohorts.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ecoregionProducer.R:37:4:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/ecoregionProducer.R#L37) *style:* **Commented code should be removed.**
```r
  #ecoregionMapInStudy <- raster::intersect(ecoregionMapFull, fixErrors(aggregate(studyArea)))
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ecoregionProducer.R:54:3:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/ecoregionProducer.R#L54) *style:* **Variable or function name should be lowerCamelCase.**
```r
  NAs <- rtmNAs | rstEcoregionNAs
  ^~~
```
[R/ecoregionProducer.R:71:4:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/ecoregionProducer.R#L71) *style:* **Commented code should be removed.**
```r
  #ecoregionFactorValues <- na.omit(unique(rstEcoregion[]))
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ecoregionProducer.R:73:4:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/ecoregionProducer.R#L73) *style:* **Commented code should be removed.**
```r
  #ecoregionTable <- raster::levels(rstEcoregion)[[1]]
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ecoregionProducer.R:81:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/ecoregionProducer.R#L81) *style:* **Lines should not be more than 100 characters.**
```r
    # rstEcoregion[] <- plyr::mapvalues(rstEcoregion[], from = ecoregionTable$ecoregion, to = ecoregionTable$mapcode)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ecoregionProducer.R:81:7:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/ecoregionProducer.R#L81) *style:* **Commented code should be removed.**
```r
    # rstEcoregion[] <- plyr::mapvalues(rstEcoregion[], from = ecoregionTable$ecoregion, to = ecoregionTable$mapcode)
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ecoregionProducer.R:96:37:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/ecoregionProducer.R#L96) *style:* **Commas should always have a space after.**
```r
  ecoregionTable <- ecoregionTable[,.(active = "yes", mapcode, ecoregion)]
                                    ^
```
[R/LANDIS-II-tables.R:76:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L76) *style:* **Lines should not be more than 100 characters.**
```r
    sppEquiv <- data.table(utils::data("sppEquivalencies_CA", package = "LandR", envir = environment()))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/LANDIS-II-tables.R:84:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L84) *style:* **Lines should not be more than 100 characters.**
```r
  speciesTable <- speciesTable[species %in% equivalentName(sppNameVector, sppEquiv, "LANDIS_traits", multi = TRUE) &
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/LANDIS-II-tables.R:101:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L101) *style:* **Lines should not be more than 100 characters.**
```r
#' (\url{https://raw.githubusercontent.com/dcyr/LANDIS-II_IA_generalUseFiles/master/speciesTraits.csv}).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/LANDIS-II-tables.R:105:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L105) *style:* **Lines should not be more than 100 characters.**
```r
#' @param species a \code{data.table} that has species traits such as longevity, shade tolerance, etc.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/LANDIS-II-tables.R:122:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L122) *style:* **Lines should not be more than 100 characters.**
```r
    sppEquiv <- data.table(utils::data("sppEquivalencies_CA", package = "LandR", envir = environment()))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/LANDIS-II-tables.R:144:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L144) *style:* **Lines should not be more than 100 characters.**
```r
  speciesTableShort[species == "PSEU.MEN", longevity := 525] ## only in MC area, corresponding to var. glauca
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/LANDIS-II-tables.R:153:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L153) *style:* **Lines should not be more than 100 characters.**
```r
  speciesTableShort <- speciesTableShort[species %in% equivalentName(sppNameVector, sppEquiv, "LANDIS_traits", multi = TRUE)]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/LANDIS-II-tables.R:170:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L170) *style:* **Lines should not be more than 100 characters.**
```r
#' \url{https://github.com/LANDIS-II-Foundation/Extensions-Succession/master/biomass-succession-archive/trunk/tests/v6.0-2.0/biomass-succession_test.txt"}).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/LANDIS-II-tables.R:190:17:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L190) *style:* **Commented code should be removed.**
```r
  maxcol <- 13 #max(count.fields(file.path(dPath, "species.txt"), sep = ""))
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/LANDIS-II-tables.R:211:13:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L211) *style:* **Only use double-quotes.**
```r
  species[, ':='(seeddistance_eff = gsub(",", "", seeddistance_eff),
            ^~~~
```
[R/LANDIS-II-tables.R:211:17:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L211) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  species[, ':='(seeddistance_eff = gsub(",", "", seeddistance_eff),
                ^
```
[R/LANDIS-II-tables.R:224:18:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L224) *style:* **Only use double-quotes.**
```r
  speciesAddon[, ':='(leaflongevity = as.numeric(leaflongevity),
                 ^~~~
```
[R/LANDIS-II-tables.R:224:22:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L224) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  speciesAddon[, ':='(leaflongevity = as.numeric(leaflongevity),
                     ^
```
[R/LANDIS-II-tables.R:236:13:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L236) *style:* **Only use double-quotes.**
```r
  species[, ':='(species = paste0(toupper(substring(species1, 1, 1)),
            ^~~~
```
[R/LANDIS-II-tables.R:236:17:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L236) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  species[, ':='(species = paste0(toupper(substring(species1, 1, 1)),
                ^
```
[R/LANDIS-II-tables.R:240:13:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L240) *style:* **Only use double-quotes.**
```r
  species[, ':='(species1 = NULL, species2 = NULL)]
            ^~~~
```
[R/LANDIS-II-tables.R:240:17:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L240) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  species[, ':='(species1 = NULL, species2 = NULL)]
                ^
```
[R/LANDIS-II-tables.R:268:39:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L268) *style:* **Commas should always have a space after.**
```r
  mainInput <- mainInput[col1 != ">>",]
                                      ^
```
[R/LANDIS-II-tables.R:278:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L278) *style:* **Lines should not be more than 100 characters.**
```r
#' \url{https://github.com/LANDIS-II-Foundation/Extensions-Succession/master/biomass-succession-archive/trunk/tests/v6.0-2.0/ecoregion.txt"}).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/LANDIS-II-tables.R:295:16:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L295) *style:* **Commented code should be removed.**
```r
  maxcol <- 5 #max(count.fields(file.path(dPath, "ecoregions.txt"), sep = ""))
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/LANDIS-II-tables.R:311:47:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L311) *style:* **Commas should always have a space after.**
```r
  ecoregion <- ecoregion[col1 != "LandisData",]
                                              ^
```
[R/LANDIS-II-tables.R:312:39:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L312) *style:* **Commas should always have a space after.**
```r
  ecoregion <- ecoregion[col1 != ">>",]
                                      ^
```
[R/LANDIS-II-tables.R:324:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L324) *style:* **Lines should not be more than 100 characters.**
```r
#' \url{https://github.com/LANDIS-II-Foundation/Extensions-Succession/master/biomass-succession-archive/trunk/tests/v6.0-2.0/biomass-succession-dynamic-inputs_test.txt"}).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/LANDIS-II-tables.R:356:61:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L356) *style:* **Commas should always have a space after.**
```r
  speciesEcoregion <- speciesEcoregion[col1 != "LandisData",]
                                                            ^
```
[R/LANDIS-II-tables.R:357:53:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L357) *style:* **Commas should always have a space after.**
```r
  speciesEcoregion <- speciesEcoregion[col1 != ">>",]
                                                    ^
```
[R/LANDIS-II-tables.R:368:22:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L368) *style:* **Only use double-quotes.**
```r
  speciesEcoregion[, ':='(species = paste0(toupper(substring(species1, 1, 1)),
                     ^~~~
```
[R/LANDIS-II-tables.R:368:26:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L368) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  speciesEcoregion[, ':='(species = paste0(toupper(substring(species1, 1, 1)),
                         ^
```
[R/LANDIS-II-tables.R:371:22:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L371) *style:* **Only use double-quotes.**
```r
  speciesEcoregion[, ':='(species1 = NULL, species2 = NULL)]
                     ^~~~
```
[R/LANDIS-II-tables.R:371:26:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/LANDIS-II-tables.R#L371) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  speciesEcoregion[, ':='(species1 = NULL, species2 = NULL)]
                         ^
```
[R/maps.R:22:29:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L22) *style:* **Variable or function name should be lowerCamelCase.**
```r
defineFlammable <- function(LandCoverClassifiedMap = NULL,
                            ^~~~~~~~~~~~~~~~~~~~~~
```
[R/maps.R:129:5:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L129) *style:* **Variable or function name should be lowerCamelCase.**
```r
    MixedRas <- speciesStack[[1]]
    ^~~~~~~~
```
[R/maps.R:133:18:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L133) *style:* **Variable or function name should be lowerCamelCase.**
```r
    speciesStack$Mixed <- MixedRas
                 ^~~~~
```
[R/maps.R:177:25:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L177) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  if (isTRUE(unitTest)) { # slower -- older, but simpler Eliot June 5, 2019
                        ^
```
[R/maps.R:178:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L178) *style:* **Lines should not be more than 100 characters.**
```r
    # 1. Find length of each pixelGroup -- don't include pixelGroups in "by" that have only 1 cohort: N = 1
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maps.R:181:16:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L181) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    pgd1 <- cd[ , list(N = .N), by = "pixelGroup"]
               ^
```
[R/maps.R:181:17:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L181) *style:* **Commas should never have a space before.**
```r
    pgd1 <- cd[ , list(N = .N), by = "pixelGroup"]
               ~^
```
[R/maps.R:187:61:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L187) *style:* **Put spaces around all infix operators.**
```r
    set(pgd1, NULL, "speciesProportion", pgd1$speciesGroupB /pgd1$totalB)
                                                            ^~
```
[R/maps.R:199:5:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L199) *style:* **Commented code should be removed.**
```r
  # setorderv(cohortdata, "pixelGroup")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maps.R:200:32:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L200) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  pixelGroupData <- cohortdata[ , list(N = .N), by = "pixelGroup"]
                               ^
```
[R/maps.R:200:33:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L200) *style:* **Commas should never have a space before.**
```r
  pixelGroupData <- cohortdata[ , list(N = .N), by = "pixelGroup"]
                               ~^
```
[R/maps.R:202:3:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L202) *style:* **Variable or function name should be lowerCamelCase.**
```r
  N <- rep.int(pixelGroupData$N, pixelGroupData$N)
  ^
```
[R/maps.R:211:3:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L211) *style:* **Variable or function name should be lowerCamelCase.**
```r
  GT1 <- (b > 1)
  ^~~
```
[R/maps.R:214:86:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L214) *style:* **Put spaces around all infix operators.**
```r
    pixelGroupData[[1]] <- cohortdata[GT1, .(speciesProportion = sum(B, na.rm = TRUE)/totalB[1]),
                                                                                ~^~
```
[R/maps.R:218:73:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L218) *style:* **Put spaces around all infix operators.**
```r
    set(cohortdata, which(!GT1), "speciesProportion", cohortdata$B[!GT1]/cohortdata$totalB[!GT1])
                                                                       ~^~
```
[R/maps.R:219:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L219) *style:* **Lines should not be more than 100 characters.**
```r
    pixelGroupData[[NROW(pixelGroupData) + 1]] <- cohortdata[!GT1, c("pixelGroup", "speciesCode", "speciesProportion")]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maps.R:227:25:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L227) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  if (isTRUE(unitTest)) { # slower -- older, but simpler Eliot June 5, 2019
                        ^
```
[R/maps.R:249:14:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L249) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  if (FALSE) { # old algorithm
             ^
```
[R/maps.R:256:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L256) *style:* **Lines should not be more than 100 characters.**
```r
    set(pixelGroupData4, NULL, "speciesProportion", pixelGroupData4$speciesGroupB /pixelGroupData4$totalB)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maps.R:256:83:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L256) *style:* **Put spaces around all infix operators.**
```r
    set(pixelGroupData4, NULL, "speciesProportion", pixelGroupData4$speciesGroupB /pixelGroupData4$totalB)
                                                                                ^~
```
[R/maps.R:260:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L260) *style:* **Lines should not be more than 100 characters.**
```r
    all.equal(pixelGroupData4[, .(pixelGroup, speciesCode, totalB)], pixelGroupData[,.(pixelGroup, speciesCode, totalB)])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maps.R:260:86:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L260) *style:* **Commas should always have a space after.**
```r
    all.equal(pixelGroupData4[, .(pixelGroup, speciesCode, totalB)], pixelGroupData[,.(pixelGroup, speciesCode, totalB)])
                                                                                ^
```
[R/maps.R:265:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L265) *style:* **Lines should not be more than 100 characters.**
```r
  # 2. sort on pixelGroup and speciesProportion, reverse so that 1st row of each pixelGroup is the largest
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maps.R:280:5:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L280) *style:* **Commented code should be removed.**
```r
  # a2 <- Sys.time()
    ^~~~~~~~~~~~~~~~
```
[R/maps.R:284:5:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L284) *style:* **Commented code should be removed.**
```r
  # pixelGroupData2[mixed == TRUE, leading := "Mixed"]
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maps.R:285:5:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L285) *style:* **Commented code should be removed.**
```r
  # b2 <- Sys.time()
    ^~~~~~~~~~~~~~~~
```
[R/maps.R:439:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L439) *style:* **Lines should not be more than 100 characters.**
```r
  ## select which archives/targetFiles to extract -- because there was "multi" above, need unique here
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maps.R:446:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L446) *style:* **Lines should not be more than 100 characters.**
```r
                    archive2 = file.path(dPath, paste0("NFI_MODIS250m_kNN_Species_", kNNnames, "_v0.zip")))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maps.R:449:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L449) *style:* **Lines should not be more than 100 characters.**
```r
  if (!all(reproducible::basename2(file_path_sans_ext(names(archives))) == file_path_sans_ext(targetFiles)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maps.R:456:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L456) *style:* **Lines should not be more than 100 characters.**
```r
    message("This looks like a lot of species; did you mean to pass only a subset of this to sppEquiv?",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maps.R:474:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L474) *style:* **Lines should not be more than 100 characters.**
```r
                         prepInputs, quick = TRUE) # don't need to digest all the "targetFile" and "archives"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maps.R:476:77:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L476) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  noDataLayers <- sapply(speciesLayers, function(x) if (maxValue(x) < thresh ) FALSE else TRUE)
                                                                            ^
```
[R/maps.R:479:76:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L479) *style:* **Commas should always have a space after.**
```r
    message("removing ", sum(!noDataLayers), " species because they had <",thresh,
                                                                           ^
```
[R/maps.R:481:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L481) *style:* **Lines should not be more than 100 characters.**
```r
            "\n  These species are retained (and could be further culled manually, if desired):\n  ",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maps.R:503:5:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L503) *style:* **Commented code should be removed.**
```r
  # layerData <- Cache(sapply, X = speciesLayers, function(x) sum(x[] > 0, na.rm = TRUE))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maps.R:505:5:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L505) *style:* **Commented code should be removed.**
```r
  # ## remove layers that had < thresh pixels with biomass
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maps.R:506:5:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L506) *style:* **Commented code should be removed.**
```r
  # belowThresh <- layerData < thresh
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maps.R:508:7:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L508) *style:* **Commented code should be removed.**
```r
  #   message(names(belowThresh)[belowThresh], " was removed because it had no data")
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maps.R:509:7:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L509) *style:* **Commented code should be removed.**
```r
  #   speciesLayers[belowThresh] <- NULL
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maps.R:608:7:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L608) *style:* **Variable or function name should be lowerCamelCase.**
```r
      LQRastName <- basename(tempfile(fileext = ".tif"))
      ^~~~~~~~~~
```
[R/maps.R:610:9:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L610) *style:* **Variable or function name should be lowerCamelCase.**
```r
        LQCurName <- basename(tempfile(fileext = ".tif"))
        ^~~~~~~~~
```
[R/maps.R:617:7:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L617) *style:* **Variable or function name should be lowerCamelCase.**
```r
      LQRastInHQcrs <- projectExtent(lowQualityStack, crs = crs(highQualityStack))
      ^~~~~~~~~~~~~
```
[R/maps.R:630:7:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L630) *style:* **Variable or function name should be lowerCamelCase.**
```r
      LQRast <- raster(LQRastName)
      ^~~~~~
```
[R/maps.R:648:9:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L648) *style:* **Variable or function name should be lowerCamelCase.**
```r
        HQRast <- raster(tmpHQName)
        ^~~~~~
```
[R/maps.R:653:9:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L653) *style:* **Variable or function name should be lowerCamelCase.**
```r
        HQRast <- highQualityStack[[SPP]]
        ^~~~~~
```
[R/maps.R:656:7:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L656) *style:* **Variable or function name should be lowerCamelCase.**
```r
      LQRast <- lowQualityStack[[SPP]]
      ^~~~~~
```
[R/maps.R:657:7:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L657) *style:* **Variable or function name should be lowerCamelCase.**
```r
      HQRast <- highQualityStack[[SPP]]
      ^~~~~~
```
[R/maps.R:664:5:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L664) *style:* **Variable or function name should be lowerCamelCase.**
```r
    NAs <- is.na(HQRast[])
    ^~~
```
[R/maps.R:668:5:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L668) *style:* **Variable or function name should be lowerCamelCase.**
```r
    HQRast <- writeRaster(HQRast, datatype = "INT1U",
    ^~~~~~
```
[R/maps.R:678:7:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L678) *style:* **Variable or function name should be lowerCamelCase.**
```r
      HQRast <- highQualityStack[[SPP]]
      ^~~~~~
```
[R/maps.R:682:7:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L682) *style:* **Variable or function name should be lowerCamelCase.**
```r
      LQRast <- lowQualityStack[[SPP]]
      ^~~~~~
```
[R/maps.R:686:7:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L686) *style:* **Variable or function name should be lowerCamelCase.**
```r
      HQRast <- highQualityStack[[SPP]]
      ^~~~~~
```
[R/maps.R:718:4:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/maps.R#L718) *style:* **Commented code should be removed.**
```r
  #names(sppMerges) <- equivalentName(names(sppMerges), sppEquiv,  column = sppEquivCol)
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/misc.R:23:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/misc.R#L23) *style:* **Lines should not be more than 100 characters.**
```r
#' Essentially a wrapper around \code{round}, rather than \code{truncate}, which is what \code{as.integer}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/overlayLCCs.R:47:25:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/overlayLCCs.R#L47) *style:* **Variable or function name should be lowerCamelCase.**
```r
overlayLCCs <- function(LCCs, forestedList, outputLayer,
                        ^~~~
```
[R/overlayLCCs.R:48:25:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/overlayLCCs.R#L48) *style:* **Variable or function name should be lowerCamelCase.**
```r
                        NAcondition, NNcondition, remapTable = NULL,
                        ^~~~~~~~~~~
```
[R/overlayLCCs.R:48:38:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/overlayLCCs.R#L48) *style:* **Variable or function name should be lowerCamelCase.**
```r
                        NAcondition, NNcondition, remapTable = NULL,
                                     ^~~~~~~~~~~
```
[R/overlayLCCs.R:49:43:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/overlayLCCs.R#L49) *style:* **Variable or function name should be lowerCamelCase.**
```r
                        classesToReplace, availableERC_by_Sp,
                                          ^~~~~~~~~~~~~~~~~~
```
[R/overlayLCCs.R:65:5:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/overlayLCCs.R#L65) *style:* **Variable or function name should be lowerCamelCase.**
```r
    LCCs <- stack(LCCs)
    ^~~~
```
[R/overlayLCCs.R:81:7:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/overlayLCCs.R#L81) *style:* **Variable or function name should be lowerCamelCase.**
```r
      availableERC_by_Sp <- data.table(initialEcoregionCode = LCCs[[outputLayer]][])
      ^~~~~~~~~~~~~~~~~~
```
[R/overlayLCCs.R:90:14:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/overlayLCCs.R#L90) *style:* **Variable or function name should be lowerCamelCase.**
```r
        dt[, NAs := eval(parse(text = NAcondition)), with = TRUE]
             ^~~
```
[R/overlayLCCs.R:92:14:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/overlayLCCs.R#L92) *style:* **Variable or function name should be lowerCamelCase.**
```r
        dt[, NAs := NULL]
             ^~~
```
[R/overlayLCCs.R:96:14:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/overlayLCCs.R#L96) *style:* **Variable or function name should be lowerCamelCase.**
```r
        dt[, NNcondition := eval(parse(text = NNcondition))]
             ^~~~~~~~~~~
```
[R/overlayLCCs.R:101:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/overlayLCCs.R#L101) *style:* **Lines should not be more than 100 characters.**
```r
          ## It's possible that there are no pixels with classesToReplace that fulfill the NNcondition
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/overlayLCCs.R:105:1:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/overlayLCCs.R#L105) *style:* **Lines should not be more than 100 characters.**
```r
                                  availableERC_by_Sp = na.omit(dt)[, c("initialEcoregionCode", "pixelIndex")])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/overlayLCCs.R:128:13:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/overlayLCCs.R#L128) *style:* **Only use double-quotes.**
```r
      dt2[, ':='(initialEcoregionCode = newLCC, ecoregionCode = newLCC)]
            ^~~~
```
[R/overlayLCCs.R:128:17:](https://github.com/PredictiveEcology/LandR/blob/4d8b5b8197c8cd09a92e1c5bff1436791c8780ca/R/overlayLCCs.R#L128) *style:* **Place a space before left parenthesis, except in a function call.**
```r
      dt2[, ':='(initialEcoregionCode = newLCC, ecoregionCode = newLCC)]
                ^
```


In addition, I cleaned up the code a little bit as well


TeamCity Bvcms / Build [Build 1379](https://builds.tpsdb.com/viewLog.html?buildId=6974&buildTypeId=Bvcms_Build) is now running


Files in raw format


Successfully aliased the URL <https://salted-egg-ietqylz06.now.sh> to the following aliases.

* https://salted-egg.phoomparin.now.sh
* https://salted-egg-git-master.phoomparin.now.sh


ok


You're missing an empty line above this one. 😋


no problem :#


![](https://github.trello.services/images/mini-trello-icon.png) [XP Tanks](https://trello.com/c/verjM3eV/12-xp-tanks)


![](https://github.trello.services/images/mini-trello-icon.png) [Project Description](https://trello.com/c/9sNQ2mO4/1-project-description)


This item letf over makes it render a worm gear then included and should be commented


[![Visit Site](https://raw.githubusercontent.com/pantheon-systems/ci-drops-8/0.1.0/data/img/visit-site-36.png)](https://ci-6-baseless.pantheonsite.io/)

Created multidev environment [ci-6](https://dashboard.pantheon.io/sites/fda2fedb-8a1f-4d86-aa2d-9cdd569a1d89#ci-6) for baseless.


> In mac aclocal --print-ac-dir returns /usr/local/Cellar/automake/1.16.1/share/aclocal

OK, well that's where the system `aclocal` looks for installed macros.  Given that's a versioned directory, I'm not sure how that is expected to work (other homebrew packages should be able to install their macros to a known path, which just doesn't work if that path encodes the automake version).  Is that actually a symlink to somewhere without a version?

> I find on internet that the possible path could be /opt/local/share/aclocal or /usr/X11/share/aclocal

The first is perhaps plausible for some systems, the second sounds unlikely.


PlantMassFlowRatesChangeForTankSourceSide (yzhou601) - Win64-Windows-10-VisualStudio-16: OK (2431 of 2431 tests passed, 0 test warnings)

![Build Badge](http://img.shields.io/badge/build%20status-passing-green.png) ![Test Badge](http://img.shields.io/badge/tests%20passed-100.0%25-green.png)